Explorar o código

Add Prom context name for ContainerStats

Signed-off-by: Michael Dresser <michaelmdresser@gmail.com>
Michael Dresser %!s(int64=3) %!d(string=hai) anos
pai
achega
cbdd094635
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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 = "diagnostic"
+
+	// ContainerStatsContextName is the name we assign queries that build
+	// container stats aggregations.
+	ContainerStatsContextName = "container-stats"
 )