File tree Expand file tree Collapse file tree
kubernetes/apps/prometheus Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -98,15 +98,18 @@ spec:
9898 config :
9999 spec :
100100 resources :
101- # Flux Controller Deployments - for version information
101+ # Flux Controller Deployments - for dynamic version information
102102 - groupVersionKind :
103103 group : apps
104104 version : v1
105105 kind : Deployment
106- metricNamePrefix : gotk
106+ metricNamePrefix : flux
107107 labelSelector :
108108 matchLabels :
109109 app.kubernetes.io/part-of : flux
110+ labelsFromPath :
111+ component : [metadata, labels, "app.kubernetes.io/component"]
112+ version : [metadata, labels, "app.kubernetes.io/version"]
110113 metrics :
111114 - name : " controller_info"
112115 help : " Information about Flux controllers including version."
@@ -117,10 +120,7 @@ spec:
117120 name : [metadata, name]
118121 labelsFromPath :
119122 exported_namespace : [metadata, namespace]
120- controller_name : [metadata, labels, "app.kubernetes.io/component"]
121- version : [metadata, labels, "app.kubernetes.io/version"]
122123 replicas : [spec, replicas]
123- available_replicas : [status, availableReplicas]
124124 ready_replicas : [status, readyReplicas]
125125 # Flux Kustomization Resources
126126 - groupVersionKind :
You can’t perform that action at this time.
0 commit comments