Skip to content

Commit

Permalink
Add log line when running at collection level minimal
Browse files Browse the repository at this point in the history
  • Loading branch information
ionthegeek committed Dec 24, 2024
1 parent eb607a7 commit 107f849
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions promdump/promdump.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 != "" {
Expand Down

0 comments on commit 107f849

Please sign in to comment.