File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ require (
18
18
github.com/hashicorp/go-multierror v1.1.1
19
19
github.com/lib/pq v1.10.9
20
20
github.com/pkg/errors v0.9.1
21
- github.com/prometheus/client_golang v1.20.0
21
+ github.com/prometheus/client_golang v1.20.1-0.20240819183102-3224f5959e07
22
22
github.com/redis/go-redis/v9 v9.6.1
23
23
github.com/spf13/viper v1.19.0
24
24
github.com/stretchr/testify v1.9.0
Original file line number Diff line number Diff line change @@ -679,8 +679,8 @@ github.com/prometheus/client_golang v0.9.0-pre1.0.20180209125602-c332b6f63c06/go
679
679
github.com/prometheus/client_golang v0.9.1 /go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw =
680
680
github.com/prometheus/client_golang v1.0.0 /go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo =
681
681
github.com/prometheus/client_golang v1.1.0 /go.mod h1:I1FGZT9+L76gKKOs5djB6ezCbFQP1xR9D75/vuwEF3g =
682
- github.com/prometheus/client_golang v1.20.0 h1:jBzTZ7B099Rg24tny+qngoynol8LtVYlA2bqx3vEloI =
683
- github.com/prometheus/client_golang v1.20.0 /go.mod h1:PIEt8X02hGcP8JWbeHyeZ53Y/jReSnHgO035n//V5WE =
682
+ github.com/prometheus/client_golang v1.20.1-0.20240819183102-3224f5959e07 h1:zd3xGRFHNk0t0vo+qPg0+rgHsDOFJDdkxfgQJSugJyg =
683
+ github.com/prometheus/client_golang v1.20.1-0.20240819183102-3224f5959e07 /go.mod h1:PIEt8X02hGcP8JWbeHyeZ53Y/jReSnHgO035n//V5WE =
684
684
github.com/prometheus/client_model v0.0.0-20171117100541-99fa1f4be8e5 /go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo =
685
685
github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910 /go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo =
686
686
github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90 /go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA =
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ func (p *Prometheus) Init() (err error) {
62
62
p .reqDur = reqDur
63
63
p .ReqCntURLLabelMappingFn = func (c * gin.Context ) string { return c .Request .URL .Path }
64
64
p .SkipMetricsURLFn = func (c * gin.Context ) bool { return false }
65
- p .reg = prometheus .NewRegistry ()
65
+ p .reg = prometheus .NewPedanticRegistry ()
66
66
67
67
collectors := []prometheus.Collector {
68
68
collectors .NewProcessCollector (collectors.ProcessCollectorOpts {}),
You can’t perform that action at this time.
0 commit comments