pkg/metrics: use experimental native histograms.
Bump client_golang to latest and optionally enable prometheus native histograms using the default exponential bucket factor. Note that native histograms currently use the protobuf exposition format, so we add content negotiation to the prometheus exporter. Note: just an experiment!
Showing
- DEPS.bzl 53 additions, 33 deletionsDEPS.bzl
- build/bazelutil/distdir_files.bzl 0 additions, 0 deletionsbuild/bazelutil/distdir_files.bzl
- go.mod 10 additions, 10 deletionsgo.mod
- go.sum 21 additions, 19 deletionsgo.sum
- pkg/ccl/sqlproxyccl/BUILD.bazel 1 addition, 0 deletionspkg/ccl/sqlproxyccl/BUILD.bazel
- pkg/ccl/sqlproxyccl/server.go 4 additions, 2 deletionspkg/ccl/sqlproxyccl/server.go
- pkg/cmd/roachtest/clusterstats/mocks_generated_test.go 18 additions, 8 deletionspkg/cmd/roachtest/clusterstats/mocks_generated_test.go
- pkg/cmd/roachtest/tests/drt_generated_test.go 18 additions, 8 deletionspkg/cmd/roachtest/tests/drt_generated_test.go
- pkg/kv/kvserver/BUILD.bazel 1 addition, 0 deletionspkg/kv/kvserver/BUILD.bazel
- pkg/kv/kvserver/client_tenant_test.go 2 additions, 1 deletionpkg/kv/kvserver/client_tenant_test.go
- pkg/roachprod/prometheus/prometheus.go 2 additions, 2 deletionspkg/roachprod/prometheus/prometheus.go
- pkg/server/BUILD.bazel 1 addition, 0 deletionspkg/server/BUILD.bazel
- pkg/server/load_endpoint.go 5 additions, 2 deletionspkg/server/load_endpoint.go
- pkg/server/load_endpoint_test.go 3 additions, 3 deletionspkg/server/load_endpoint_test.go
- pkg/server/status.go 5 additions, 3 deletionspkg/server/status.go
- pkg/server/status/BUILD.bazel 1 addition, 0 deletionspkg/server/status/BUILD.bazel
- pkg/server/status/recorder.go 3 additions, 2 deletionspkg/server/status/recorder.go
- pkg/util/metric/metric.go 19 additions, 0 deletionspkg/util/metric/metric.go
- pkg/util/metric/prometheus_exporter.go 5 additions, 4 deletionspkg/util/metric/prometheus_exporter.go
Loading
Please register or sign in to comment