Skip to content

Update instructions for enabling native histograms#2533

Open
fstab wants to merge 1 commit intomainfrom
fstab-patch-1
Open

Update instructions for enabling native histograms#2533
fstab wants to merge 1 commit intomainfrom
fstab-patch-1

Conversation

@fstab
Copy link
Copy Markdown
Contributor

@fstab fstab commented Feb 17, 2026

As native histograms are stable in Prometheus, the feature flag was deprecated and made a no-op in Prometheus 3.9.0.

Update the documentation to cover newer Prometheus versions.

As native histograms are stable in Prometheus, the feature flag was deprecated and made a no-op in Prometheus 3.9.0.

Update the documentation to cover newer Prometheus versions.
@fstab fstab requested a review from a team as a code owner February 17, 2026 16:48
## Use native histograms and exponential histograms

For Prometheus, you enable [native histograms](https://prometheus.io/docs/concepts/metric_types/#histogram) by [enabling the `native-histograms` feature in your Prometheus collector](https://prometheus.io/docs/prometheus/latest/feature_flags/#native-histograms).
For Prometheus, you enable [native histograms](https://prometheus.io/docs/specs/native_histograms/) with the `--enable-feature=native-histograms` feature flag (Prometheus <= 3.8.0) or with the `scrape_native_histograms` config setting (Prometheus >= 3.8.0).

Check failure

Code scanning / Vale

Did you really mean 'config'? The Grafana dictionary might not know of this word yet Error documentation

Did you really mean 'config'? The Grafana dictionary might not know of this word yet
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 48.61%. Comparing base (bd414e9) to head (0069381).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2533   +/-   ##
=======================================
  Coverage   48.61%   48.61%           
=======================================
  Files          53       53           
  Lines        4017     4017           
=======================================
  Hits         1953     1953           
  Misses       1930     1930           
  Partials      134      134           
Flag Coverage Δ
unittests 48.61% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Contributor

@grcevski grcevski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Copy Markdown
Contributor

@mariomac mariomac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine with me! There is a Vale complaint but we can merge once it's happy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants