Просмотр исходного кода

Add Prom context name for ContainerStats

Signed-off-by: Michael Dresser <michaelmdresser@gmail.com>
Michael Dresser 3 лет назад
Родитель
Сommit
cbdd094635
1 измененных файлов с 4 добавлено и 0 удалено
  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"
 )
 )