prometheus/docs/configuration
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
..
alerting_rules.md Update alerting_rules.md (#7252) 2020-09-07 17:30:01 +01:00
configuration.md textparse/scrape: Add option to scrape both classic and native histograms 2023-05-13 01:32:25 +02:00
https.md Docs: use boolean instead of bool 2023-03-21 17:28:31 +01:00
index.md Consolidate configuration and rules docs in docs/configuration/ 2017-10-27 09:54:02 +02:00
recording_rules.md Add 'keep_firing_for' field to alerting rules 2023-01-13 12:11:39 +01:00
template_examples.md format markdown code block (#5594) 2019-05-25 11:28:50 +01:00
template_reference.md template: adding formatTime function to TemplateExpander (#10993) 2022-07-14 23:45:32 +02:00
unit_testing_rules.md Terminology amendment 2022-12-15 16:22:40 +00:00