4 "name": "DS_PROMETHEUS",
8 "pluginId": "prometheus",
9 "pluginName": "Prometheus"
17 "version": "4.3.0-beta1"
44 "hideControls": false,
54 "colorBackground": false,
57 "rgba(245, 54, 54, 0.9)",
58 "rgba(237, 129, 40, 0.89)",
59 "rgba(50, 172, 45, 0.97)"
61 "datasource": "${DS_PROMETHEUS}",
67 "thresholdLabels": false,
68 "thresholdMarkers": true
76 "name": "value to text",
80 "name": "range to text",
85 "nullPointMode": "connected",
88 "postfixFontSize": "50%",
90 "prefixFontSize": "50%",
100 "fillColor": "rgba(31, 118, 189, 0.18)",
102 "lineColor": "rgb(31, 120, 193)",
108 "expr": "consul_raft_leader_lastcontact_count",
109 "format": "time_series",
112 "legendFormat": "{{host}}",
118 "title": "Consul Leader",
119 "type": "singlestat",
120 "valueFontSize": "80%",
131 "cacheTimeout": null,
132 "colorBackground": false,
135 "rgba(245, 54, 54, 0.9)",
136 "rgba(237, 129, 40, 0.89)",
137 "rgba(50, 172, 45, 0.97)"
139 "datasource": "${DS_PROMETHEUS}",
145 "thresholdLabels": false,
146 "thresholdMarkers": true
154 "name": "value to text",
158 "name": "range to text",
162 "maxDataPoints": 100,
163 "nullPointMode": "connected",
166 "postfixFontSize": "50%",
168 "prefixFontSize": "50%",
178 "fillColor": "rgba(31, 118, 189, 0.18)",
180 "lineColor": "rgb(31, 120, 193)",
186 "expr": "COUNT (changes(consul_memberlist_gossep_sum[1m]) > 0) BY (labels)",
187 "format": "time_series",
195 "title": "# servers in cluster",
196 "type": "singlestat",
197 "valueFontSize": "100%",
205 "valueName": "current"
208 "cacheTimeout": null,
209 "colorBackground": false,
212 "rgba(245, 54, 54, 0.9)",
213 "rgba(237, 129, 40, 0.89)",
214 "rgba(50, 172, 45, 0.97)"
216 "datasource": "${DS_PROMETHEUS}",
223 "thresholdLabels": false,
224 "thresholdMarkers": true
232 "name": "value to text",
236 "name": "range to text",
240 "maxDataPoints": 100,
241 "nullPointMode": "connected",
244 "postfixFontSize": "50%",
246 "prefixFontSize": "50%",
256 "fillColor": "rgba(31, 118, 189, 0.18)",
258 "lineColor": "rgb(31, 120, 193)",
264 "expr": "sum(irate(node_cpu{mode=\"idle\", host=\"$consul\"}[1m])) * 100 / count_scalar(node_cpu{mode=\"user\", host=\"$consul\"})",
265 "format": "time_series",
274 "type": "singlestat",
275 "valueFontSize": "80%",
286 "cacheTimeout": null,
287 "colorBackground": false,
290 "rgba(50, 172, 45, 0.97)",
291 "rgba(237, 129, 40, 0.89)",
292 "rgba(245, 54, 54, 0.9)"
294 "datasource": "${DS_PROMETHEUS}",
300 "thresholdLabels": false,
301 "thresholdMarkers": true
309 "name": "value to text",
313 "name": "range to text",
317 "maxDataPoints": 100,
318 "nullPointMode": "connected",
321 "postfixFontSize": "50%",
323 "prefixFontSize": "50%",
333 "fillColor": "rgba(31, 118, 189, 0.18)",
335 "lineColor": "rgb(31, 120, 193)",
341 "expr": "node_load1{host=\"$consul\"}",
342 "format": "time_series",
351 "type": "singlestat",
352 "valueFontSize": "80%",
363 "cacheTimeout": null,
364 "colorBackground": false,
367 "rgba(50, 172, 45, 0.97)",
368 "rgba(237, 129, 40, 0.89)",
369 "rgba(245, 54, 54, 0.9)"
371 "datasource": "${DS_PROMETHEUS}",
377 "thresholdLabels": false,
378 "thresholdMarkers": true
386 "name": "value to text",
390 "name": "range to text",
394 "maxDataPoints": 100,
395 "nullPointMode": "connected",
398 "postfixFontSize": "50%",
400 "prefixFontSize": "50%",
410 "fillColor": "rgba(31, 118, 189, 0.18)",
412 "lineColor": "rgb(31, 120, 193)",
418 "expr": "node_load5{host=\"$consul\"}",
419 "format": "time_series",
428 "type": "singlestat",
429 "valueFontSize": "80%",
440 "cacheTimeout": null,
441 "colorBackground": false,
444 "rgba(50, 172, 45, 0.97)",
445 "rgba(237, 129, 40, 0.89)",
446 "rgba(245, 54, 54, 0.9)"
448 "datasource": "${DS_PROMETHEUS}",
454 "thresholdLabels": false,
455 "thresholdMarkers": true
463 "name": "value to text",
467 "name": "range to text",
471 "maxDataPoints": 100,
472 "nullPointMode": "connected",
475 "postfixFontSize": "50%",
477 "prefixFontSize": "50%",
487 "fillColor": "rgba(31, 118, 189, 0.18)",
489 "lineColor": "rgb(31, 120, 193)",
495 "expr": "node_load15{host=\"$consul\"}",
496 "format": "time_series",
505 "type": "singlestat",
506 "valueFontSize": "80%",
518 "repeatIteration": null,
521 "title": "Dashboard Row",
533 "datasource": "${DS_PROMETHEUS}",
534 "description": "The amount of TCP messages that are sent/received from the server.",
549 "nullPointMode": "null",
554 "seriesOverrides": [],
558 "steppedLine": false,
561 "expr": "irate(consul_memberlist_tcp{host=\"$consul\"}[1m])",
562 "format": "time_series",
565 "legendFormat": "{{type}}",
573 "title": "Memberlist TCP Messages",
577 "value_type": "individual"
611 "datasource": "${DS_PROMETHEUS}",
612 "description": "The amount of UDP messages that are sent/received from the server.",
627 "nullPointMode": "null",
632 "seriesOverrides": [],
636 "steppedLine": false,
639 "expr": "irate(consul_memberlist_udp{host=\"$consul\"}[1m])",
640 "format": "time_series",
643 "legendFormat": "{{type}}",
651 "title": "Memberlist UDP Messages",
655 "value_type": "individual"
686 "repeatIteration": null,
689 "title": "Dashboard Row",
701 "datasource": "${DS_PROMETHEUS}",
702 "description": "This measures the time it takes to replicate log entries to followers. This is a general indicator of the load pressure on the Consul servers, as well as the performance of the communication between the servers.",
717 "nullPointMode": "null",
722 "seriesOverrides": [],
726 "steppedLine": false,
729 "expr": "consul_raft_replication_appendEntries_rpc",
730 "format": "time_series",
733 "legendFormat": "{{query}} - {{quantile}}%",
741 "title": "Log replication from leader to servers",
745 "value_type": "individual"
779 "datasource": "${DS_PROMETHEUS}",
794 "nullPointMode": "null",
799 "seriesOverrides": [],
803 "steppedLine": false,
806 "expr": "consul_raft_replication_heartbeat",
807 "format": "time_series",
810 "legendFormat": "{{query}} - {{quantile}}%",
818 "title": "consul_raft_replication_heartbeat",
822 "value_type": "individual"
853 "repeatIteration": null,
856 "title": "Dashboard Row",
868 "datasource": "${DS_PROMETHEUS}",
869 "description": "This measures the time it takes for the leader to write log entries to disk.",
884 "nullPointMode": "null",
889 "seriesOverrides": [],
893 "steppedLine": false,
896 "expr": "consul_raft_leader_dispatchLog",
897 "format": "time_series",
900 "legendFormat": "{{quantile}}%",
908 "title": "Write logs",
912 "value_type": "individual"
946 "datasource": "${DS_PROMETHEUS}",
947 "description": "This measures the time it takes to commit a new entry to the Raft log on the leader.",
962 "nullPointMode": "null",
967 "seriesOverrides": [],
971 "steppedLine": false,
974 "expr": "consul_raft_commitTime",
975 "format": "time_series",
978 "legendFormat": "{{quantile}}%",
986 "title": "Commit time Leader",
990 "value_type": "individual"
1021 "repeatIteration": null,
1022 "repeatRowId": null,
1024 "title": "Dashboard Row",
1036 "datasource": "${DS_PROMETHEUS}",
1037 "description": "This counts the number of Raft transactions occurring over the interval, which is a general indicator of the write load on the Consul servers.",
1052 "nullPointMode": "null",
1053 "percentage": false,
1057 "seriesOverrides": [],
1061 "steppedLine": false,
1064 "expr": "delta(consul_raft_apply[30s])",
1065 "format": "time_series",
1067 "intervalFactor": 2,
1068 "legendFormat": "Transactions",
1076 "title": "Raft Transactions",
1080 "value_type": "individual"
1114 "datasource": "${DS_PROMETHEUS}",
1115 "description": "This will only be emitted by the Raft leader and measures the time since the leader was last able to contact the follower nodes when checking its leader lease. It can be used as a measure for how stable the Raft timing is and how close the leader is to timing out its lease.\n\nThe lease timeout is 500 ms times the raft_multiplier configuration, so this telemetry value should not be getting close to that configured value, otherwise the Raft timing is marginal and might need to be tuned, or more powerful servers might be needed. See the Server Performance guide for more details.",
1130 "nullPointMode": "null",
1131 "percentage": false,
1135 "seriesOverrides": [],
1139 "steppedLine": false,
1142 "expr": "consul_raft_leader_lastcontact",
1143 "format": "time_series",
1144 "intervalFactor": 2,
1145 "legendFormat": "{{quantile}}%",
1153 "title": "Leader lastContact",
1157 "value_type": "individual"
1188 "repeatIteration": null,
1189 "repeatRowId": null,
1191 "title": "Dashboard Row",
1203 "datasource": "${DS_PROMETHEUS}",
1218 "nullPointMode": "null",
1219 "percentage": false,
1223 "seriesOverrides": [],
1227 "steppedLine": false,
1230 "expr": "delta(consul_rpc_query{host=\"$consul\"}[30s])",
1231 "format": "time_series",
1232 "intervalFactor": 2,
1233 "legendFormat": "Requests",
1241 "title": "RPC Requests",
1245 "value_type": "individual"
1279 "datasource": "${DS_PROMETHEUS}",
1280 "description": "Consul uses a network tomography system to compute network coordinates for nodes in the cluster. These coordinates allow the network round trip time to be estimated between any two nodes using a very simple calculation. This allows for many useful applications, such as finding the service node nearest a requesting node, or failing over to services in the next closest datacenter.",
1295 "nullPointMode": "null",
1296 "percentage": false,
1300 "seriesOverrides": [],
1304 "steppedLine": false,
1307 "expr": "consul_serf_coordinate_adjustment_ms{host=\"$consul\"}",
1308 "format": "time_series",
1310 "intervalFactor": 2,
1311 "legendFormat": "{{quantile}}%",
1319 "title": "Serf Coordinates",
1323 "value_type": "individual"
1354 "repeatIteration": null,
1355 "repeatRowId": null,
1357 "title": "Dashboard Row",
1361 "schemaVersion": 14,
1373 "includeAll": false,
1374 "label": "datasource",
1376 "name": "DS_PROMETHEUS",
1378 "query": "prometheus",
1381 "skipUrlSync": false,
1382 "type": "datasource"
1387 "datasource": "${DS_PROMETHEUS}",
1389 "includeAll": false,
1394 "query": "label_values(consul_memberlist_gossep_sum, host)",
1398 "tagValuesQuery": "",
1411 "refresh_intervals": [
1435 "timezone": "browser",