1 # ============LICENSE_START=======================================================
2 # dcaegen2-collectors-veshv
3 # ================================================================================
4 # Copyright (C) 2020 NOKIA
5 # ================================================================================
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
10 # http://www.apache.org/licenses/LICENSE-2.0
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 # ============LICENSE_END=========================================================
22 name: grafana-k8s-metrics
25 name: grafana-dashboards
33 "datasource": "-- Grafana --",
36 "iconColor": "rgba(0, 211, 255, 1)",
37 "name": "Annotations & Alerts",
84 "orientation": "auto",
85 "showThresholdLabels": false,
86 "showThresholdMarkers": true
88 "pluginVersion": "6.7.2",
91 "expr": "sum(container_memory_working_set_bytes{id=\"/\", instance=~\".*worker.*\"}) by(instance) / (sum(machine_memory_bytes{instance=~\".*worker.*\"}) by (instance))*100",
93 "legendFormat": "{{instance}}",
99 "title": "Nodes RAM Usage",
138 "orientation": "auto",
139 "showThresholdLabels": false,
140 "showThresholdMarkers": true
142 "pluginVersion": "6.7.2",
145 "expr": "sum(rate(container_cpu_usage_seconds_total{id=\"/\", instance=~\".*worker.*\"}[1m])) by(instance) / (sum(machine_cpu_cores{instance=~\".*worker.*\"}) by (instance))*100",
147 "legendFormat": "{{instance}}",
153 "title": "Nodes CPU Usage",
170 "hiddenSeries": false,
183 "nullPointMode": "null",
191 "seriesOverrides": [],
194 "steppedLine": false,
197 "expr": "sum(irate(container_network_receive_bytes_total{pod!=\"\", namespace=\"onap\", instance=~\".*worker.*\"}[1m])) by (instance)",
200 "legendFormat": "{{instance}}",
204 "expr": "sum(irate(container_network_receive_bytes_total{pod!=\"\", namespace=\"onap\", instance=~\".*worker.*\"}[1m]))",
207 "legendFormat": "Total Receive",
215 "title": "Network Usage - Receive",
219 "value_type": "individual"
266 "hiddenSeries": false,
279 "nullPointMode": "null",
287 "seriesOverrides": [],
290 "steppedLine": false,
293 "expr": "sum(container_memory_working_set_bytes{id=\"/\"}) by (instance) / (sum(machine_memory_bytes) by (instance))*100",
295 "legendFormat": "{{instance}}",
303 "title": "Nodes Total RAM Usage",
307 "value_type": "individual"
354 "hiddenSeries": false,
367 "nullPointMode": "null",
375 "seriesOverrides": [],
378 "steppedLine": false,
381 "expr": "sum(rate(container_cpu_usage_seconds_total{id=\"/\"}[1m])) by(instance) / (sum(machine_cpu_cores) by (instance))*100",
383 "legendFormat": "{{instance}}",
391 "title": "Nodes Total CPU usage",
395 "value_type": "individual"
442 "hiddenSeries": false,
455 "nullPointMode": "null",
463 "seriesOverrides": [],
466 "steppedLine": false,
469 "expr": "sum(irate(container_network_transmit_bytes_total{pod!=\"\", namespace=\"onap\", instance=~\".*worker.*\"}[1m])) by (instance)",
472 "legendFormat": "{{instance}}",
476 "expr": "sum(irate(container_network_transmit_bytes_total{pod!=\"\", namespace=\"onap\", instance=~\".*worker.*\"}[1m]))",
479 "legendFormat": "Total Transmit",
487 "title": "Network Usage - Transmit",
491 "value_type": "individual"
537 "refresh_intervals": [
551 "title": "K8s metrics",