Pārlūkot izejas kodu

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

Add Prom context name for ContainerStats
Michael Dresser 3 gadi atpakaļ
vecāks
revīzija
f72d3fda55
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  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"
 )