Skip to content

Commit 92652a5

Browse files
authored
Fix listing only namespaces containing OpenTelemetry Collector instances. Fixes open-telemetry#3196 (open-telemetry#3197)
Signed-off-by: Israel Blancas <[email protected]>
1 parent eab0b6a commit 92652a5

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
2+
change_type: bug_fix
3+
4+
# The name of the component, or a single word describing the area of concern, (e.g. collector, target allocator, auto-instrumentation, opamp, github action)
5+
component: operator
6+
7+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
8+
note: "The OpenShift dashboard shown namespaces where PodMonitors or ServiceMonitors were created even if they were not associated to OpenTelemetry Collectors."
9+
10+
# One or more tracking issues related to the change
11+
issues: [3196]
12+
13+
# (Optional) One or more lines of additional information to render under the primary note.
14+
# These lines will be padded with 2 spaces and then inserted directly into the document.
15+
# Use pipe (|) for multiline entries.
16+
subtext: "Now, the dashboard lists only those namespaces where there are OpenTelemetry Collectors."

internal/openshift/dashboards/metrics-dashboard.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -989,14 +989,14 @@
989989
"value": "kube-system"
990990
},
991991
"datasource": "$datasource",
992-
"definition": "label_values(container_network_receive_packets_total, namespace)",
992+
"definition": "label_values(otelcol_process_runtime_heap_alloc_bytes, namespace)",
993993
"hide": 0,
994994
"includeAll": true,
995995
"label": null,
996996
"multi": false,
997997
"name": "namespace",
998998
"options": [],
999-
"query": "label_values(container_network_receive_packets_total, namespace)",
999+
"query": "label_values(otelcol_process_runtime_heap_alloc_bytes, namespace)",
10001000
"refresh": 2,
10011001
"regex": "",
10021002
"skipUrlSync": false,

0 commit comments

Comments
 (0)