prometheus/docs
beorn7 9e500345f3 textparse/scrape: Add option to scrape both classic and native histograms
So far, if a target exposes a histogram with both classic and native
buckets, a native-histogram enabled Prometheus would ignore the
classic buckets. With the new scrape config option
`scrape_classic_histograms` set, both buckets will be ingested,
creating all the series of a classic histogram in parallel to the
native histogram series. For example, a histogram `foo` would create a
native histogram series `foo` and classic series called `foo_sum`,
`foo_count`, and `foo_bucket`.

This feature can be used in a migration strategy from classic to
native histograms, where it is desired to have a transition period
during which both native and classic histograms are present.

Note that two bugs in classic histogram parsing were found and fixed
as a byproduct of testing the new feature:

1. Series created from classic _gauge_ histograms didn't get the
   _sum/_count/_bucket prefix set.
2. Values of classic _float_ histograms weren't parsed properly.

Signed-off-by: beorn7 <beorn@grafana.com>
2023-05-13 01:32:25 +02:00
..
command-line Check health & ready: move to flags (#12223) 2023-04-05 09:45:39 +02:00
configuration textparse/scrape: Add option to scrape both classic and native histograms 2023-05-13 01:32:25 +02:00
images Add 2.0 storage docs (#3423) 2017-11-07 22:00:38 +01:00
querying update docs 2023-04-20 09:34:15 +01:00
feature_flags.md Document command line tools 2023-03-13 14:20:55 +01:00
federation.md docs: Update federation docs for native histograms 2023-01-12 20:43:02 +05:30
getting_started.md docs: Add signal information to getting started 2023-03-12 00:31:04 +01:00
http_sd.md Added a failure counter to the HTTP service discovery (#10372) 2022-03-08 14:10:45 +01:00
index.md Update prometheus.io's URL to the latest version (#5270) 2019-02-27 10:39:50 +00:00
installation.md docs: update ansible installation link 2023-03-15 15:58:44 +01:00
management_api.md /-/{healthy,ready}/ respond to HEAD (#11160) 2022-08-16 21:06:26 +02:00
migration.md Document command line tools 2023-03-13 14:20:55 +01:00
stability.md Document command line tools 2023-03-13 14:20:55 +01:00
storage.md Allow overlapping blocks by default (#11331) 2022-09-28 19:17:54 +05:30