[Metricbeat] Use histograms type in Prometheus module #14843
Labels
enhancement
Metricbeat
Metricbeat
Team:Integrations
Label for the Integrations team
Team:Platforms
Label for the Integrations - Platforms team
v7.7.0
Elasticsearch now supports histograms in its default distribution: elastic/elasticsearch#48580
We can adapt Prometheus module to take benefit from it and store histograms using this type. There are some transformations that are needed when pushing Prometheus histograms:
We will still need a fallback option for versions without the histogram type
Some initial tests can be found here: https://gist.github.com/exekias/3860f182169b4fa8f3ea02c82770be55#file-scrape-py
The text was updated successfully, but these errors were encountered: