Jelajahi Sumber

Add Prom context name for ContainerStats

Signed-off-by: Michael Dresser <michaelmdresser@gmail.com>
Michael Dresser 3 tahun lalu
induk
melakukan
cbdd094635
1 mengubah file dengan 4 tambahan dan 0 penghapusan
  1. 4 0
      pkg/prom/contextnames.go

+ 4 - 0
pkg/prom/contextnames.go

@@ -24,4 +24,8 @@ const (
 
 
 	// DiagnosticContextName is the name we assign queries that check the state of the prometheus connection
 	// DiagnosticContextName is the name we assign queries that check the state of the prometheus connection
 	DiagnosticContextName = "diagnostic"
 	DiagnosticContextName = "diagnostic"
+
+	// ContainerStatsContextName is the name we assign queries that build
+	// container stats aggregations.
+	ContainerStatsContextName = "container-stats"
 )
 )