mirror of
https://github.com/prometheus/prometheus.git
synced 2025-12-24 19:01:03 +01:00
* fix: autocomplete metadata for OpenMetrics counter _total metrics Signed-off-by: ADITYATIWARI342005 <142050150+ADITYATIWARI342005@users.noreply.github.com> * fix/lint: properly indent the test file Signed-off-by: ADITYA TIWARI <adityatiwari342005@gmail.com> * fix/test: exclude expexcted block Signed-off-by: ADITYA TIWARI <adityatiwari342005@gmail.com> * fix/test: refacttoor comment for relevance Signed-off-by: ADITYA TIWARI <adityatiwari342005@gmail.com> * fix: add openmetrics _total metadata support to autocomplete by extending hybridcomplete’s suffix handling and adding a Jest test that covers the base-name-only metadata scenario for _total counters Signed-off-by: ADITYA TIWARI <adityatiwari342005@gmail.com> * fix: break long-comment to separate line, re-trigger workflow Signed-off-by: ADITYA TIWARI <adityatiwari342005@gmail.com> * fix: also strip _total when resolving metric metadata in Selector and MetricsExplorer Signed-off-by: ADITYA TIWARI <adityatiwari342005@gmail.com> --------- Signed-off-by: ADITYATIWARI342005 <142050150+ADITYATIWARI342005@users.noreply.github.com> Signed-off-by: ADITYA TIWARI <adityatiwari342005@gmail.com>