Skip to content

Commit c6da45b

Browse files
committed
Ref #34715: remove kubeStateMetrics patch
1 parent b2ba8b8 commit c6da45b

File tree

3 files changed

+7
-39
lines changed

3 files changed

+7
-39
lines changed

overlays/monitoring/configs/dashboards/shinyproxy-operator-logs.json

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -270,22 +270,21 @@
270270
{
271271
"current": {},
272272
"datasource": {
273-
"type": "prometheus",
274-
"uid": "${prometheus}"
273+
"type": "loki",
274+
"uid": "${datasource}"
275275
},
276-
"definition": "label_values(kube_pod_labels{label_app=\"shinyproxy-operator\"}, namespace)",
277-
"hide": 0,
276+
"definition": "",
278277
"includeAll": false,
279-
"multi": false,
280278
"name": "namespace",
281279
"options": [],
282280
"query": {
283-
"query": "label_values(kube_pod_labels{label_app=\"shinyproxy-operator\"}, namespace)",
284-
"refId": "StandardVariableQuery"
281+
"label": "namespace",
282+
"refId": "LokiVariableQueryEditor-VariableQuery",
283+
"stream": "{app=\"shinyproxy-operator\"}",
284+
"type": 1
285285
},
286286
"refresh": 2,
287287
"regex": "",
288-
"skipUrlSync": false,
289288
"sort": 5,
290289
"type": "query",
291290
"allowCustomValue": false
@@ -336,19 +335,6 @@
336335
"type": "custom",
337336
"allowCustomValue": false
338337
},
339-
{
340-
"current": {},
341-
"hide": 2,
342-
"includeAll": false,
343-
"name": "prometheus",
344-
"options": [],
345-
"query": "prometheus",
346-
"refresh": 2,
347-
"regex": "",
348-
"type": "datasource",
349-
"sort": 5,
350-
"allowCustomValue": false
351-
},
352338
{
353339
"current": {},
354340
"description": "",

overlays/monitoring/kustomization.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ resources:
99

1010
patchesStrategicMerge:
1111
- patches/grafana.deployment.yaml
12-
- patches/kubeStateMetrics-deployment.yaml
1312
- patches/prometheus.prometheus.yaml
1413
- patches/alertmanager.alertmanager.yaml
1514

overlays/monitoring/patches/kubeStateMetrics-deployment.yaml

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)