client_golang icon indicating copy to clipboard operation
client_golang copied to clipboard

Prometheus instrumentation library for Go applications

Results 221 client_golang issues
Sort by recently updated
recently updated
newest added

Occasionally, developer will set label values that unable to converge, which make lots of metric series. In the worst case, it will oom the target process or consume lots of...

# Possible Overflow Currently, the `Add` API of Counter and the similar implementation has the overflow problem. I write a test case to demonstrate it by the test case [TestCounterAddExcess](https://github.com/prometheus/client_golang/compare/main...xieyuschen:client_golang:main#diff-6732d569ae11a1997480439357d141b25e6d021d0efbdcffc6b058b1e41266d6R28)...

This does not feel like a user mailing list/group question so I am opening this issue. [GetMetricWithLabelValues](https://pkg.go.dev/github.com/prometheus/client_golang/prometheus#MetricVec.GetMetricWithLabelValues) claims that a `Delete` retains the metric being deleted, and it's just that...

help wanted
good first issue

The functions `GatherAndCompare`, `ScrapeAndCompare` and others that use `compareMetricFamilies` under the hood can return no error if `metricNames` includes none of the names found in the scraped/gathered results. To avoid...

This is from https://github.com/prometheus/prometheus/pull/5312; the code moved to this repo since that PR was opened. @geekodour is the original author.

This PR adds support for unit for Open Metrics. It is ready for review, but not ready to merge (see my long comment below). Fixes #684.

Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.48.0 to 0.50.0. Release notes Sourced from github.com/prometheus/common's releases. v0.50.0 What's Changed Synchronize common files from prometheus/prometheus by @​prombot in prometheus/common#594 Bump github.com/stretchr/testify from 1.8.4 to 1.9.0...

dependencies
go