contextnames.go 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. package prom
  2. const (
  3. // AllocationContextName is the name we assign the allocation query context [metadata]
  4. AllocationContextName = "allocation"
  5. // ClusterContextName is the name we assign the cluster query context [metadata]
  6. ClusterContextName = "cluster"
  7. // ClusterContextName is the name we assign the optional cluster query context [metadata]
  8. ClusterOptionalContextName = "cluster-optional"
  9. // ComputeCostDataContextName is the name we assign the compute cost data query context [metadata]
  10. ComputeCostDataContextName = "compute-cost-data"
  11. // ComputeCostDataContextName is the name we assign the compute cost data range query context [metadata]
  12. ComputeCostDataRangeContextName = "compute-cost-data-range"
  13. // ClusterMapContextName is the name we assign the cluster map query context [metadata]
  14. ClusterMapContextName = "cluster-map"
  15. // FrontendContextName is the name we assign queries proxied from the frontend [metadata]
  16. FrontendContextName = "frontend"
  17. // DiagnosticContextName is the name we assign queries that check the state of the prometheus connection
  18. DiagnosticContextName = "diagnostic"
  19. // ContainerStatsContextName is the name we assign queries that build
  20. // container stats aggregations.
  21. ContainerStatsContextName = "container-stats"
  22. // NetworkInsightsContextName is the name we assign the network insights query context [metadata]
  23. NetworkInsightsContextName = "networkinsight"
  24. )