Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MB-54078 add TYPE information for prometheus metrics
DP agent will scrape the indexer prometheus REST endpoint and send the metrics to CP direclty(instead of using the ns-server prometheus REST endpoint). As per the OpenMetric specs, all metrics need to have TYPE information: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md e.g. "# TYPE index_memory_quota gauge" index_memory_quota 268435456 This information is being added only to _prometheusMetrics endpoint in this commit. Change-Id: If6d306fe29b2b3df6ce0ade78615fe4a2b03e6ae
- Loading branch information