prometheus/scrape
beorn7 ad7d1aed99 Phase out native histogram feature flag
The detailed plan for this is laid out in
https://github.com/prometheus/prometheus/issues/16572 .

This commit adds a global and local scrape config option
`scrape_native_histograms`, which has to be set to true to ingest
native histograms.

To ease the transition, the feature flag is changed to simply set the
default of `scrape_native_histograms` to true.

Further implications:

- The default scrape protocols now depend on the
  `scrape_native_histograms` setting.
- Everywhere else, histograms are now "on by default".

Documentation beyond the one for the feature flag and the scrape
config are deliberately left out. See
https://github.com/prometheus/prometheus/pull/17232 for that.

Signed-off-by: beorn7 <beorn@grafana.com>
2025-10-15 14:50:52 +02:00
..
testdata Include test CA text info (#14699) 2024-08-20 19:41:02 +02:00
clientprotobuf.go chore: enable gci linter (#16245) 2025-03-22 15:46:13 +00:00
helpers_test.go chore: enable unused-receiver rule from revive 2025-08-04 09:43:33 +00:00
manager.go Phase out native histogram feature flag 2025-10-15 14:50:52 +02:00
manager_test.go Phase out native histogram feature flag 2025-10-15 14:50:52 +02:00
metrics.go Scraping: add metric for symbol table size 2024-07-05 10:16:22 +01:00
scrape.go Phase out native histogram feature flag 2025-10-15 14:50:52 +02:00
scrape_test.go Phase out native histogram feature flag 2025-10-15 14:50:52 +02:00
target.go Use rlock in read methods of scrape target 2025-10-08 09:06:09 +03:30
target_test.go scrape: "Modernize" test files 2025-10-14 19:30:22 +02:00