cockroachdb / cockroachdb/cockroach

obs: migrate cloud OTel collectors to Prometheus native histograms

Open
#171,747 0 comments 0 reactions 1 assignee Claimed by @angles-n-daemons View on GitHub
A-observability-inf C-enhancement O-agent T-observability
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

**Summary**

Once CockroachDB's metrics emit Prometheus native histograms (the goodhistogram migration; CRDB already supports native-histogram export via `COCKROACH_ENABLE_PROMETHEUS_NATIVE_HISTOGRAMS`, which represents a histogram as a single exponential time series rather than a collection of per-bucket counter series), the cloud OpenTelemetry collectors that scrape and forward CRDB metrics should ingest the native form to realize the benefit — far fewer series and better resolution.

This is a verify-then-migrate item: the collector configuration lives in the managed-service / infra repos, not in `cockroach`, so the current behavior needs to be checked first.

**Tasks**
- [ ] Confirm whether the cloud OTel collectors already ingest CockroachDB native histograms after the migration (vs. classic per-bucket series). If so, close this.
- [ ] If not, enable native-histogram scraping/forwarding in the collector config and verify downstream storage and dashboards handle the native format.

Epic CRDB-63921

Jira issue: CRDB-64882

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.