Skip to content

Commit 96bf3ed

Browse files
author
Manuel Fasching
committed
Synchronized content with extension version 1.1.1
1 parent 673edf1 commit 96bf3ed

File tree

4 files changed

+100
-41
lines changed

4 files changed

+100
-41
lines changed

extension/dashboards/dashboard.json

Lines changed: 97 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
"ControlPlane",
1717
"Kubernetes"
1818
],
19-
"dynamicFilters": {
20-
"filters": [
21-
"KUBERNETES_CLUSTER"
22-
]
23-
},
19+
"dynamicFilters": {
20+
"filters": [
21+
"KUBERNETES_CLUSTER"
22+
]
23+
},
2424
"preset": true
2525
},
2626
"tiles": [
@@ -171,7 +171,7 @@
171171
"bounds": {
172172
"top": 418,
173173
"left": 0,
174-
"width": 304,
174+
"width": 342,
175175
"height": 342
176176
},
177177
"tileFilter": {},
@@ -207,8 +207,8 @@
207207
"configured": true,
208208
"bounds": {
209209
"top": 418,
210-
"left": 304,
211-
"width": 304,
210+
"left": 342,
211+
"width": 342,
212212
"height": 342
213213
},
214214
"tileFilter": {},
@@ -243,9 +243,9 @@
243243
"tileType": "DATA_EXPLORER",
244244
"configured": true,
245245
"bounds": {
246-
"top": 418,
247-
"left": 608,
248-
"width": 304,
246+
"top": 760,
247+
"left": 760,
248+
"width": 342,
249249
"height": 342
250250
},
251251
"tileFilter": {},
@@ -281,8 +281,8 @@
281281
"configured": true,
282282
"bounds": {
283283
"top": 418,
284-
"left": 912,
285-
"width": 304,
284+
"left": 760,
285+
"width": 342,
286286
"height": 342
287287
},
288288
"tileFilter": {},
@@ -318,8 +318,8 @@
318318
"configured": true,
319319
"bounds": {
320320
"top": 418,
321-
"left": 1216,
322-
"width": 304,
321+
"left": 1178,
322+
"width": 342,
323323
"height": 342
324324
},
325325
"tileFilter": {},
@@ -354,7 +354,7 @@
354354
"tileType": "DATA_EXPLORER",
355355
"configured": true,
356356
"bounds": {
357-
"top": 836,
357+
"top": 1178,
358358
"left": 0,
359359
"width": 304,
360360
"height": 342
@@ -394,7 +394,7 @@
394394
"tileType": "DATA_EXPLORER",
395395
"configured": true,
396396
"bounds": {
397-
"top": 836,
397+
"top": 1178,
398398
"left": 304,
399399
"width": 304,
400400
"height": 342
@@ -467,7 +467,7 @@
467467
"tileType": "DATA_EXPLORER",
468468
"configured": true,
469469
"bounds": {
470-
"top": 836,
470+
"top": 1178,
471471
"left": 608,
472472
"width": 304,
473473
"height": 342
@@ -525,7 +525,7 @@
525525
"tileType": "DATA_EXPLORER",
526526
"configured": true,
527527
"bounds": {
528-
"top": 836,
528+
"top": 1178,
529529
"left": 912,
530530
"width": 304,
531531
"height": 342
@@ -583,7 +583,7 @@
583583
"tileType": "DATA_EXPLORER",
584584
"configured": true,
585585
"bounds": {
586-
"top": 836,
586+
"top": 1178,
587587
"left": 1216,
588588
"width": 304,
589589
"height": 342
@@ -641,25 +641,13 @@
641641
"tileType": "HEADER",
642642
"configured": true,
643643
"bounds": {
644-
"top": 798,
644+
"top": 1140,
645645
"left": 0,
646646
"width": 1520,
647647
"height": 38
648648
},
649649
"tileFilter": {}
650650
},
651-
{
652-
"name": "Number of ready pods per component",
653-
"tileType": "HEADER",
654-
"configured": true,
655-
"bounds": {
656-
"top": 380,
657-
"left": 0,
658-
"width": 608,
659-
"height": 38
660-
},
661-
"tileFilter": {}
662-
},
663651
{
664652
"name": "Master nodes",
665653
"tileType": "DATA_EXPLORER",
@@ -725,8 +713,8 @@
725713
"configured": true,
726714
"bounds": {
727715
"top": 380,
728-
"left": 608,
729-
"width": 608,
716+
"left": 760,
717+
"width": 342,
730718
"height": 38
731719
},
732720
"tileFilter": {},
@@ -738,8 +726,8 @@
738726
"configured": true,
739727
"bounds": {
740728
"top": 380,
741-
"left": 1216,
742-
"width": 304,
729+
"left": 1178,
730+
"width": 342,
743731
"height": 38
744732
},
745733
"tileFilter": {},
@@ -757,6 +745,77 @@
757745
},
758746
"tileFilter": {},
759747
"markdown": "#### [OpenShift 3 specific node type](https://docs.openshift.com/container-platform/3.11/admin_guide/manage_nodes.html#infrastructure-nodes)"
748+
},
749+
{
750+
"name": "Number of ready pods per component",
751+
"tileType": "HEADER",
752+
"configured": true,
753+
"bounds": {
754+
"top": 380,
755+
"left": 0,
756+
"width": 684,
757+
"height": 38
758+
},
759+
"tileFilter": {}
760+
},
761+
{
762+
"name": "Number of failed pods",
763+
"tileType": "DATA_EXPLORER",
764+
"configured": true,
765+
"bounds": {
766+
"top": 760,
767+
"left": 0,
768+
"width": 684,
769+
"height": 342
770+
},
771+
"tileFilter": {},
772+
"customName": "Data explorer results",
773+
"queries": [
774+
{
775+
"id": "A",
776+
"spaceAggregation": "AVG",
777+
"timeAggregation": "DEFAULT",
778+
"metricSelector": "kube_pod_status_ready:filter(and(or(and(eq(namespace,kube-system),prefix(pod,master-etcd-)),and(eq(namespace,openshift-etcd),prefix(pod,etcd-),not(prefix(pod,etcd-quorum))),and(eq(namespace,kube-system),prefix(pod,master-api-)),and(eq(namespace,openshift-kube-apiserver),prefix(pod,kube-apiserver-)),and(eq(namespace,openshift-kube-scheduler),prefix(pod,openshift-kube-scheduler-)),and(eq(namespace,openshift-kube-controller-manager),prefix(pod,kube-controller-manager-)),and(eq(namespace,kube-system),prefix(pod,master-controllers-))),eq(condition,false))):splitBy(\"dt.entity.kubernetes_cluster\",namespace,pod):sum:filter(series(sum,gt,0)):sort(value(sum,descending))",
779+
"enabled": true
780+
}
781+
],
782+
"visualConfig": {
783+
"type": "TABLE",
784+
"global": {
785+
"theme": "DEFAULT",
786+
"threshold": {
787+
"axisTarget": "LEFT",
788+
"columnId": "kube_pod_status_ready:filter",
789+
"rules": [
790+
{
791+
"color": "#7dc540"
792+
},
793+
{
794+
"color": "#f5d30f"
795+
},
796+
{
797+
"color": "#dc172a"
798+
}
799+
]
800+
},
801+
"seriesType": "LINE"
802+
},
803+
"rules": [
804+
{
805+
"matcher": "A:",
806+
"properties": {
807+
"seriesType": "LINE",
808+
"alias": "Count"
809+
}
810+
}
811+
],
812+
"axes": {
813+
"xAxis": {
814+
"visible": true
815+
},
816+
"yAxes": []
817+
}
818+
}
760819
}
761820
]
762-
}
821+
}

extension/extension.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,4 +145,4 @@ metrics:
145145
maxValue: 100
146146
rootCauseRelevant: false
147147
impactRelevant: false
148-
valueType: unknown
148+
valueType: unknown

scripts/control-plane-monitoring-annotations-ocp3.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ metadata:
1414
"node_network_receive_bytes_total",
1515
"node_network_transmit_bytes_total"
1616
]
17-
}
17+
}
1818
metrics.dynatrace.com/http.auth: builtin:default
1919
metrics.dynatrace.com/path: /metrics
2020
metrics.dynatrace.com/port: "9100"

scripts/control-plane-monitoring-annotations-ocp4.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ metadata:
4747
"kube_node_role",
4848
"kube_node_labels"
4949
]
50-
}
50+
}
5151
metrics.dynatrace.com/http.auth: builtin:default
5252
metrics.dynatrace.com/path: /metrics
5353
metrics.dynatrace.com/port: "8443"

0 commit comments

Comments
 (0)