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

Removed Logger interface and make error handling more flexible. For example, we could use our own logger implementation and have more control over the execution flow ``` package main import...

wip

As mentioned in the func doc for New(): "However, do not include the “/metrics/jobs/…” part."

After adding HandlerWithAllowlist, cilium or other components can exclude high cardinality metrics instead of disabling metrics collection in a running cluster. context: https://github.com/cilium/cilium/issues/27471 I notice this pr introduces a new...

I note that NumGC is not exported as a metric? Is there any special reason?

question

This repo pulls vulnerable dependencies. For example, [yaml.v2

I looked at `go_gc_heap_allocs_by_size_bytes_bucket`, and found it strange that the buckets include `le="24.999999999999996"` and `le="64.99999999999999"`. With help from @beorn7 I believe this is because the bucket is defined as "less...

stale

After https://github.com/prometheus/client_golang/pull/1143, the function `testutil.GatherAndCompare`: https://github.com/prometheus/client_golang/blob/1bae6c1e6314f6a20be183a7277059630780232a/prometheus/testutil/testutil.go#L197-L203 https://github.com/prometheus/client_golang/blob/1bae6c1e6314f6a20be183a7277059630780232a/prometheus/testutil/testutil.go#L205-L222 https://github.com/prometheus/client_golang/blob/1bae6c1e6314f6a20be183a7277059630780232a/prometheus/testutil/testutil.go#L236-L245 became error-prone, as we filter the `expected` metrics in `compareMetricFamilies` as well now, if we make a mistake in one of the...

bug
help wanted

github.com/prometheus/client_golang v1.16.0 go version: go1.17.11 Before GC: go_gc_duration_seconds_sum 0.002715273 go_memstats_mallocs_total 87459 go_gc_duration_seconds_sum 0.002715273 go_memstats_mallocs_total 87796 After: go_gc_duration_seconds_sum 0.002747097 go_memstats_mallocs_total 78381 the other counters seem to behave the same way. Expected:...

bug
help wanted
stale

Recently, `TestSummaryDecay` started to become flaky on CircleCI. It's a timing dependent test. It used to work well, but I guess something has changed in CircleCI. Ideally, the test should...

enhancement
help wanted
stale

Replace the github.com/golang/protobuf-1.5.3 with google code The whole project seem to be depricated and it is recommended to go for google from https://github.com/golang/protobuf "It has been superseded by the [google.golang.org/protobuf](https://pkg.go.dev/mod/google.golang.org/protobuf)...