contextnames.go 1.1 KB

123456789101112131415161718192021222324252627
  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. )