1 # Copyright 2021 Canonical Ltd.
3 # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 # not use this file except in compliance with the License. You may obtain
5 # a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 # License for the specific language governing permissions and limitations
15 # For those usages not covered by the Apache License, Version 2.0 please
16 # contact: legal@canonical.com
18 # To get in touch with the maintainers, please contact:
19 # osm-charmers@lists.launchpad.net
26 datasource: '-- Grafana --'
29 iconColor: 'rgba(0, 211, 255, 1)'
30 name: Annotations & Alerts
32 description: OSM status summary
37 iteration: 1577638384562
58 colorBackground: false
63 - 'rgba(237, 129, 40, 0.89)'
65 datasource: Prometheus
71 thresholdLabels: false
72 thresholdMarkers: true
88 nullPointMode: connected
102 fillColor: 'rgba(31, 118, 189, 0.18)'
104 lineColor: 'rgb(31, 120, 193)'
108 - expr: sum(kube_node_info)
124 colorBackground: false
128 - 'rgba(237, 129, 40, 0.89)'
130 datasource: Prometheus
136 thresholdLabels: false
137 thresholdMarkers: true
148 - name: value to text
150 - name: range to text
153 nullPointMode: connected
156 postfix: ' Pods Running'
165 fillColor: 'rgba(78, 203, 42, 0.28)'
171 - expr: sum(kube_pod_status_phase)
187 colorBackground: true
192 - 'rgba(237, 129, 40, 0.89)'
194 datasource: Prometheus
200 thresholdLabels: false
201 thresholdMarkers: true
212 - name: value to text
214 - name: range to text
217 nullPointMode: connected
220 postfix: ' Nodes Unavailable'
229 fillColor: 'rgba(31, 118, 189, 0.18)'
231 lineColor: 'rgb(31, 120, 193)'
236 sum(kube_node_info)-sum(kube_node_status_condition{condition="Ready",
252 colorBackground: true
256 - 'rgba(237, 129, 40, 0.89)'
258 datasource: Prometheus
264 thresholdLabels: false
265 thresholdMarkers: true
276 - name: value to text
278 - name: range to text
281 nullPointMode: connected
284 postfix: ' Pods not Ready'
293 fillColor: 'rgba(31, 118, 189, 0.18)'
295 lineColor: 'rgb(31, 120, 193)'
301 - expr: 'sum(kube_pod_status_phase{phase!="Running"})'
317 colorBackground: false
321 - 'rgba(237, 129, 40, 0.89)'
323 datasource: Prometheus
329 thresholdLabels: false
330 thresholdMarkers: true
341 - name: value to text
343 - name: range to text
346 nullPointMode: connected
358 fillColor: 'rgba(31, 118, 189, 0.18)'
360 lineColor: 'rgb(31, 120, 193)'
364 - expr: sum(kube_pod_info) / sum(kube_node_status_allocatable_pods)
368 thresholds: '0.7,0.85'
378 colorBackground: false
382 - 'rgba(237, 129, 40, 0.89)'
384 datasource: Prometheus
390 thresholdLabels: false
391 thresholdMarkers: true
402 - name: value to text
404 - name: range to text
407 nullPointMode: connected
419 fillColor: 'rgba(31, 118, 189, 0.18)'
421 lineColor: 'rgb(31, 120, 193)'
426 sum(kube_pod_container_resource_requests_cpu_cores) /
427 sum(kube_node_status_allocatable_cpu_cores)
432 thresholds: '0.7,0.85'
442 colorBackground: false
446 - 'rgba(237, 129, 40, 0.89)'
448 datasource: Prometheus
454 thresholdLabels: false
455 thresholdMarkers: true
466 - name: value to text
468 - name: range to text
471 nullPointMode: connected
483 fillColor: 'rgba(31, 118, 189, 0.18)'
485 lineColor: 'rgb(31, 120, 193)'
490 sum(kube_pod_container_resource_requests_memory_bytes) /
491 sum(kube_node_status_allocatable_memory_bytes)
496 thresholds: '0.7,0.85'
506 colorBackground: false
510 - 'rgba(237, 129, 40, 0.89)'
512 datasource: Prometheus
518 thresholdLabels: false
519 thresholdMarkers: true
530 - name: value to text
532 - name: range to text
535 nullPointMode: connected
547 fillColor: 'rgba(31, 118, 189, 0.18)'
549 lineColor: 'rgb(31, 120, 193)'
554 (sum (node_filesystem_size_bytes) - sum (node_filesystem_free_bytes))
555 / sum (node_filesystem_size_bytes)
560 thresholds: '0.7,0.85'
580 colorBackground: false
584 - 'rgba(237, 129, 40, 0.89)'
586 datasource: Prometheus
592 thresholdLabels: false
593 thresholdMarkers: false
604 - name: value to text
606 - name: range to text
609 nullPointMode: connected
621 fillColor: 'rgba(31, 118, 189, 0.18)'
623 lineColor: 'rgb(31, 120, 193)'
630 kube_statefulset_status_replicas_ready{namespace="osm",
631 statefulset="prometheus"}
646 colorBackground: false
650 - 'rgba(237, 129, 40, 0.89)'
652 datasource: Prometheus
659 thresholdLabels: false
660 thresholdMarkers: false
671 - name: value to text
673 - name: range to text
676 nullPointMode: connected
688 fillColor: 'rgba(31, 118, 189, 0.18)'
690 lineColor: 'rgb(31, 120, 193)'
697 kube_statefulset_status_replicas_ready{namespace="osm",
698 statefulset="mongodb-k8s"}
713 colorBackground: false
717 - 'rgba(237, 129, 40, 0.89)'
719 datasource: Prometheus
725 thresholdLabels: false
726 thresholdMarkers: false
737 - name: value to text
739 - name: range to text
742 nullPointMode: connected
754 fillColor: 'rgba(31, 118, 189, 0.18)'
756 lineColor: 'rgb(31, 120, 193)'
763 kube_statefulset_status_replicas_ready{namespace="osm",
779 colorBackground: false
783 - 'rgba(237, 129, 40, 0.89)'
785 datasource: Prometheus
791 thresholdLabels: false
792 thresholdMarkers: false
803 - name: value to text
805 - name: range to text
808 nullPointMode: connected
821 fillColor: 'rgba(31, 118, 189, 0.18)'
823 lineColor: 'rgb(31, 120, 193)'
829 - expr: 'kube_deployment_status_replicas_available{deployment="ro"}'
846 colorBackground: false
850 - 'rgba(237, 129, 40, 0.89)'
852 datasource: Prometheus
859 thresholdLabels: false
860 thresholdMarkers: false
871 - name: value to text
873 - name: range to text
876 nullPointMode: connected
888 fillColor: 'rgba(31, 118, 189, 0.18)'
890 lineColor: 'rgb(31, 120, 193)'
897 kube_statefulset_status_replicas_ready{namespace="osm",
898 statefulset="zookeeper"}
913 colorBackground: false
917 - 'rgba(237, 129, 40, 0.89)'
919 datasource: Prometheus
926 thresholdLabels: false
927 thresholdMarkers: false
938 - name: value to text
940 - name: range to text
943 nullPointMode: connected
955 fillColor: 'rgba(31, 118, 189, 0.18)'
957 lineColor: 'rgb(31, 120, 193)'
964 kube_statefulset_status_replicas_ready{namespace="osm",
980 colorBackground: false
984 - 'rgba(237, 129, 40, 0.89)'
986 datasource: Prometheus
992 thresholdLabels: false
993 thresholdMarkers: false
1004 - name: value to text
1006 - name: range to text
1009 nullPointMode: connected
1012 pluginVersion: 6.3.5
1014 postfixFontSize: 50%
1022 fillColor: 'rgba(31, 118, 189, 0.18)'
1024 lineColor: 'rgb(31, 120, 193)'
1030 - expr: 'kube_deployment_status_replicas_available{deployment="lcm"}'
1046 - cacheTimeout: null
1047 colorBackground: false
1051 - 'rgba(237, 129, 40, 0.89)'
1053 datasource: Prometheus
1059 thresholdLabels: false
1060 thresholdMarkers: false
1071 - name: value to text
1073 - name: range to text
1076 nullPointMode: connected
1079 pluginVersion: 6.3.5
1081 postfixFontSize: 50%
1089 fillColor: 'rgba(31, 118, 189, 0.18)'
1091 lineColor: 'rgb(31, 120, 193)'
1097 - expr: 'kube_deployment_status_replicas_available{deployment="ng-ui"}'
1111 - cacheTimeout: null
1112 colorBackground: false
1116 - 'rgba(237, 129, 40, 0.89)'
1118 datasource: Prometheus
1125 thresholdLabels: false
1126 thresholdMarkers: false
1137 - name: value to text
1139 - name: range to text
1142 nullPointMode: connected
1145 pluginVersion: 6.3.5
1147 postfixFontSize: 50%
1155 fillColor: 'rgba(31, 118, 189, 0.18)'
1157 lineColor: 'rgb(31, 120, 193)'
1163 - expr: 'kube_deployment_status_replicas_available{deployment="nbi"}'
1179 - cacheTimeout: null
1180 colorBackground: false
1184 - 'rgba(237, 129, 40, 0.89)'
1186 datasource: Prometheus
1192 thresholdLabels: false
1193 thresholdMarkers: false
1204 - name: value to text
1206 - name: range to text
1209 nullPointMode: connected
1212 pluginVersion: 6.3.5
1214 postfixFontSize: 50%
1222 fillColor: 'rgba(31, 118, 189, 0.18)'
1224 lineColor: 'rgb(31, 120, 193)'
1230 - expr: 'kube_deployment_status_replicas_available{deployment="pol"}'
1246 - cacheTimeout: null
1247 colorBackground: false
1251 - 'rgba(237, 129, 40, 0.89)'
1253 datasource: Prometheus
1259 thresholdLabels: false
1260 thresholdMarkers: false
1271 - name: value to text
1273 - name: range to text
1276 nullPointMode: connected
1279 pluginVersion: 6.3.5
1281 postfixFontSize: 50%
1289 fillColor: 'rgba(31, 118, 189, 0.18)'
1291 lineColor: 'rgb(31, 120, 193)'
1297 - expr: 'kube_deployment_status_replicas_available{deployment="mon"}'
1311 - cacheTimeout: null
1312 colorBackground: false
1316 - 'rgba(237, 129, 40, 0.89)'
1318 datasource: Prometheus
1324 thresholdLabels: false
1325 thresholdMarkers: false
1336 - name: value to text
1338 - name: range to text
1341 nullPointMode: connected
1344 pluginVersion: 6.3.5
1346 postfixFontSize: 50%
1354 fillColor: 'rgba(31, 118, 189, 0.18)'
1356 lineColor: 'rgb(31, 120, 193)'
1362 - expr: 'kube_deployment_status_replicas_available{deployment="keystone"}'
1378 - datasource: Prometheus
1401 nullPointMode: 'null'
1414 sum(namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{namespace="osm"})
1418 legendFormat: '{{pod}}'
1424 title: Pod CPU Usage
1428 value_type: individual
1452 - datasource: Prometheus
1475 nullPointMode: 'null'
1488 sum(container_memory_working_set_bytes{namespace="osm",
1489 container!=""}) by (pod)
1491 legendFormat: '{{pod}}'
1497 title: Pod Memory Usage
1501 value_type: individual
1525 - cacheTimeout: null
1539 pluginVersion: 6.3.5
1549 - cacheTimeout: null
1551 '<h2 style="text-align: center;"></p>'
1563 pluginVersion: 6.3.5
1580 text: No data sources found
1619 title: OSM Status Summary