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-kafka-and-producers
25 name: grafana-dashboards
27 kafka-and-producers.json: |-
33 "datasource": "-- Grafana --",
36 "iconColor": "rgba(0, 211, 255, 1)",
37 "name": "Annotations & Alerts",
62 "hiddenSeries": false,
75 "nullPointMode": "null",
83 "seriesOverrides": [],
89 "expr": "sum(irate(container_network_transmit_bytes_total{pod=~\".*producer.*\"}[1m]))",
91 "legendFormat": "Total Transmit Producers",
95 "expr": "sum(irate(container_network_transmit_bytes_total{pod=~\".*kafka-.\"}[1m]))",
97 "legendFormat": "Total Transmit Kafka",
101 "expr": "irate(container_network_transmit_bytes_total{pod=~\".*producer.*\"}[1m])",
103 "legendFormat": "{{pod}}",
107 "expr": "irate(container_network_transmit_bytes_total{pod=~\".*kafka-.\"}[1m])",
109 "legendFormat": "{{pod}}",
117 "title": "Network Usage",
121 "value_type": "individual"
168 "hiddenSeries": false,
181 "nullPointMode": "null",
189 "seriesOverrides": [],
192 "steppedLine": false,
195 "expr": "sum(rate(container_network_transmit_bytes_total{pod=~\".*kafka-.|.*hv-ves-coll.*|.*producer.*\"}[1m]))",
198 "legendFormat": "Total transmit",
206 "title": "Total network usage (producers + hv-ves + kafka)",
210 "value_type": "individual"
257 "hiddenSeries": false,
270 "nullPointMode": "null",
278 "seriesOverrides": [],
281 "steppedLine": false,
284 "expr": "irate(container_network_receive_bytes_total{pod=~\"dep-dcae-hv-ves-collector.*\"}[1m])",
287 "legendFormat": "receive",
291 "expr": "irate(container_network_transmit_bytes_total{pod=~\"dep-dcae-hv-ves-collector.*\"}[1m])",
293 "legendFormat": "transmit",
301 "title": "HV-VES Network Usage",
305 "value_type": "individual"
353 "hiddenSeries": false,
366 "nullPointMode": "null",
374 "seriesOverrides": [],
377 "steppedLine": false,
380 "expr": "sum (rate (container_cpu_usage_seconds_total{pod=~\".*producer.*\"}[1m])) by (pod)",
382 "legendFormat": "{{pod}}",
386 "expr": "sum (rate (container_cpu_usage_seconds_total{pod=~\".*router-kafka.*\"}[1m])) by (pod)",
388 "legendFormat": "{{pod}}",
396 "title": "CPU usage",
400 "value_type": "individual"
447 "hiddenSeries": false,
460 "nullPointMode": "null",
468 "seriesOverrides": [],
471 "steppedLine": false,
474 "expr": "sum(container_memory_working_set_bytes{image!=\"\", pod=~\".*kafka-.\"}) by (pod)",
476 "legendFormat": "{{pod}}",
480 "expr": "sum (rate (container_cpu_usage_seconds_total{pod=~\".*router-kafka.*\"}[1m])) by (pod)",
483 "legendFormat": "{{pod}}",
491 "title": "Memory Usage",
495 "value_type": "individual"
507 "format": "decbytes",
538 "colorMode": "value",
563 "justifyMode": "auto",
564 "orientation": "auto"
566 "pluginVersion": "6.7.2",
569 "expr": "sum(container_network_transmit_packets_dropped_total{pod=~\".*producer.*\"})",
571 "legendFormat": "Packets dropped",
577 "title": "Packets Dropped (producers)",
590 "colorMode": "value",
615 "justifyMode": "auto",
616 "orientation": "auto"
618 "pluginVersion": "6.7.2",
621 "expr": "sum(container_network_transmit_packets_dropped_total{pod=~\".*hv-ves-collector.*\"})",
623 "legendFormat": "Packets dropped",
629 "title": "Packets Dropped (hv-ves)",
642 "colorMode": "value",
664 "justifyMode": "auto",
665 "orientation": "auto"
667 "pluginVersion": "6.7.2",
670 "expr": "sum(container_network_transmit_bytes_total{pod=~\".*producer.*\"})",
678 "title": "Sent (producers)",
682 "cacheTimeout": null,
693 "colorMode": "value",
708 "nullValueMode": "connected",
724 "justifyMode": "auto",
725 "orientation": "horizontal"
727 "pluginVersion": "6.7.2",
730 "expr": "container_network_receive_bytes_total{pod=~\".*hv-ves-collector.*\"}",
732 "legendFormat": "Packets dropped",
738 "title": "Received (hv-ves)",
754 "refresh_intervals": [
768 "title": "Kafka and Producers Statistics",