专栏首页sktjPrometheus在Grafana的仪表盘配置Json

Prometheus在Grafana的仪表盘配置Json

{
 "annotations": {
 "list": [
 {
 "builtIn": 1,
 "datasource": "-- Grafana --",
 "enable": true,
 "hide": true,
 "iconColor": "rgba(0, 211, 255, 1)",
 "name": "Annotations & Alerts",
 "type": "dashboard"
 }
 ]
 },
 "editable": true,
 "gnetId": null,
 "graphTooltip": 0,
 "hideControls": false,
 "id": 2,
 "links": [],
 "refresh": false,
 "rows": [
 {
 "collapse": false,
 "height": 250,
 "panels": [
 {
 "aliasColors": {},
 "bars": false,
 "dashLength": 10,
 "dashes": false,
 "datasource": null,
 "fill": 1,
 "id": 5,
 "legend": {
 "avg": false,
 "current": false,
 "max": false,
 "min": false,
 "show": true,
 "total": false,
 "values": false
 },
 "lines": true,
 "linewidth": 1,
 "links": [],
 "nullPointMode": "null",
 "percentage": false,
 "pointradius": 5,
 "points": false,
 "renderer": "flot",
 "seriesOverrides": [],
 "spaceLength": 10,
 "span": 6,
 "stack": false,
 "steppedLine": false,
 "targets": [
 {
 "expr": "instance:node_cpu:avg_rate5m",
 "format": "time_series",
 "intervalFactor": 2,
 "legendFormat": "{{ instance }}",
 "refId": "A"
 }
 ],
 "thresholds": [],
 "timeFrom": null,
 "timeShift": null,
 "title": "Node CPU % Utilization Avg 5m",
 "tooltip": {
 "shared": true,
 "sort": 0,
 "value_type": "individual"
 },
 "type": "graph",
 "xaxis": {
 "buckets": null,
 "mode": "time",
 "name": null,
 "show": true,
 "values": []
 },
 "yaxes": [
 {
 "format": "short",
 "label": null,
 "logBase": 1,
 "max": null,
 "min": null,
 "show": true
 },
 {
 "format": "short",
 "label": null,
 "logBase": 1,
 "max": null,
 "min": null,
 "show": true
 }
 ]
 },
 {
 "aliasColors": {},
 "bars": false,
 "dashLength": 10,
 "dashes": false,
 "datasource": null,
 "fill": 1,
 "id": 6,
 "legend": {
 "avg": false,
 "current": false,
 "max": false,
 "min": false,
 "show": true,
 "total": false,
 "values": false
 },
 "lines": true,
 "linewidth": 1,
 "links": [],
 "nullPointMode": "null",
 "percentage": false,
 "pointradius": 5,
 "points": false,
 "renderer": "flot",
 "seriesOverrides": [],
 "spaceLength": 10,
 "span": 6,
 "stack": false,
 "steppedLine": false,
 "targets": [
 {
 "expr": "instance:node_cpu_saturation:load1",
 "format": "time_series",
 "intervalFactor": 2,
 "legendFormat": "{{ instance }}",
 "refId": "A"
 }
 ],
 "thresholds": [],
 "timeFrom": null,
 "timeShift": null,
 "title": "Node Load Avg Saturation",
 "tooltip": {
 "shared": true,
 "sort": 0,
 "value_type": "individual"
 },
 "type": "graph",
 "xaxis": {
 "buckets": null,
 "mode": "time",
 "name": null,
 "show": true,
 "values": []
 },
 "yaxes": [
 {
 "format": "short",
 "label": null,
 "logBase": 1,
 "max": null,
 "min": null,
 "show": true
 },
 {
 "format": "short",
 "label": null,
 "logBase": 1,
 "max": null,
 "min": null,
 "show": true
 }
 ]
 }
 ],
 "repeat": null,
 "repeatIteration": null,
 "repeatRowId": null,
 "showTitle": false,
 "title": "Dashboard Row",
 "titleSize": "h6"
 },
 {
 "collapse": false,
 "height": 250,
 "panels": [
 {
 "aliasColors": {},
 "bars": false,
 "dashLength": 10,
 "dashes": false,
 "datasource": null,
 "fill": 1,
 "id": 2,
 "legend": {
 "avg": false,
 "current": false,
 "max": false,
 "min": false,
 "show": true,
 "total": false,
 "values": false
 },
 "lines": true,
 "linewidth": 1,
 "links": [],
 "nullPointMode": "null",
 "percentage": false,
 "pointradius": 5,
 "points": false,
 "renderer": "flot",
 "seriesOverrides": [],
 "spaceLength": 10,
 "span": 6,
 "stack": false,
 "steppedLine": false,
 "targets": [
 {
 "expr": "instance:node_memory_usage:percentage",
 "format": "time_series",
 "intervalFactor": 2,
 "legendFormat": "{{ instance }}",
 "refId": "A"
 }
 ],
 "thresholds": [],
 "timeFrom": null,
 "timeShift": null,
 "title": "Node Memory % usage",
 "tooltip": {
 "shared": true,
 "sort": 0,
 "value_type": "individual"
 },
 "type": "graph",
 "xaxis": {
 "buckets": null,
 "mode": "time",
 "name": null,
 "show": true,
 "values": []
 },
 "yaxes": [
 {
 "format": "short",
 "label": null,
 "logBase": 1,
 "max": null,
 "min": null,
 "show": true
 },
 {
 "format": "short",
 "label": null,
 "logBase": 1,
 "max": null,
 "min": null,
 "show": true
 }
 ]
 },
 {
 "aliasColors": {},
 "bars": false,
 "dashLength": 10,
 "dashes": false,
 "datasource": "Prometheus",
 "fill": 1,
 "id": 4,
 "legend": {
 "avg": false,
 "current": false,
 "max": false,
 "min": false,
 "show": true,
 "total": false,
 "values": false
 },
 "lines": true,
 "linewidth": 1,
 "links": [],
 "nullPointMode": "null",
 "percentage": false,
 "pointradius": 5,
 "points": false,
 "renderer": "flot",
 "seriesOverrides": [],
 "spaceLength": 10,
 "span": 6,
 "stack": false,
 "steppedLine": false,
 "targets": [
 {
 "expr": "instance:node_memory_swap_io_bytes:sum_rate",
 "format": "time_series",
 "intervalFactor": 2,
 "legendFormat": "{{ instance }}",
 "refId": "A"
 }
 ],
 "thresholds": [],
 "timeFrom": null,
 "timeShift": null,
 "title": "Node Memory Saturation Swap IO",
 "tooltip": {
 "shared": true,
 "sort": 0,
 "value_type": "individual"
 },
 "type": "graph",
 "xaxis": {
 "buckets": null,
 "mode": "time",
 "name": null,
 "show": true,
 "values": []
 },
 "yaxes": [
 {
 "format": "short",
 "label": null,
 "logBase": 1,
 "max": null,
 "min": null,
 "show": true
 },
 {
 "format": "short",
 "label": null,
 "logBase": 1,
 "max": null,
 "min": null,
 "show": true
 }
 ]
 }
 ],
 "repeat": null,
 "repeatIteration": null,
 "repeatRowId": null,
 "showTitle": false,
 "title": "Dashboard Row",
 "titleSize": "h6"
 },
 {
 "collapse": false,
 "height": 250,
 "panels": [
 {
 "aliasColors": {},
 "bars": false,
 "dashLength": 10,
 "dashes": false,
 "datasource": null,
 "fill": 1,
 "id": 7,
 "legend": {
 "avg": false,
 "current": false,
 "max": false,
 "min": false,
 "show": true,
 "total": false,
 "values": false
 },
 "lines": true,
 "linewidth": 1,
 "links": [],
 "nullPointMode": "null",
 "percentage": false,
 "pointradius": 5,
 "points": false,
 "renderer": "flot",
 "seriesOverrides": [],
 "spaceLength": 10,
 "span": 12,
 "stack": false,
 "steppedLine": false,
 "targets": [
 {
 "expr": "instance:root:node_filesystem_usage:percentage",
 "format": "time_series",
 "intervalFactor": 2,
 "legendFormat": "{{ instance }}",
 "refId": "A"
 }
 ],
 "thresholds": [],
 "timeFrom": null,
 "timeShift": null,
 "title": "Node % Disk Usage (root /)",
 "tooltip": {
 "shared": true,
 "sort": 0,
 "value_type": "individual"
 },
 "type": "graph",
 "xaxis": {
 "buckets": null,
 "mode": "time",
 "name": null,
 "show": true,
 "values": []
 },
 "yaxes": [
 {
 "format": "short",
 "label": null,
 "logBase": 1,
 "max": null,
 "min": null,
 "show": true
 },
 {
 "format": "short",
 "label": null,
 "logBase": 1,
 "max": null,
 "min": null,
 "show": true
 }
 ]
 }
 ],
 "repeat": null,
 "repeatIteration": null,
 "repeatRowId": null,
 "showTitle": false,
 "title": "Dashboard Row",
 "titleSize": "h6"
 }
 ],
 "schemaVersion": 14,
 "style": "dark",
 "tags": [],
 "templating": {
 "list": []
 },
 "time": {
 "from": "2018-02-04T01:31:28.369Z",
 "to": "2018-02-04T02:40:02.655Z"
 },
 "timepicker": {
 "refresh_intervals": [
 "5s",
 "10s",
 "30s",
 "1m",
 "5m",
 "15m",
 "30m",
 "1h",
 "2h",
 "1d"
 ],
 "time_options": [
 "5m",
 "15m",
 "1h",
 "6h",
 "12h",
 "24h",
 "2d",
 "7d",
 "30d"
 ]
 },
 "timezone": "",
 "title": "Node Dashboard",
 "version": 23
 }

本文参与腾讯云自媒体分享计划,欢迎正在阅读的你也加入,一起分享。

我来说两句

0 条评论
登录 后参与评论

相关文章

  • python pyqt5 QPrinter

    import sys from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.Qt...

    用户5760343
  • python 反向迭代器reserved

    f = open('somefile') for line in reversed(list(f)): print(line, end='')

    用户5760343
  • python 自定义格式化__format__

    _formats = { 'ymd' : '{d.year}-{d.month}-{d.day}', 'mdy' : '{d.month}/{d.day}/...

    用户5760343
  • Java日志体系(commons-logging)Java日志系统学习

    贾博岩
  • ContentProvider

    佛系编码
  • [Java数据处理]4GB文本文件处理一例

    4GB文本文件in.triple每行包含两个顶点,一个边 : node1String, edgeString,node2String。输出nod...

    陈黎栋
  • 剑指offer java版(二)

    经典的双指针法。定义两个指针,第一个指针从链表的头指针开始遍历向前走k-1步,第二个指针保持不动,从第k步开始,第二个指针也开始从链表的头指针开始遍历,由于两个...

    蜻蜓队长
  • 从0到1用java再造tcpip协议栈:架构重建,完整实现ping应用

    在原先代码设计中,我们为了方便,喜欢在一个模块中组织数据包的协议头,然后将要发送的数据融合在一起,并调用网卡将数据发送出去,这种偷懒的做法将多种逻辑融合在一起。...

    望月从良
  • 笔记本如何设置插入USB鼠标自动禁用触摸板

    landv
  • js根据出生年月日换算年龄

    function age_Conversion(date) { debugger var age = ''; var str = date.repl...

    李文杨

扫码关注云+社区

领取腾讯云代金券