client_golang
client_golang copied to clipboard
Prometheus instrumentation library for Go applications
#### Description chore: clean up and sort golangci-lint configuration
Fixes: [Prometheus GitHub issue #1438](https://github.com/prometheus/client_golang/issues/1438) This PR addresses [Prometheus GitHub issue #1438](https://github.com/prometheus/client_golang/issues/1438) and the related comment by @bwplotka [here](https://github.com/prometheus/client_golang/issues/1438#issuecomment-1930664688). It introduces a simple fake implementation of the Prometheus API to...
Providing users with a clear understanding of available metrics is currently a significant challenge. The only way to discover them is by running a service and scraping, which is not...
This PR refactors the internals of the `Desc` to create an optimized version of `MakeLabelPairs` by replacing the `constLabels` with a sorted `labelPairs` containing constant labels and variable labels. The...
From the KubeCon ContribFest 👋 This PR added GOOS as variable to the go test CI Fix #1761 Please check @ArthurSens
We had to revert https://github.com/prometheus/client_golang/pull/1661 due to major performance issues on `Add/Inc/Observe` methods for cumulatives https://github.com/prometheus/client_golang/issues/1748 This issue acceptance criteria is to reintroduce its benefits without compromising low concurrency cases....
Added client and metric vectors 
### Description `100 Continue` response can be issued many times before an actual response is return (eg. `200 OK`). In case of `promhttp` these responses should be ignored. When you...