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

Hi! Adding http client connection metrics like whether put idle connection to connection pool success or fail, connection is from connection pool or created, dialing new connections is success or...

In one of my unit tests, I am comparing the equality of `MetricFamily` objects, which include a `Counter` type metric. Prior to the v1.17.0 release, the `CreatedTimestamp` field did not...

question

### Discussed in https://github.com/prometheus/client_golang/discussions/1220 Originally posted by **moming00** February 16, 2023 Is there any generic approach to add lables for golang app built-in metrics like `process_cpu_seconds_total` and `go_memstats_alloc_bytes_total `? I...

stale

正常定义了一个counter指标,通过promauto创建 ```go counter = promauto.NewCounterVec(prometheus.CounterOpts{ Name: "third_service_counter", Help: "The total number of third service calling", }, []string{"channel", "id", "result"}) ``` github.com/prometheus/client_golang v1.12.0 在使用该版本是并不会产生报错, 在上次升级go版本的时候,将该版本也替换到了最新版 v1.14.0 之后会偶发如下错误: ```shell collected metric "third_service_counter"...

stale

I've started using govulncheck in my project and I'm getting warnings due to the following dependency chain: github.com/prometheus/client_golang v1.14.0 github.com/prometheus/common v0.37.0 golang.org/x/net/[email protected] It looks like there's a newer version of...

stale

AC: * Move to https://pkg.go.dev/google.golang.org/protobuf API See https://github.com/prometheus/common/issues/317

stale

Using version v1.10.0 we're periodically observing the issues like that: 2023-05-04T10:41:48.201112+00:00 2023/05/04 10:41:48 http2: panic serving [REDACTED]: runtime error: invalid memory address or nil pointer dereference 2023-05-04T10:41:48.201135+00:00 goroutine 17675201 [running]:...

How to use promql to check multiple indicators at one time, we have many indicators, 50 of them, we used to execute 50 queries before, now we want to optimize...

stale

Having an interface for MetricVec funcs like [Must]CurryWith, With[LabelValues], etc. -- parallel to ObserverVec -- would make it possible to generate mocks and thus facilitate unit testing for CounterVec, GaugeVec,...

stale

I will not cover that is exactly p90, p95, p99 quantiles means. Just wanted to drop this idea to discuss further here. ``` go_gc_duration_seconds{quantile="0"} go_gc_duration_seconds{quantile="0.25"} go_gc_duration_seconds{quantile="0.5"} go_gc_duration_seconds{quantile="0.75"} go_gc_duration_seconds{quantile="1"} ```

stale