Skip to content

Commit

Permalink
docs: fix prometheus feature flag flag (#8863)
Browse files Browse the repository at this point in the history
Signed-off-by: György Krajcsovits <[email protected]>
  • Loading branch information
krajorama authored Jul 31, 2024
1 parent b83fdad commit 923e300
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/sources/mimir/send/native-histograms/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Use the latest version of Prometheus or at least version 2.47.
1. To enable scraping native histograms from the application, you need to enable native histograms feature via a feature flag on the command line:

```bash
prometheus --enabled-feature native-histograms
prometheus --enable-feature=native-histograms
```

1. The above flag will make Prometheus detect and scrape native histograms, but ignores classic histogram version of those metrics that have native histogram defined as well. Classic histograms without native histogram definitions are not effected. To keep scraping the classic histogram version of native histogram metrics you need to set `scrape_classic_histograms` to `true` in your scrape jobs, for example:
Expand Down

0 comments on commit 923e300

Please sign in to comment.