Adding OSM Monitoring dashboards to Grafana charm
[osm/devops.git] / installers / charm / grafana / files / nodes_exporter_dashboard.yaml
1 # Copyright 2021 Canonical Ltd.
2 #
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
6 #
7 #         http://www.apache.org/licenses/LICENSE-2.0
8 #
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
13 # under the License.
14 #
15 # For those usages not covered by the Apache License, Version 2.0 please
16 # contact: legal@canonical.com
17 #
18 # To get in touch with the maintainers, please contact:
19 # osm-charmers@lists.launchpad.net
20 ##
21
22 ---
23 annotations:
24   list:
25     - builtIn: 1
26       datasource: '-- Grafana --'
27       enable: true
28       hide: true
29       iconColor: 'rgba(0, 211, 255, 1)'
30       name: Annotations & Alerts
31       type: dashboard
32 description: Physical nodes dashboard
33 editable: true
34 gnetId: 11074
35 graphTooltip: 0
36 id: 12
37 iteration: 1577553366915
38 links: []
39 panels:
40   - collapsed: true
41     gridPos:
42       h: 1
43       w: 24
44       x: 0
45       'y': 0
46     id: 179
47     panels:
48       - cacheTimeout: null
49         colorBackground: false
50         colorPostfix: false
51         colorPrefix: false
52         colorValue: true
53         colors:
54           - 'rgba(245, 54, 54, 0.9)'
55           - 'rgba(237, 129, 40, 0.89)'
56           - 'rgba(50, 172, 45, 0.97)'
57         datasource: Prometheus
58         decimals: 1
59         description: ''
60         format: s
61         gauge:
62           maxValue: 100
63           minValue: 0
64           show: false
65           thresholdLabels: false
66           thresholdMarkers: true
67         gridPos:
68           h: 6
69           w: 2
70           x: 0
71           'y': 1
72         hideTimeOverride: true
73         id: 15
74         interval: null
75         links: []
76         mappingType: 1
77         mappingTypes:
78           - name: value to text
79             value: 1
80           - name: range to text
81             value: 2
82         maxDataPoints: 100
83         nullPointMode: 'null'
84         nullText: null
85         options: {}
86         pluginVersion: 6.4.2
87         postfix: ''
88         postfixFontSize: 50%
89         prefix: ''
90         prefixFontSize: 50%
91         rangeMaps:
92           - from: 'null'
93             text: N/A
94             to: 'null'
95         sparkline:
96           fillColor: 'rgba(31, 118, 189, 0.18)'
97           full: false
98           lineColor: 'rgb(31, 120, 193)'
99           show: false
100         tableColumn: ''
101         targets:
102           - expr: 'sum(time() - node_boot_time_seconds{instance=~"$node"})'
103             format: time_series
104             hide: false
105             instant: true
106             intervalFactor: 1
107             refId: A
108             step: 40
109         thresholds: '1,2'
110         title: System Uptime
111         type: singlestat
112         valueFontSize: 70%
113         valueMaps:
114           - op: '='
115             text: N/A
116             value: 'null'
117         valueName: current
118       - cacheTimeout: null
119         colorBackground: false
120         colorPostfix: false
121         colorValue: true
122         colors:
123           - 'rgba(245, 54, 54, 0.9)'
124           - 'rgba(237, 129, 40, 0.89)'
125           - 'rgba(50, 172, 45, 0.97)'
126         datasource: Prometheus
127         description: ''
128         format: short
129         gauge:
130           maxValue: 100
131           minValue: 0
132           show: false
133           thresholdLabels: false
134           thresholdMarkers: true
135         gridPos:
136           h: 6
137           w: 2
138           x: 2
139           'y': 1
140         id: 14
141         interval: null
142         links: []
143         mappingType: 1
144         mappingTypes:
145           - name: value to text
146             value: 1
147           - name: range to text
148             value: 2
149         maxDataPoints: 100
150         maxPerRow: 6
151         nullPointMode: 'null'
152         nullText: null
153         options: {}
154         postfix: ''
155         postfixFontSize: 50%
156         prefix: ''
157         prefixFontSize: 50%
158         rangeMaps:
159           - from: 'null'
160             text: N/A
161             to: 'null'
162         sparkline:
163           fillColor: 'rgba(31, 118, 189, 0.18)'
164           full: false
165           lineColor: 'rgb(31, 120, 193)'
166           show: false
167         tableColumn: ''
168         targets:
169           - expr: >-
170               sum(count(node_cpu_seconds_total{instance=~"$node",
171               mode='system'}) by (cpu))
172             format: time_series
173             instant: true
174             intervalFactor: 1
175             legendFormat: ''
176             refId: A
177             step: 20
178         thresholds: '1,2'
179         title: CPU Cores
180         type: singlestat
181         valueFontSize: 70%
182         valueMaps:
183           - op: '='
184             text: N/A
185             value: 'null'
186         valueName: current
187       - cacheTimeout: null
188         colorBackground: false
189         colorValue: true
190         colors:
191           - 'rgba(245, 54, 54, 0.9)'
192           - 'rgba(237, 129, 40, 0.89)'
193           - 'rgba(50, 172, 45, 0.97)'
194         datasource: Prometheus
195         decimals: 2
196         description: ''
197         format: bytes
198         gauge:
199           maxValue: 100
200           minValue: 0
201           show: false
202           thresholdLabels: false
203           thresholdMarkers: true
204         gridPos:
205           h: 6
206           w: 2
207           x: 4
208           'y': 1
209         id: 75
210         interval: null
211         links: []
212         mappingType: 1
213         mappingTypes:
214           - name: value to text
215             value: 1
216           - name: range to text
217             value: 2
218         maxDataPoints: 100
219         maxPerRow: 6
220         nullPointMode: 'null'
221         nullText: null
222         options: {}
223         postfix: ''
224         postfixFontSize: 70%
225         prefix: ''
226         prefixFontSize: 50%
227         rangeMaps:
228           - from: 'null'
229             text: N/A
230             to: 'null'
231         sparkline:
232           fillColor: 'rgba(31, 118, 189, 0.18)'
233           full: false
234           lineColor: 'rgb(31, 120, 193)'
235           show: false
236         tableColumn: ''
237         targets:
238           - expr: 'sum(node_memory_MemTotal_bytes{instance=~"$node"})'
239             format: time_series
240             instant: true
241             intervalFactor: 1
242             legendFormat: '{{instance}}'
243             refId: A
244             step: 20
245         thresholds: '2,3'
246         title: Total RAM
247         type: singlestat
248         valueFontSize: 70%
249         valueMaps:
250           - op: '='
251             text: N/A
252             value: 'null'
253         valueName: current
254       - datasource: Prometheus
255         gridPos:
256           h: 6
257           w: 18
258           x: 6
259           'y': 1
260         id: 177
261         options:
262           displayMode: lcd
263           fieldOptions:
264             calcs:
265               - last
266             defaults:
267               mappings:
268                 - from: ''
269                   id: 1
270                   operator: ''
271                   text: '-'
272                   to: ''
273                   type: 1
274                   value: NaN
275               max: 100
276               min: 0
277               thresholds:
278                 - color: green
279                   value: null
280                 - color: '#EAB839'
281                   value: 60
282                 - color: red
283                   value: 80
284               title: ''
285               unit: percent
286             override: {}
287             values: false
288           orientation: horizontal
289         pluginVersion: 6.3.5
290         targets:
291           - expr: >-
292               100 -
293               (avg(irate(node_cpu_seconds_total{instance=~"$node",mode="idle"}[30m]))
294               * 100)
295             instant: true
296             legendFormat: CPU Busy
297             refId: A
298           - expr: >-
299               avg(irate(node_cpu_seconds_total{instance=~"$node",mode="iowait"}[30m]))
300               * 100
301             hide: true
302             instant: true
303             legendFormat: Busy Iowait
304             refId: C
305           - expr: >-
306               (1 - (node_memory_MemAvailable_bytes{instance=~"$node"} /
307               (node_memory_MemTotal_bytes{instance=~"$node"})))* 100
308             instant: true
309             legendFormat: Used RAM Memory
310             refId: B
311           - expr: >-
312               100 -
313               ((node_filesystem_avail_bytes{instance=~"$node",mountpoint="$maxmount",fstype=~"ext4|xfs"}
314               * 100) / node_filesystem_size_bytes
315               {instance=~"$node",mountpoint="$maxmount",fstype=~"ext4|xfs"})
316             hide: false
317             instant: true
318             legendFormat: Used Max Mount($maxmount)
319             refId: D
320           - expr: >-
321               (1 - (node_memory_SwapFree_bytes{instance=~"$node"} /
322               node_memory_SwapTotal_bytes{instance=~"$node"})) * 100
323             instant: true
324             legendFormat: Used SWAP
325             refId: E
326         timeFrom: null
327         timeShift: null
328         title: ''
329         type: bargauge
330     title: Summary
331     type: row
332   - collapsed: true
333     gridPos:
334       h: 1
335       w: 24
336       x: 0
337       'y': 1
338     id: 181
339     panels:
340       - aliasColors:
341           15分钟: '#6ED0E0'
342           1分钟: '#BF1B00'
343           5分钟: '#CCA300'
344         bars: false
345         dashLength: 10
346         dashes: false
347         datasource: Prometheus
348         editable: true
349         error: false
350         fill: 1
351         fillGradient: 1
352         grid: {}
353         gridPos:
354           h: 10
355           w: 12
356           x: 0
357           'y': 8
358         height: '300'
359         id: 13
360         legend:
361           alignAsTable: true
362           avg: true
363           current: true
364           max: true
365           min: false
366           rightSide: false
367           show: true
368           total: false
369           values: true
370         lines: true
371         linewidth: 2
372         links: []
373         maxPerRow: 6
374         nullPointMode: null as zero
375         options:
376           dataLinks: []
377         percentage: false
378         pointradius: 5
379         points: false
380         renderer: flot
381         repeat: null
382         seriesOverrides: []
383         spaceLength: 10
384         stack: false
385         steppedLine: false
386         targets:
387           - expr: 'node_load1{instance=~"$node"}'
388             format: time_series
389             instant: false
390             interval: ''
391             intervalFactor: 1
392             legendFormat: '{{instance}}_1m'
393             metric: ''
394             refId: A
395             step: 20
396             target: ''
397           - expr: 'node_load5{instance=~"$node"}'
398             format: time_series
399             instant: false
400             interval: ''
401             intervalFactor: 1
402             legendFormat: '{{instance}}_5m'
403             refId: B
404             step: 20
405           - expr: 'node_load15{instance=~"$node"}'
406             format: time_series
407             instant: false
408             interval: ''
409             intervalFactor: 1
410             legendFormat: '{{instance}}_15m'
411             refId: C
412             step: 20
413         thresholds: []
414         timeFrom: null
415         timeRegions: []
416         timeShift: null
417         title: System Load
418         tooltip:
419           msResolution: false
420           shared: true
421           sort: 2
422           value_type: cumulative
423         type: graph
424         xaxis:
425           buckets: null
426           mode: time
427           name: null
428           show: true
429           values: []
430         yaxes:
431           - format: short
432             logBase: 1
433             max: null
434             min: null
435             show: true
436           - format: short
437             logBase: 1
438             max: null
439             min: null
440             show: true
441         yaxis:
442           align: false
443           alignLevel: null
444       - aliasColors:
445           '192.168.200.241:9100_Total': dark-red
446           Idle - Waiting for something to happen: '#052B51'
447           guest: '#9AC48A'
448           idle: '#052B51'
449           iowait: '#EAB839'
450           irq: '#BF1B00'
451           nice: '#C15C17'
452           softirq: '#E24D42'
453           steal: '#FCE2DE'
454           system: '#508642'
455           user: '#5195CE'
456         bars: false
457         dashLength: 10
458         dashes: false
459         datasource: Prometheus
460         decimals: 2
461         description: ''
462         fill: 1
463         fillGradient: 0
464         gridPos:
465           h: 10
466           w: 12
467           x: 12
468           'y': 8
469         id: 7
470         legend:
471           alignAsTable: true
472           avg: true
473           current: true
474           hideEmpty: true
475           hideZero: true
476           max: true
477           min: false
478           rightSide: false
479           show: true
480           sideWidth: null
481           sort: current
482           sortDesc: true
483           total: false
484           values: true
485         lines: true
486         linewidth: 2
487         links: []
488         maxPerRow: 6
489         nullPointMode: 'null'
490         options:
491           dataLinks: []
492         percentage: false
493         pointradius: 5
494         points: false
495         renderer: flot
496         repeat: null
497         seriesOverrides:
498           - alias: /.*_Total/
499             color: '#C4162A'
500             fill: 0
501         spaceLength: 10
502         stack: false
503         steppedLine: false
504         targets:
505           - expr: >-
506               avg(irate(node_cpu_seconds_total{instance=~"$node",mode="system"}[30m]))
507               by (instance)
508             format: time_series
509             hide: false
510             instant: false
511             interval: ''
512             intervalFactor: 1
513             legendFormat: '{{instance}}_System'
514             refId: A
515             step: 20
516           - expr: >-
517               avg(irate(node_cpu_seconds_total{instance=~"$node",mode="user"}[30m]))
518               by (instance)
519             format: time_series
520             hide: false
521             intervalFactor: 1
522             legendFormat: '{{instance}}_User'
523             refId: B
524             step: 240
525           - expr: >-
526               avg(irate(node_cpu_seconds_total{instance=~"$node",mode="iowait"}[30m]))
527               by (instance)
528             format: time_series
529             hide: false
530             instant: false
531             intervalFactor: 1
532             legendFormat: '{{instance}}_Iowait'
533             refId: D
534             step: 240
535           - expr: >-
536               1 -
537               avg(irate(node_cpu_seconds_total{instance=~"$node",mode="idle"}[30m]))
538               by (instance)
539             format: time_series
540             hide: false
541             intervalFactor: 1
542             legendFormat: '{{instance}}_Total'
543             refId: F
544             step: 240
545         thresholds: []
546         timeFrom: null
547         timeRegions: []
548         timeShift: null
549         title: CPU
550         tooltip:
551           shared: true
552           sort: 2
553           value_type: individual
554         type: graph
555         xaxis:
556           buckets: null
557           mode: time
558           name: null
559           show: true
560           values: []
561         yaxes:
562           - decimals: 2
563             format: percentunit
564             label: ''
565             logBase: 1
566             max: null
567             min: null
568             show: true
569           - format: short
570             label: null
571             logBase: 1
572             max: null
573             min: null
574             show: false
575         yaxis:
576           align: false
577           alignLevel: null
578     title: CPU
579     type: row
580   - collapsed: true
581     gridPos:
582       h: 1
583       w: 24
584       x: 0
585       'y': 2
586     id: 183
587     panels:
588       - columns: []
589         datasource: Prometheus
590         fontSize: 110%
591         gridPos:
592           h: 8
593           w: 8
594           x: 0
595           'y': 3
596         id: 164
597         links: []
598         options: {}
599         pageSize: null
600         scroll: true
601         showHeader: true
602         sort:
603           col: 11
604           desc: true
605         styles:
606           - alias: Mounted on
607             colorMode: null
608             colors:
609               - 'rgba(50, 172, 45, 0.97)'
610               - 'rgba(237, 129, 40, 0.89)'
611               - 'rgba(245, 54, 54, 0.9)'
612             dateFormat: 'YYYY-MM-DD HH:mm:ss'
613             decimals: 2
614             mappingType: 1
615             pattern: mountpoint
616             thresholds:
617               - ''
618             type: string
619             unit: bytes
620           - alias: Avail
621             colorMode: value
622             colors:
623               - 'rgba(245, 54, 54, 0.9)'
624               - 'rgba(237, 129, 40, 0.89)'
625               - 'rgba(50, 172, 45, 0.97)'
626             dateFormat: 'YYYY-MM-DD HH:mm:ss'
627             decimals: 2
628             mappingType: 1
629             pattern: 'Value #A'
630             thresholds:
631               - '10000000000'
632               - '20000000000'
633             type: number
634             unit: bytes
635           - alias: Used
636             colorMode: cell
637             colors:
638               - 'rgba(50, 172, 45, 0.97)'
639               - 'rgba(237, 129, 40, 0.89)'
640               - 'rgba(245, 54, 54, 0.9)'
641             dateFormat: 'YYYY-MM-DD HH:mm:ss'
642             decimals: 2
643             mappingType: 1
644             pattern: 'Value #B'
645             thresholds:
646               - '0.6'
647               - '0.8'
648             type: number
649             unit: percentunit
650           - alias: Size
651             colorMode: null
652             colors:
653               - 'rgba(245, 54, 54, 0.9)'
654               - 'rgba(237, 129, 40, 0.89)'
655               - 'rgba(50, 172, 45, 0.97)'
656             dateFormat: 'YYYY-MM-DD HH:mm:ss'
657             decimals: 1
658             link: false
659             mappingType: 1
660             pattern: 'Value #C'
661             thresholds: []
662             type: number
663             unit: bytes
664           - alias: Filesystem
665             colorMode: null
666             colors:
667               - 'rgba(245, 54, 54, 0.9)'
668               - 'rgba(237, 129, 40, 0.89)'
669               - 'rgba(50, 172, 45, 0.97)'
670             dateFormat: 'YYYY-MM-DD HH:mm:ss'
671             decimals: 2
672             link: false
673             mappingType: 1
674             pattern: fstype
675             thresholds: []
676             type: string
677             unit: short
678           - alias: ''
679             colorMode: null
680             colors:
681               - 'rgba(245, 54, 54, 0.9)'
682               - 'rgba(237, 129, 40, 0.89)'
683               - 'rgba(50, 172, 45, 0.97)'
684             decimals: 2
685             pattern: /.*/
686             preserveFormat: true
687             sanitize: false
688             thresholds: []
689             type: hidden
690             unit: short
691         targets:
692           - expr: >-
693               node_filesystem_avail_bytes
694               {instance=~'$node',fstype=~"ext4|xfs"}-0
695             format: table
696             hide: false
697             instant: true
698             interval: 10s
699             intervalFactor: 1
700             legendFormat: ''
701             refId: A
702           - expr: >-
703               1-(node_filesystem_free_bytes{instance=~'$node',fstype=~"ext4|xfs"}
704               /
705               node_filesystem_size_bytes{instance=~'$node',fstype=~"ext4|xfs"})
706             format: table
707             hide: false
708             instant: true
709             intervalFactor: 1
710             legendFormat: ''
711             refId: B
712           - expr: >-
713               'node_filesystem_size_bytes{instance=~''$node'',fstype=~"ext4|xfs"}-0'
714             format: table
715             hide: false
716             instant: true
717             intervalFactor: 1
718             legendFormat: ''
719             refId: C
720         title: Disk Space Used  (EXT4/XFS)
721         transform: table
722         type: table
723       - aliasColors:
724           vda_write: '#6ED0E0'
725         bars: false
726         dashLength: 10
727         dashes: false
728         datasource: Prometheus
729         description: 'Per second read / write bytes '
730         fill: 1
731         fillGradient: 1
732         gridPos:
733           h: 8
734           w: 8
735           x: 8
736           'y': 3
737         height: '300'
738         id: 168
739         legend:
740           alignAsTable: true
741           avg: true
742           current: true
743           hideEmpty: true
744           hideZero: true
745           max: true
746           min: false
747           show: true
748           sort: current
749           sortDesc: true
750           total: false
751           values: true
752         lines: true
753         linewidth: 2
754         links: []
755         nullPointMode: 'null'
756         options:
757           dataLinks: []
758         percentage: false
759         pointradius: 5
760         points: false
761         renderer: flot
762         seriesOverrides:
763           - alias: /.*_Read bytes$/
764             transform: negative-Y
765         spaceLength: 10
766         stack: false
767         steppedLine: false
768         targets:
769           - expr: 'irate(node_disk_read_bytes_total{instance=~"$node"}[30m])'
770             format: time_series
771             interval: ''
772             intervalFactor: 1
773             legendFormat: '{{instance}}_{{device}}_Read bytes'
774             refId: A
775             step: 10
776           - expr: 'irate(node_disk_written_bytes_total{instance=~"$node"}[30m])'
777             format: time_series
778             hide: false
779             intervalFactor: 1
780             legendFormat: '{{instance}}_{{device}}_Written bytes'
781             refId: B
782             step: 10
783         thresholds: []
784         timeFrom: null
785         timeRegions: []
786         timeShift: null
787         title: Disk R/W Data
788         tooltip:
789           shared: true
790           sort: 2
791           value_type: individual
792         type: graph
793         xaxis:
794           buckets: null
795           mode: time
796           name: null
797           show: true
798           values: []
799         yaxes:
800           - decimals: null
801             format: Bps
802             label: Bytes read (-) / write (+)
803             logBase: 1
804             max: null
805             min: null
806             show: true
807           - format: short
808             label: null
809             logBase: 1
810             max: null
811             min: null
812             show: false
813         yaxis:
814           align: false
815           alignLevel: null
816       - aliasColors:
817           Idle - Waiting for something to happen: '#052B51'
818           guest: '#9AC48A'
819           idle: '#052B51'
820           iowait: '#EAB839'
821           irq: '#BF1B00'
822           nice: '#C15C17'
823           "sdb_æ¯\x8F秒I/Oæ“\x8D作%": '#d683ce'
824           softirq: '#E24D42'
825           steal: '#FCE2DE'
826           system: '#508642'
827           user: '#5195CE'
828           "ç£\x81盘花费在I/Oæ“\x8D作å\x8D æ¯”": '#ba43a9'
829         bars: false
830         dashLength: 10
831         dashes: false
832         datasource: Prometheus
833         decimals: null
834         description: >-
835           The time spent on I/O in the natural time of each second.(wall-clock
836           time)
837         fill: 1
838         fillGradient: 5
839         gridPos:
840           h: 8
841           w: 8
842           x: 16
843           'y': 3
844         id: 175
845         legend:
846           alignAsTable: true
847           avg: true
848           current: true
849           hideEmpty: true
850           hideZero: true
851           max: true
852           min: false
853           rightSide: false
854           show: true
855           sideWidth: null
856           sort: null
857           sortDesc: null
858           total: false
859           values: true
860         lines: true
861         linewidth: 2
862         links: []
863         maxPerRow: 6
864         nullPointMode: 'null'
865         options:
866           dataLinks: []
867         percentage: false
868         pointradius: 5
869         points: false
870         renderer: flot
871         seriesOverrides: []
872         spaceLength: 10
873         stack: false
874         steppedLine: false
875         targets:
876           - expr: >-
877               'irate(node_disk_io_time_seconds_total{instance=~"$node"}[30m])'
878             format: time_series
879             intervalFactor: 1
880             legendFormat: '{{instance}}_{{device}}_ IO time'
881             refId: C
882         thresholds: []
883         timeFrom: null
884         timeRegions: []
885         timeShift: null
886         title: Time Spent Doing I/Os
887         tooltip:
888           shared: true
889           sort: 2
890           value_type: individual
891         type: graph
892         xaxis:
893           buckets: null
894           mode: time
895           name: null
896           show: true
897           values: []
898         yaxes:
899           - decimals: null
900             format: s
901             label: ''
902             logBase: 1
903             max: null
904             min: null
905             show: true
906           - format: short
907             label: null
908             logBase: 1
909             max: null
910             min: null
911             show: false
912         yaxis:
913           align: false
914           alignLevel: null
915     title: Disk
916     type: row
917   - collapsed: true
918     gridPos:
919       h: 1
920       w: 24
921       x: 0
922       'y': 3
923     id: 185
924     panels:
925       - bars: false
926         dashLength: 10
927         dashes: false
928         datasource: Prometheus
929         decimals: 2
930         fill: 1
931         fillGradient: 0
932         gridPos:
933           h: 8
934           w: 24
935           x: 0
936           'y': 28
937         height: '300'
938         id: 156
939         legend:
940           alignAsTable: true
941           avg: false
942           current: true
943           max: false
944           min: false
945           rightSide: false
946           show: true
947           sort: current
948           sortDesc: true
949           total: false
950           values: true
951         lines: true
952         linewidth: 2
953         links: []
954         nullPointMode: 'null'
955         options:
956           dataLinks: []
957         percentage: false
958         pointradius: 5
959         points: false
960         renderer: flot
961         seriesOverrides:
962           - alias: /.*_Total/
963             color: '#C4162A'
964             fill: 0
965         spaceLength: 10
966         stack: false
967         steppedLine: false
968         targets:
969           - expr: 'node_memory_MemTotal_bytes{instance=~"$node"}'
970             format: time_series
971             hide: false
972             instant: false
973             intervalFactor: 1
974             legendFormat: '{{instance}}_Total'
975             refId: A
976             step: 4
977           - expr: >-
978               node_memory_MemTotal_bytes{instance=~"$node"} -
979               node_memory_MemAvailable_bytes{instance=~"$node"}
980             format: time_series
981             hide: false
982             intervalFactor: 1
983             legendFormat: '{{instance}}_Used'
984             refId: B
985             step: 4
986           - expr: 'node_memory_MemAvailable_bytes{instance=~"$node"}'
987             format: time_series
988             hide: false
989             interval: ''
990             intervalFactor: 1
991             legendFormat: '{{instance}}_Avaliable'
992             refId: F
993             step: 4
994         thresholds: []
995         timeFrom: null
996         timeRegions: []
997         timeShift: null
998         title: Memory
999         tooltip:
1000           shared: true
1001           sort: 2
1002           value_type: individual
1003         type: graph
1004         xaxis:
1005           buckets: null
1006           mode: time
1007           name: null
1008           show: true
1009           values: []
1010         yaxes:
1011           - format: bytes
1012             label: null
1013             logBase: 1
1014             max: null
1015             min: '0'
1016             show: true
1017           - format: short
1018             label: null
1019             logBase: 1
1020             max: null
1021             min: null
1022             show: true
1023         yaxis:
1024           align: false
1025           alignLevel: null
1026     title: Memory
1027     type: row
1028   - collapsed: true
1029     gridPos:
1030       h: 1
1031       w: 24
1032       x: 0
1033       'y': 4
1034     id: 187
1035     panels:
1036       - bars: false
1037         dashLength: 10
1038         dashes: false
1039         datasource: Prometheus
1040         fill: 1
1041         fillGradient: 3
1042         gridPos:
1043           h: 12
1044           w: 12
1045           x: 0
1046           'y': 29
1047         height: '300'
1048         id: 157
1049         legend:
1050           alignAsTable: true
1051           avg: false
1052           current: true
1053           hideEmpty: true
1054           hideZero: true
1055           max: true
1056           min: false
1057           rightSide: false
1058           show: true
1059           sort: current
1060           sortDesc: true
1061           total: false
1062           values: true
1063         lines: true
1064         linewidth: 2
1065         links: []
1066         nullPointMode: 'null'
1067         options:
1068           dataLinks: []
1069         percentage: false
1070         pointradius: 2
1071         points: false
1072         renderer: flot
1073         seriesOverrides:
1074           - alias: /.*_transmit$/
1075             transform: negative-Y
1076         spaceLength: 10
1077         stack: false
1078         steppedLine: false
1079         targets:
1080           - expr: >-
1081               irate(node_network_receive_bytes_total{instance=~'$node',device!~'tap.*|veth.*|br.*|docker.*|virbr*|lo*'}[30m])*8
1082             format: time_series
1083             intervalFactor: 1
1084             legendFormat: '{{instance}}_{{device}}_receive'
1085             refId: A
1086             step: 4
1087           - expr: >-
1088               irate(node_network_transmit_bytes_total{instance=~'$node',device!~'tap.*|veth.*|br.*|docker.*|virbr*|lo*'}[30m])*8
1089             format: time_series
1090             intervalFactor: 1
1091             legendFormat: '{{instance}}_{{device}}_transmit'
1092             refId: B
1093             step: 4
1094         thresholds: []
1095         timeFrom: null
1096         timeRegions: []
1097         timeShift: null
1098         title: Network Traffic
1099         tooltip:
1100           shared: true
1101           sort: 2
1102           value_type: individual
1103         type: graph
1104         xaxis:
1105           buckets: null
1106           mode: time
1107           name: null
1108           show: true
1109           values: []
1110         yaxes:
1111           - format: bps
1112             label: transmit(-)/receive(+)
1113             logBase: 1
1114             max: null
1115             min: null
1116             show: true
1117           - format: short
1118             label: null
1119             logBase: 1
1120             max: null
1121             min: null
1122             show: false
1123         yaxis:
1124           align: false
1125           alignLevel: null
1126       - aliasColors:
1127           TCP: '#6ED0E0'
1128         bars: false
1129         dashLength: 10
1130         dashes: false
1131         datasource: Prometheus
1132         description: >-
1133           TCP_alloc - Allocated sockets
1134
1135
1136           CurrEstab - TCP connections for which the current state is either
1137           ESTABLISHED or CLOSE- WAIT
1138
1139
1140           TCP_tw - Sockets wating close
1141
1142
1143           UDP_inuse - Udp sockets currently in use
1144
1145
1146           Sockets_used - Sockets currently in use
1147         fill: 1
1148         fillGradient: 0
1149         gridPos:
1150           h: 12
1151           w: 12
1152           x: 12
1153           'y': 29
1154         height: '300'
1155         id: 158
1156         interval: ''
1157         legend:
1158           alignAsTable: true
1159           avg: true
1160           current: true
1161           hideEmpty: true
1162           hideZero: true
1163           max: true
1164           min: false
1165           rightSide: false
1166           show: true
1167           sort: current
1168           sortDesc: true
1169           total: false
1170           values: true
1171         lines: true
1172         linewidth: 2
1173         links: []
1174         nullPointMode: 'null'
1175         options:
1176           dataLinks: []
1177         percentage: false
1178         pointradius: 5
1179         points: false
1180         renderer: flot
1181         seriesOverrides:
1182           - alias: /.*_Sockets_used/
1183             color: '#C4162A'
1184             fill: 0
1185         spaceLength: 10
1186         stack: false
1187         steppedLine: false
1188         targets:
1189           - expr: 'node_netstat_Tcp_CurrEstab{instance=~''$node''}'
1190             format: time_series
1191             hide: false
1192             instant: false
1193             interval: ''
1194             intervalFactor: 1
1195             legendFormat: '{{instance}}_CurrEstab'
1196             refId: A
1197             step: 20
1198           - expr: 'node_sockstat_TCP_tw{instance=~''$node''}'
1199             format: time_series
1200             intervalFactor: 1
1201             legendFormat: '{{instance}}_TCP_tw'
1202             refId: D
1203           - expr: 'node_sockstat_sockets_used{instance=~''$node''}'
1204             legendFormat: '{{instance}}_Sockets_used'
1205             refId: B
1206           - expr: 'node_sockstat_UDP_inuse{instance=~''$node''}'
1207             legendFormat: '{{instance}}_UDP_inuse'
1208             refId: C
1209           - expr: 'node_sockstat_TCP_alloc{instance=~''$node''}'
1210             legendFormat: '{{instance}}_TCP_alloc'
1211             refId: E
1212         thresholds: []
1213         timeFrom: null
1214         timeRegions: []
1215         timeShift: null
1216         title: Network Sockstat
1217         tooltip:
1218           shared: true
1219           sort: 2
1220           value_type: individual
1221         type: graph
1222         xaxis:
1223           buckets: null
1224           mode: time
1225           name: null
1226           show: true
1227           values: []
1228         yaxes:
1229           - format: short
1230             label: null
1231             logBase: 1
1232             max: null
1233             min: null
1234             show: true
1235           - format: short
1236             label: null
1237             logBase: 1
1238             max: null
1239             min: null
1240             show: true
1241         yaxis:
1242           align: false
1243           alignLevel: null
1244     title: Network
1245     type: row
1246 refresh: false
1247 schemaVersion: 19
1248 style: dark
1249 tags: []
1250 templating:
1251   list:
1252     - allValue: null
1253       current:
1254         text: node-exporter
1255         value: node-exporter
1256       datasource: Prometheus
1257       definition: 'label_values(node_uname_info, job)'
1258       hide: 0
1259       includeAll: false
1260       label: JOB
1261       multi: false
1262       name: job
1263       options: []
1264       query: 'label_values(node_uname_info, job)'
1265       refresh: 1
1266       regex: ''
1267       skipUrlSync: false
1268       sort: 1
1269       tagValuesQuery: ''
1270       tags: []
1271       tagsQuery: ''
1272       type: query
1273       useTags: false
1274     - allValue: null
1275       current:
1276         text: All
1277         value: $__all
1278       datasource: Prometheus
1279       definition: 'label_values(node_uname_info{job=~"$job"}, nodename)'
1280       hide: 0
1281       includeAll: true
1282       label: Host
1283       multi: true
1284       name: hostname
1285       options: []
1286       query: 'label_values(node_uname_info{job=~"$job"}, nodename)'
1287       refresh: 1
1288       regex: ''
1289       skipUrlSync: false
1290       sort: 0
1291       tagValuesQuery: ''
1292       tags: []
1293       tagsQuery: ''
1294       type: query
1295       useTags: false
1296     - allFormat: glob
1297       allValue: null
1298       current:
1299         tags: []
1300         text: All
1301         value: $__all
1302       datasource: Prometheus
1303       definition: >-
1304         'label_values(node_uname_info{nodename=~"$hostname"},instance)'
1305       hide: 0
1306       includeAll: true
1307       label: IP
1308       multi: false
1309       multiFormat: regex values
1310       name: node
1311       options: []
1312       query: 'label_values(node_uname_info{nodename=~"$hostname"},instance)'
1313       refresh: 2
1314       regex: ''
1315       skipUrlSync: false
1316       sort: 1
1317       tagValuesQuery: ''
1318       tags: []
1319       tagsQuery: ''
1320       type: query
1321       useTags: false
1322     - allValue: null
1323       current:
1324         text: /
1325         value: /
1326       datasource: Prometheus
1327       definition: ''
1328       hide: 2
1329       includeAll: false
1330       label: ''
1331       multi: false
1332       name: maxmount
1333       options: []
1334       query: >-
1335         query_result(topk(1,sort_desc
1336         (max(node_filesystem_size_bytes{instance=~'$node',fstype=~"ext4|xfs"})
1337         by (mountpoint))))
1338       refresh: 2
1339       regex: /.*\"(.*)\".*/
1340       skipUrlSync: false
1341       sort: 0
1342       tagValuesQuery: ''
1343       tags: []
1344       tagsQuery: ''
1345       type: query
1346       useTags: false
1347     - allFormat: glob
1348       allValue: null
1349       current:
1350         isNone: true
1351         text: None
1352         value: ''
1353       datasource: Prometheus
1354       definition: ''
1355       hide: 2
1356       includeAll: false
1357       multi: false
1358       multiFormat: regex values
1359       name: env
1360       options: []
1361       query: 'label_values(node_exporter_build_info,env)'
1362       refresh: 2
1363       regex: ''
1364       skipUrlSync: false
1365       sort: 1
1366       tagValuesQuery: ''
1367       tags: []
1368       tagsQuery: ''
1369       type: query
1370       useTags: false
1371     - allFormat: glob
1372       allValue: ''
1373       current:
1374         isNone: true
1375         text: None
1376         value: ''
1377       datasource: Prometheus
1378       definition: 'label_values(node_exporter_build_info{env=~''$env''},name)'
1379       hide: 2
1380       includeAll: false
1381       label: "å\x90\x8D称"
1382       multi: true
1383       multiFormat: regex values
1384       name: name
1385       options: []
1386       query: 'label_values(node_exporter_build_info{env=~''$env''},name)'
1387       refresh: 2
1388       regex: ''
1389       skipUrlSync: false
1390       sort: 1
1391       tagValuesQuery: /.*/
1392       tags: []
1393       tagsQuery: ''
1394       type: query
1395       useTags: false
1396 time:
1397   from: now-2d
1398   to: now
1399 timepicker:
1400   now: true
1401   refresh_intervals:
1402     - 5s
1403     - 10s
1404     - 30s
1405     - 1m
1406     - 5m
1407     - 15m
1408     - 30m
1409     - 1h
1410     - 2h
1411     - 1d
1412   time_options:
1413     - 5m
1414     - 15m
1415     - 1h
1416     - 6h
1417     - 12h
1418     - 24h
1419     - 2d
1420     - 7d
1421     - 30d
1422 timezone: browser
1423 title: Hosts
1424 uid: ha7fSE0Zz
1425 version: 1