forked from machadovilaca/monitoring-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconst.go
More file actions
34 lines (30 loc) · 1.43 KB
/
const.go
File metadata and controls
34 lines (30 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package k8s
const (
ClusterMonitoringNamespace = "openshift-monitoring"
PlatformRouteNamespace = "openshift-monitoring"
PlatformRouteName = "prometheus-k8s"
PlatformAlertmanagerRouteName = "alertmanager-main"
UserWorkloadRouteNamespace = "openshift-user-workload-monitoring"
UserWorkloadRouteName = "prometheus-user-workload"
UserWorkloadAlertmanagerRouteName = "alertmanager-user-workload"
PrometheusAlertsPath = "/v1/alerts"
PrometheusRulesPath = "/v1/rules"
AlertmanagerAlertsPath = "/api/v2/alerts"
UserWorkloadAlertmanagerPort = 9095
UserWorkloadPrometheusServiceName = "prometheus-user-workload-web"
UserWorkloadPrometheusPort = 9090
ThanosQuerierNamespace = "openshift-monitoring"
ThanosQuerierServiceName = "thanos-querier"
ThanosQuerierTenancyRulesPortName = "tenancy-rules"
DefaultThanosQuerierTenancyRulesPort = 9093
ThanosQuerierTenancyAlertsPath = "/api/v1/alerts"
ThanosQuerierTenancyRulesPath = "/api/v1/rules"
ServiceCAPath = "/var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt"
AlertSourceLabel = "openshift_io_alert_source"
AlertSourcePlatform = "platform"
AlertSourceUser = "user"
AlertBackendLabel = "openshift_io_alert_backend"
AlertBackendAM = "alertmanager"
AlertBackendProm = "prometheus"
AlertBackendThanos = "thanos"
)