Skip to content

Commit 92c7426

Browse files
author
Manuel Fasching
committed
Replace legacy readyz metric with new one.
- Replaced metric key in dashboard and custom alert. - Applied honeycomb visualization for Cluster Readiness tile
1 parent 96bf3ed commit 92c7426

File tree

5 files changed

+41
-25
lines changed

5 files changed

+41
-25
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ This extension provides you with deep insights into your self-managed [OpenShift
88

99
## <a name="permissions"></a> Prerequisites and supported versions
1010

11-
* Dynatrace version 1.222+
12-
* ActiveGate version 1.222+ running within the Kubernetes cluster. To have an ActiveGate in your Kubernetes cluster, deploy Dynatrace using [Dynatrace Operator](https://www.dynatrace.com/support/help/shortlink/full-stack-dto-k8) (recommended) or deploy an [ActiveGate as a StatefulSet](https://www.dynatrace.com/support/help/shortlink/connect-kubernetes-clusters).
11+
* Dynatrace version 1.252+
12+
* ActiveGate version 1.249+ running within the Kubernetes cluster. To have an ActiveGate in your Kubernetes cluster, deploy Dynatrace using [Dynatrace Operator](https://www.dynatrace.com/support/help/shortlink/full-stack-dto-k8) (recommended) or deploy an [ActiveGate as a StatefulSet](https://www.dynatrace.com/support/help/shortlink/connect-kubernetes-clusters).
1313
* OpenShift 4 and OpenShift 3 (self-managed)
1414

1515

96 KB
Loading

extension/alerts/readyz_cluster_readiness.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"clusterVersion": "1.218.7.20210507-162235"
77
},
88
"id": "a79b62e4-a052-4049-9e6e-cb983c89c1b8",
9-
"metricId": "builtin:cloud.kubernetes.cluster.readyz",
9+
"metricId": "builtin:kubernetes.cluster.readyz",
1010
"name": "OpenShift control plane: cluster not ready",
1111
"description": "The readyz API health endpoint reported that the cluster's API server is not ready.",
1212
"aggregationType": "AVG",

extension/dashboards/dashboard.json

Lines changed: 37 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"tileFilter": {}
5050
},
5151
{
52-
"name": "Cluster status",
52+
"name": "",
5353
"tileType": "DATA_EXPLORER",
5454
"configured": true,
5555
"bounds": {
@@ -63,7 +63,7 @@
6363
"queries": [
6464
{
6565
"id": "A",
66-
"metric": "builtin:cloud.kubernetes.cluster.readyz",
66+
"metric": "builtin:kubernetes.cluster.readyz",
6767
"spaceAggregation": "AVG",
6868
"timeAggregation": "DEFAULT",
6969
"splitBy": [
@@ -92,38 +92,53 @@
9292
}
9393
],
9494
"visualConfig": {
95-
"type": "TABLE",
95+
"type": "HONEYCOMB",
9696
"global": {
97-
"theme": "DEFAULT",
98-
"threshold": {
99-
"axisTarget": "LEFT",
100-
"rules": [
101-
{
102-
"color": "#7dc540"
103-
},
104-
{
105-
"color": "#f5d30f"
106-
},
107-
{
108-
"color": "#dc172a"
109-
}
110-
]
111-
},
112-
"seriesType": "LINE"
97+
"hideLegend": false
11398
},
11499
"rules": [
115100
{
116101
"matcher": "A:",
117102
"properties": {
118-
"seriesType": "LINE"
119-
}
103+
"color": "DEFAULT"
104+
},
105+
"seriesOverrides": []
120106
}
121107
],
122108
"axes": {
123109
"xAxis": {
124110
"visible": true
125111
},
126112
"yAxes": []
113+
},
114+
"heatmapSettings": {
115+
"yAxis": "VALUE"
116+
},
117+
"thresholds": [
118+
{
119+
"axisTarget": "LEFT",
120+
"rules": [
121+
{
122+
"value": 0.99,
123+
"color": "#7dc540"
124+
},
125+
{
126+
"value": 0,
127+
"color": "#dc172a"
128+
}
129+
],
130+
"queryId": "A",
131+
"visible": true
132+
}
133+
],
134+
"tableSettings": {},
135+
"graphChartSettings": {
136+
"connectNulls": false
137+
},
138+
"honeycombSettings": {
139+
"showHive": true,
140+
"showLegend": true,
141+
"showLabels": false
127142
}
128143
}
129144
},
@@ -819,3 +834,4 @@
819834
}
820835
]
821836
}
837+

extension/extension.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: com.dynatrace.extension.<%=extensionName%>
22
version: <%=version%>
3-
minDynatraceVersion: "1.245"
3+
minDynatraceVersion: "1.252"
44
author:
55
name: Dynatrace
66

0 commit comments

Comments
 (0)