From 107f849f8d64f9839bcb8e3117edb664af501016 Mon Sep 17 00:00:00 2001 From: Ian Anderson Date: Tue, 24 Dec 2024 09:27:47 -0500 Subject: [PATCH] Add log line when running at collection level minimal --- promdump/promdump.go | 1 + 1 file changed, 1 insertion(+) diff --git a/promdump/promdump.go b/promdump/promdump.go index 9e3a905..c6b28d6 100644 --- a/promdump/promdump.go +++ b/promdump/promdump.go @@ -1330,6 +1330,7 @@ func main() { labels = append(labels, fmt.Sprintf("node_prefix=\"%s\"", *nodePrefix)) } if *collectionLevel == "minimal" && v.exportName == "tserver_export" { + logger.Println("exportMetric: exporting tserver metrics at minimal collection level") labels = append(labels, fmt.Sprintf("saved_name=~\"%s\"", minimalCollectionPromRE)) } if instanceLabelString != "" {