client_golang
client_golang copied to clipboard
Prometheus instrumentation library for Go applications
Current issues: - Some interfaces are identical (`Untyped` and `Gauge`; `Histogram` and `Summary`; all the `XxxFunc` metrics), they are the same for Go (you could assign a Histogram to a...
It is possible to pass multiple value-timestamp pairs of the same metric name and same labels to Prometheus. If its not something horrible to do, then maybe we could add...
Potential fix for #1145. Signed-off-by: Fabian Stäber
It is a good thing if the format can expose the conventional and the native version of a histogram side by side. But if a native histogram has a zero...
I found an inconsistent concurrency behavior in `client_java`, and I think that `client_golang` has the same issue. Here's the current implementation of the counter's `Write()` function: ```golang func (c *counter)...
Background ========= Architectures using FMA optimization yield slightly different results so we cannot assume floating point values will be precisely the same across different architectures. https://github.com/prometheus/client_golang/pull/899#issuecomment-1244506390 Change ====== The solution...
The millisecond-resolution Unix timestamps (i.e., JavaScript-style) in the new TSDBHeadStats struct introduced by #925 will overflow on 32-bit archs ```go // TSDBHeadStats contains TSDB stats type TSDBHeadStats struct { NumSeries...
I am trying to install the examples with the command below: ``` $ go install github.com/prometheus/client_golang/examples/random@latest ``` but I am getting the following error: ``` go: github.com/prometheus/client_golang/examples/random@latest (in github.com/prometheus/[email protected]): The...
The code below panics for duplicate registration because by default golang runs tests in parallel. The actual code would work since `New()` is called only once so wondering if there...