8000 Tags · depado/ginprom · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: depado/ginprom

Tags

v1.8.1

Toggle v1.8.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: add custom histograms (#70)

* feat: add custom histograms

* fix linter

* test: improve coverage

v1.8.0

Toggle v1.8.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat: add support for custom labels in the counter metric (#62)

* feat: add support for custom labels to counter metric

* add test

* revert module change

* apply suggestions from code review

Co-authored-by: Depado <Depado@users.noreply.github.com>

---------

Co-authored-by: Depado <Depado@users.noreply.github.com>

v1.7.11

Toggle v1.7.11's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
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

Toggle v1.7.10's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
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

Toggle v1.7.9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix behavior when adding a custom Gauge or Counter with a custom Regi…

…stry (#39)

* fix: ensure AddCustomGauge and AddCustomCounter register the Gauge and Value in the correct registry

Before that, the AddCustomGauge and AddCustomCounter would both register the respective Gauge and Counter in the default prometheus Registry, even if a custom one was set.
Also, since this commit introduced a new simple mustRegister method on *Prometheus, it seemed logical to use it in the register function.

* feat: add tests to check that custom counters and gauges are registered in the correct registry

v1.7.8

Toggle v1.7.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
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

Toggle v1.7.7's commit message
feat(custom): ability to add custom counters

v1.7.6

Toggle v1.7.6's commit message
fix(ci): golangci latest version

v1.7.5

Toggle v1.7.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #28 from TankerHQ/deps

Upgrade dependencies

v1.7.4

Toggle v1.7.4's commit message
bump dependencies

0