prometheus/util
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
..
almost [COMMENT] Improve comment on almost.Equal; add tests 2024-08-30 10:13:00 +01:00
annotations promql: Fix when to emit a HistogramCounterResetCollisionWarning 2025-09-03 18:00:03 +02:00
compression chore: enable unused-receiver rule from revive 2025-08-04 09:43:33 +00:00
convertnhcb Set hasCount after setting count to be consistent 2024-11-26 13:56:22 +01:00
documentcli Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
fmtutil common: Update to prom/common v0.66.0, fix TextParser creation (#17139) 2025-09-03 11:20:04 -04:00
gate Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
httputil Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
jsonutil Name float values as "floats", not as "values" 2023-04-13 19:25:24 +02:00
junitxml promtool: JUnit-Format XML Test Results (#14506) 2024-07-29 21:28:08 +10:00
logging Add comments clarifying why promql.Querylogger exists (#17231) 2025-09-26 15:33:09 +01:00
namevalidationutil Make metric/label name validation scheme explicit (#16928) 2025-08-18 08:09:00 +00:00
netconnlimit Add support for multiple listening addresses 2024-08-20 13:09:16 +02:00
notifications Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
osutil Format Go source files using 'gofumpt -w -s -extra' 2021-11-02 19:52:34 +01:00
pool Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
runtime chore: Fix typos (#14868) 2024-09-10 22:32:03 +02:00
runutil Append Created Timestamps (#12733) 2023-12-11 08:43:42 +00:00
stats Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
strutil Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
teststorage Phase out native histogram feature flag 2025-10-15 14:50:52 +02:00
testutil perf(tsdb): reuse map of sample types to speed up head appender 2025-10-06 21:44:34 +02:00
treecache Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
zeropool Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00