Skip to content

Releases: depado/ginprom

v1.8.3

12 Feb 10:03
bd19a9a

Choose a tag to compare

What's Changed

  • chore(deps): bump github.com/quic-go/quic-go from 0.54.0 to 0.54.1 by @dependabot[bot] in #133
  • chore(deps): update dependency go to v1.25.3 by @renovate[bot] in #134
  • chore(deps): update dependency go to v1.25.4 by @renovate[bot] in #135
  • chore(deps): bump golang.org/x/crypto from 0.41.0 to 0.45.0 by @dependabot[bot] in #136
  • chore(deps): update dependency go to v1.25.5 by @renovate[bot] in #137
  • chore(deps): bump github.com/quic-go/quic-go from 0.54.1 to 0.57.0 by @dependabot[bot] in #138
  • chore(deps): update dependency go to v1.25.6 by @renovate[bot] in #139
  • fix(deps): update module github.com/appleboy/gofight/v2 to v2.2.1 by @renovate[bot] in #140
  • chore(deps): update dependency go to v1.25.7 by @renovate[bot] in #141
  • feat: add HostFunc option to customize host metric label by @franciscocpg in #143

Full Changelog: v1.8.2...v1.8.3

v1.8.2

08 Oct 15:01
51498ff

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.8.1...v1.8.2

v1.8.1

21 Feb 18:34
16eff21

Choose a tag to compare

What's Changed

  • fix(deps): update module github.com/prometheus/client_golang to v1.18.0 by @renovate in #65
  • feat: add custom histograms by @sralloza in #70

Full Changelog: v1.8.0...v1.8.1

v1.8.0

27 Nov 15:41
5b6bce4

Choose a tag to compare

What's Changed

  • chore(deps): update golang docker tag to v1.20.4 by @renovate in #43
  • fix(deps): update module github.com/prometheus/client_golang to v1.15.1 by @renovate in #44
  • fix(deps): update module github.com/stretchr/testify to v1.8.3 by @renovate in #45
  • fix(deps): update module github.com/stretchr/testify to v1.8.4 by @renovate in #46
  • fix(deps): update module github.com/gin-gonic/gin to v1.9.1 by @renovate in #47
  • chore(deps): update golang docker tag to v1.20.5 by @renovate in #50
  • support custom promhttp.HandlerOpts by @jmank88 in #48
  • fix(deps): update module github.com/prometheus/client_golang to v1.16.0 by @renovate in #51
  • chore(deps): update golang docker tag to v1.20.6 by @renovate in #52
  • chore(deps): update golang docker tag to v1.20.7 by @renovate in #53
  • chore(deps): update golang docker tag to v1.21.0 by @renovate in #54
  • chore(deps): update golang docker tag to v1.21.1 by @renovate in #55
  • fix(deps): update module github.com/prometheus/client_golang to v1.17.0 by @renovate in #56
  • chore(deps): update golang docker tag to v1.21.2 by @renovate in #57
  • chore(deps): update golang docker tag to v1.21.3 by @renovate in #58
  • chore(deps): bump golang.org/x/net from 0.10.0 to 0.17.0 by @dependabot in #59
  • chore(deps): update golang docker tag to v1.21.4 by @renovate in #60
  • feat: add support for custom labels in the counter metric by @sralloza in #62

New Contributors

Full Changelog: v1.7.11...v1.8.0

v1.7.11

25 Apr 09:55
18484e5

Choose a tag to compare

Various improvements (#42)

* doc: add README sections for HandlerNameFunc and RequestPathFunc options

* refactor: extract options in their own file

* refactor: type options for better readability

* feat: push coverage to 100%

v1.7.10

18 Apr 13:19
9f1d545

Choose a tag to compare

Add new RequestPathFunc feature to customize request path (#41)

* feat: new RequestPathFunc to retrieve request path and corresponding option on *Prometheus

Recording metrics for routes not registered on the instrumented root *gin.Router currently requires defining a side-middleware mimicking the *Prometheus internals, that is, declaring counters, histograms and summaries for the metrics one wants to record, and "manually" handling them inside the middleware.
With RequestPathFunc, one can monitor calls to unregistered routes by setting RequestPathFunc to some function that returns a default value if the request path is undefined.

Even finer-grained monitoring is made possible by this commit, e.g. recording a metric with the (*http.Request).RequestURI rather than the (*gin.Context).Fullpath() return value.

* feat: add test for new feature RequestPathFunc

v1.7.9

12 Apr 14:03
9398269

Choose a tag to compare

Fix behavior when adding a custom Gauge or Counter with a custom Regi…

v1.7.8

11 Apr 14:16
a01318c

Choose a tag to compare

chore(deps): update golang docker tag to v1.20.3 (#37)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

v1.7.7

28 Mar 09:23

Choose a tag to compare

Added the HandlerNameFunc option to customize the behavior of the handler label.
Thanks to @mlevieux for the PR 👍

Added the ability to register custom counters.

v1.7.6

05 Feb 23:15

Choose a tag to compare

fix(ci): golangci latest version