Ver Fonte

Merge pull request #1397 from opencost/mmd/add-container-stats-context-name

Add Prom context name for ContainerStats
Michael Dresser há 3 anos atrás
pai
commit
f72d3fda55
1 ficheiros alterados com 4 adições e 0 exclusões
  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"
 )