{
  "annotations":{"list":[{"builtIn":1,"datasource":{"type":"datasource","uid":"grafana"},"enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations & Alerts","target":{"limit":100,"matchAny":false,"tags":[],"type":"dashboard"},"type":"dashboard"}]},
  "author":"Ruohang Feng (rh@vonng.com)",
  "description":"Pigsty Infrastructure Overview",
  "editable":true,
  "fiscalYearStartMonth":0,
  "graphTooltip":0,
  "id":null,
  "license":"https://pigsty.io/docs/about/license/",
  "links":[{"asDropdown":true,"icon":"external link","includeVars":false,"keepTime":true,"tags":["Pigsty","INFRA"],"targetBlank":false,"title":"INFRA","tooltip":"","type":"dashboards","url":""}],
  "panels":[
    {"collapsed":false,"gridPos":{"h":1,"w":24,"x":0,"y":0},"id":16,"panels":[],"title":"Overview","type":"row"},
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "description":"All infra compoents and links",
      "fieldConfig":{
        "defaults":{"color":{"mode":"thresholds"},"custom":{"align":"center","cellOptions":{"type":"auto"},"footer":{"reducers":[]},"inspect":false},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"#e3e3e3e0","value":0}]}},
        "overrides":[
          { "matcher":{"id":"byName","options":"IP"}          ,"properties":[{"id":"links","value":[{"title":"Node Instance : ${__data.fields.IP}","url":"/d/node-instance?var-id=${__data.fields.IP}&${__url_time_range}"}]}]                                                                                                                                                      },
          { "matcher":{"id":"byName","options":"Nginx"}       ,"properties":[{"id":"custom.cellOptions","value":{"type":"color-text"}},{"id":"color","value":{"fixedColor":"#346f36","mode":"fixed"}},{"id":"links","value":[{"title":"Nginx Instance : ${__data.fields.Nginx}","url":"/d/nginx-instance?var-ins=${__data.fields.Nginx}&${__url_time_range}"}]}]                    },
          { "matcher":{"id":"byName","options":"Grafana"}     ,"properties":[{"id":"custom.cellOptions","value":{"type":"color-text"}},{"id":"color","value":{"fixedColor":"#f79f64","mode":"fixed"}},{"id":"links","value":[{"title":"Grafana Instance : ${__data.fields.Grafana}","url":"/d/grafana-instance?var-ins=${__data.fields.Grafana}&${__url_time_range}"}]}]            },
          { "matcher":{"id":"byName","options":"Metrics"}     ,"properties":[{"id":"custom.cellOptions","value":{"type":"color-text"}},{"id":"color","value":{"fixedColor":"#a64d4d","mode":"fixed"}},{"id":"links","value":[{"title":"VictoriaMetrics Instance : ${__data.fields.Metrics}","url":"/d/vmetrics-instance?var-ins=${__data.fields.Metrics}&${__url_time_range}"}]}]   },
          { "matcher":{"id":"byName","options":"Logs"}        ,"properties":[{"id":"custom.cellOptions","value":{"type":"color-text"}},{"id":"color","value":{"fixedColor":"#ba7552","mode":"fixed"}},{"id":"links","value":[{"title":"VictoriaLogs Instance : ${__data.fields.Logs}","url":"/d/vlogs-instance?var-ins=${__data.fields.Logs}&${__url_time_range}"}]}]               },
          { "matcher":{"id":"byName","options":"Traces"}      ,"properties":[{"id":"custom.cellOptions","value":{"type":"color-text"}},{"id":"color","value":{"fixedColor":"#c4895c","mode":"fixed"}},{"id":"links","value":[{"title":"VictoriaTraces Instance : ${__data.fields.Traces}","url":"/d/vtraces-instance?var-ins=${__data.fields.Traces}&${__url_time_range}"}]}]       },
          { "matcher":{"id":"byName","options":"Alert"}       ,"properties":[{"id":"custom.cellOptions","value":{"type":"color-text"}},{"id":"color","value":{"fixedColor":"#b3596d","mode":"fixed"}},{"id":"links","value":[{"title":"VictoriaAlert Instance : ${__data.fields.Alert}","url":"/d/vmalert-instance?var-ins=${__data.fields.Alert}&${__url_time_range}"}]}]          },
          { "matcher":{"id":"byName","options":"AlertManager"},"properties":[{"id":"custom.cellOptions","value":{"type":"color-text"}},{"id":"color","value":{"fixedColor":"#db7070","mode":"fixed"}},{"id":"links","value":[{"title":"AlertManager : ${__data.fields.AlertManager}","url":"/d/alertmanager-instance?var-ins=${__data.fields.AlertManager}&${__url_time_range}"}]}] }
        ]
      },
      "gridPos":{"h":6,"w":24,"x":0,"y":1},
      "id":189,
      "options":{"cellHeight":"sm","showHeader":true,"sortBy":[]},
      "pluginVersion":"12.3.0",
      "targets":[
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"max by (ip,ins) (nginx_up{cls=\"nginx\"})"                      ,"format":"table","hide":false,"instant":true,"interval":"","legendFormat":"","refId":"L" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"max by (ip,ins) (grafana_build_info{cls=\"grafana\"})"          ,"format":"table","hide":false,"instant":true,"interval":"","legendFormat":"","refId":"A" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"max by (ip,ins) (vm_app_version{cls=\"vmetrics\"})"             ,"format":"table","hide":false,"instant":true,"interval":"","legendFormat":"","refId":"B" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"max by (ip,ins) (vm_app_version{cls=\"vlogs\"})"                ,"format":"table","hide":false,"instant":true,"interval":"","legendFormat":"","refId":"C" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"max by (ip,ins) (vm_app_version{cls=\"vtraces\"})"              ,"format":"table","hide":false,"instant":true,"interval":"","legendFormat":"","refId":"D" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"max by (ip,ins) (vm_app_version{cls=\"vmalert\"})"              ,"format":"table","hide":false,"instant":true,"interval":"","legendFormat":"","refId":"E" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"max by (ip,ins) (alertmanager_build_info{cls=\"alertmanager\"})","format":"table","hide":false,"instant":true,"interval":"","legendFormat":"","refId":"K" }
      ],
      "title":"Infrastructure",
      "transformations":[
        {"id":"seriesToColumns","options":{"byField":"ip"}},
        {
          "id":"organize",
          "options":{
            "excludeByName":{
              "Time":true,
              "Time 1":true,
              "Time 10":true,
              "Time 11":true,
              "Time 2":true,
              "Time 3":true,
              "Time 4":true,
              "Time 5":true,
              "Time 6":true,
              "Time 7":true,
              "Time 8":true,
              "Time 9":true,
              "Value #A":true,
              "Value #B":true,
              "Value #C":true,
              "Value #D":true,
              "Value #E":true,
              "Value #J":false,
              "Value #K":true,
              "Value #L":true,
              "__name__":true,
              "__name__ 1":true,
              "__name__ 2":true,
              "__name__ 3":true,
              "cls":true,
              "cls 1":true,
              "cls 2":false,
              "cls 3":true,
              "domainname":true,
              "ins 4":false,
              "instance":true,
              "instance 1":false,
              "instance 2":true,
              "instance 3":true,
              "ip 2":true,
              "ip 3":true,
              "job":true,
              "job 1":true,
              "job 2":true,
              "job 3":true,
              "machine":true,
              "maxmemory_policy":true,
              "nodename":true,
              "os":true,
              "process_id":true,
              "redis_build_id":true,
              "release":false,
              "run_id":true,
              "sysname":true,
              "tcp_port":true,
              "version":true
            },
            "includeByName":{},
            "indexByName":{"Time 1":13,"Time 2":14,"Time 3":15,"Time 4":16,"Time 5":17,"Time 6":18,"Time 7":21,"Value #A":1,"Value #B":3,"Value #C":4,"Value #D":5,"Value #E":2,"Value #K":20,"Value #L":19,"ins 1":6,"ins 2":7,"ins 3":8,"ins 4":9,"ins 5":10,"ins 6":11,"ins 7":12,"ip":0},
            "renameByName":{
              "Time 1":"",
              "Time 4":"",
              "Value #A":"",
              "Value #B":"CPU%",
              "Value #C":"Mem%",
              "Value #D":"Space%",
              "Value #E":"Core",
              "Value #F":"Mem",
              "Value #G":"Space",
              "Value #H":"Targets",
              "Value #I":"Ping",
              "Value #J":"Conn",
              "Value #K":"",
              "cls":"Cluster",
              "cls 1":"Cluster",
              "cls 2":"Cluster",
              "ins":"Instance",
              "ins 1":"Nginx",
              "ins 2":"Grafana",
              "ins 3":"Metrics",
              "ins 4":"Logs",
              "ins 5":"Traces",
              "ins 6":"Alert",
              "ins 7":"AlertManager",
              "instance":"",
              "instance 1":"HAProxy",
              "instance 3":"",
              "ip":"IP",
              "ip 1":"IP",
              "job 1":"",
              "nodename":"Hostname",
              "redis_mode":"Mode",
              "redis_version":"Version",
              "release":"OS Release",
              "role":"Role"
            }
          }
        }
      ],
      "type":"table"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "description":"",
      "fieldConfig":{
        "defaults":{"color":{"mode":"palette-classic"},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"#3e668f","value":0}]}},
        "overrides":[
          { "matcher":{"id":"byName","options":"pigsty"}      ,"properties":[{"id":"color","value":{"fixedColor":"#3e668f","mode":"fixed"}},{"id":"links","value":[{"targetBlank":true,"title":"Pigsty Homepage","url":"../../"}]}]                          },
          { "matcher":{"id":"byName","options":"cmdb"}        ,"properties":[{"id":"color","value":{"fixedColor":"#5b9cd5","mode":"fixed"}},{"id":"links","value":[{"title":"Inventory CMDB","url":"/d/inventory-cmdb"}]}]                                   },
          { "matcher":{"id":"byName","options":"nginx"}       ,"properties":[{"id":"color","value":{"fixedColor":"#346f36cc","mode":"fixed"}},{"id":"links","value":[{"title":"Nginx Overview","url":"/d/nginx-instance?${__url_time_range}"}]}]             },
          { "matcher":{"id":"byName","options":"grafana"}     ,"properties":[{"id":"color","value":{"fixedColor":"#f79f64","mode":"fixed"}},{"id":"links","value":[{"title":"Grafana Overview","url":"/d/grafana-instance?${__url_time_range}"}]}]           },
          { "matcher":{"id":"byName","options":"vmetrics"}    ,"properties":[{"id":"color","value":{"fixedColor":"#a64d4d","mode":"fixed"}},{"id":"links","value":[{"title":"VictoriaMetrics Instance","url":"/d/vmetrics-instance?${__url_time_range}"}]}]  },
          { "matcher":{"id":"byName","options":"vlogs"}       ,"properties":[{"id":"color","value":{"fixedColor":"#ba7552","mode":"fixed"}},{"id":"links","value":[{"title":"VictoriaLogs Instance","url":"/d/vlogs-instance?${__url_time_range}"}]}]        },
          { "matcher":{"id":"byName","options":"vtraces"}     ,"properties":[{"id":"color","value":{"fixedColor":"#c4895c","mode":"fixed"}},{"id":"links","value":[{"title":"VictoriaTraces Instance","url":"/d/vtraces-instance?${__url_time_range}"}]}]    },
          { "matcher":{"id":"byName","options":"vmalert"}     ,"properties":[{"id":"color","value":{"fixedColor":"#b3596d","mode":"fixed"}},{"id":"links","value":[{"title":"VictoriaAlert Instance","url":"/d/vmalert-instance?${__url_time_range}"}]}]     },
          { "matcher":{"id":"byName","options":"alertmanager"},"properties":[{"id":"color","value":{"fixedColor":"#db7070","mode":"fixed"}},{"id":"links","value":[{"title":"AlertManager Overview","url":"/d/alertmanager-instance?${__url_time_range}"}]}] }
        ]
      },
      "gridPos":{"h":4,"w":14,"x":0,"y":7},
      "id":30,
      "options":{"colorMode":"background","graphMode":"none","justifyMode":"center","orientation":"auto","percentChangeColorMode":"standard","reduceOptions":{"calcs":["last"],"fields":"","values":false},"showPercentChange":false,"text":{},"textMode":"name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},                    "exemplar":false,"expr":"1","format":"time_series",             "instant":false,"interval":"","legendFormat":"pigsty"      ,"queryType":"measurements","refId":"A" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"1","format":"time_series","hide":false,"instant":false,"interval":"","legendFormat":"cmdb"        ,"queryType":"measurements","refId":"B" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"1","format":"time_series","hide":false,"instant":false,"interval":"","legendFormat":"nginx"       ,"queryType":"measurements","refId":"I" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},                    "exemplar":false,"expr":"1","format":"time_series","hide":false,"instant":false,"interval":"","legendFormat":"grafana"     ,"queryType":"measurements","refId":"C" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"1","format":"time_series","hide":false,"instant":false,"interval":"","legendFormat":"vmetrics"    ,"queryType":"measurements","refId":"D" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"1","format":"time_series","hide":false,"instant":false,"interval":"","legendFormat":"vlogs"       ,"queryType":"measurements","refId":"E" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"1","format":"time_series","hide":false,"instant":false,"interval":"","legendFormat":"vtraces"     ,"queryType":"measurements","refId":"F" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"1","format":"time_series","hide":false,"instant":false,"interval":"","legendFormat":"vmalert"     ,"queryType":"measurements","refId":"G" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"1","format":"time_series","hide":false,"instant":false,"interval":"","legendFormat":"alertmanager","queryType":"measurements","refId":"H" }
      ],
      "title":"Infrastructure",
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "fieldConfig":{
        "defaults":{"color":{"mode":"fixed"},"mappings":[{"options":{"0":{"color":"#1a1a1a","index":0,"text":"DOWN"},"1":{"index":1,"text":"UP"}},"type":"value"}],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"#1a1a1a","value":0},{"color":"#346f36cc","value":1}]}},
        "overrides":[
          {
            "matcher":{"id":"byFrameRefID","options":"A"},
            "properties":[{"id":"color","value":{"fixedColor":"#346f36cc","mode":"fixed"}},{"id":"mappings","value":[{"options":{"0":{"color":"#1a1a1a","index":0,"text":"DOWN"},"1":{"color":"#346f36cc","index":1,"text":"UP"}},"type":"value"}]},{"id":"links","value":[{"title":"Nginx Instance : ${__field.labels.ins}","url":"/d/nginx-instance?var-ins=${__field.labels.ins}&${__url_time_range}"}]}]
          },{
            "matcher":{"id":"byFrameRefID","options":"B"},
            "properties":[{"id":"color","value":{"fixedColor":"#f79f64","mode":"fixed"}},{"id":"mappings","value":[{"options":{"0":{"color":"#1a1a1a","index":0,"text":"DOWN"},"1":{"color":"#f79f64","index":1,"text":"UP"}},"type":"value"}]},{"id":"links","value":[{"title":"Grafana Instance : ${__field.labels.ins}","url":"/d/grafana-instance?var-ins=${__field.labels.ins}&${__url_time_range}"}]}]
          },{
            "matcher":{"id":"byFrameRefID","options":"C"},
            "properties":[{"id":"color","value":{"fixedColor":"#a64d4d","mode":"fixed"}},{"id":"mappings","value":[{"options":{"0":{"color":"#1a1a1a","index":0,"text":"DOWN"},"1":{"color":"#a64d4d","index":1,"text":"UP"}},"type":"value"}]},{"id":"links","value":[{"title":"VictoriaMetrics Instance : ${__field.labels.ins}","url":"/d/vmetrics-instance?var-ins=${__field.labels.ins}&${__url_time_range}"}]}]
          },{
            "matcher":{"id":"byFrameRefID","options":"D"},
            "properties":[{"id":"color","value":{"fixedColor":"#ba7552","mode":"fixed"}},{"id":"mappings","value":[{"options":{"0":{"color":"#1a1a1a","index":0,"text":"DOWN"},"1":{"color":"#ba7552","index":1,"text":"UP"}},"type":"value"}]},{"id":"links","value":[{"title":"VictoriaLogs Instance : ${__field.labels.ins}","url":"/d/vlogs-instance?var-ins=${__field.labels.ins}&${__url_time_range}"}]}]
          },{
            "matcher":{"id":"byFrameRefID","options":"E"},
            "properties":[{"id":"color","value":{"fixedColor":"#c4895c","mode":"fixed"}},{"id":"mappings","value":[{"options":{"0":{"color":"#1a1a1a","index":0,"text":"DOWN"},"1":{"color":"#c4895c","index":1,"text":"UP"}},"type":"value"}]},{"id":"links","value":[{"title":"VictoriaTraces Instance : ${__field.labels.ins}","url":"/d/vtraces-instance?var-ins=${__field.labels.ins}&${__url_time_range}"}]}]
          },{
            "matcher":{"id":"byFrameRefID","options":"F"},
            "properties":[{"id":"color","value":{"fixedColor":"#b3596d","mode":"fixed"}},{"id":"mappings","value":[{"options":{"0":{"color":"#1a1a1a","index":0,"text":"DOWN"},"1":{"color":"#b3596d","index":1,"text":"UP"}},"type":"value"}]},{"id":"links","value":[{"title":"Victoria Alert Instance : ${__field.labels.ins}","url":"/d/vmalert-instance?var-ins=${__field.labels.ins}&${__url_time_range}"}]}]
          },{
            "matcher":{"id":"byFrameRefID","options":"G"},
            "properties":[{"id":"color","value":{"fixedColor":"#db7070","mode":"fixed"}},{"id":"mappings","value":[{"options":{"0":{"color":"#1a1a1a","index":0,"text":"DOWN"},"1":{"color":"#db7070","index":1,"text":"UP"}},"type":"value"}]},{"id":"links","value":[{"title":"AlertManager : ${__field.labels.ins}","url":"/d/alertmanager-instance?var-ins=${__field.labels.ins}&${__url_time_range}"}]}]
          }
        ]
      },
      "gridPos":{"h":10,"w":5,"x":14,"y":7},
      "id":108,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"auto","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":true},"showPercentChange":false,"textMode":"name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"max by (ins) (up{cls=\"nginx\"})"       ,"format":"time_series","hide":false,"instant":true,"legendFormat":"{{ ins }}","range":false,"refId":"A" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"max by (ins) (up{cls=\"grafana\"})"     ,"format":"time_series","hide":false,"instant":true,"legendFormat":"{{ ins }}","range":false,"refId":"B" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"max by (ins) (up{cls=\"vmetrics\"})"    ,"format":"time_series","hide":false,"instant":true,"legendFormat":"{{ ins }}","range":false,"refId":"C" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"max by (ins) (up{cls=\"vlogs\"})"       ,"format":"time_series","hide":false,"instant":true,"legendFormat":"{{ ins }}","range":false,"refId":"D" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"max by (ins) (up{cls=\"vtraces\"})"     ,"format":"time_series","hide":false,"instant":true,"legendFormat":"{{ ins }}","range":false,"refId":"E" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"max by (ins) (up{cls=\"vmalert\"})"     ,"format":"time_series","hide":false,"instant":true,"legendFormat":"{{ ins }}","range":false,"refId":"F" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"max by (ins) (up{cls=\"alertmanager\"})","format":"time_series","hide":false,"instant":true,"legendFormat":"{{ ins }}","range":false,"refId":"G" }
      ],
      "title":"Aliveness",
      "type":"stat"
    },
    {"description":"","gridPos":{"h":10,"w":5,"x":19,"y":7},"id":25,"options":{"includeVars":false,"keepTime":false,"maxItems":10,"query":"","showFolderNames":true,"showHeadings":false,"showRecentlyViewed":false,"showSearch":true,"showStarred":false,"tags":["INFRA"]},"pluginVersion":"12.3.0","title":"Dashboards","type":"dashlist"},
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "fieldConfig":{
        "defaults":{
          "color":{"mode":"palette-classic"},
          "custom":{
            "axisBorderShow":false,
            "axisCenteredZero":false,
            "axisColorMode":"text",
            "axisLabel":"",
            "axisPlacement":"auto",
            "barAlignment":0,
            "barWidthFactor":0.6,
            "drawStyle":"line",
            "fillOpacity":50,
            "gradientMode":"none",
            "hideFrom":{"legend":false,"tooltip":false,"viz":false},
            "insertNulls":false,
            "lineInterpolation":"linear",
            "lineWidth":0,
            "pointSize":1,
            "scaleDistribution":{"type":"linear"},
            "showPoints":"auto",
            "showValues":false,
            "spanNulls":false,
            "stacking":{"group":"A","mode":"normal"},
            "thresholdsStyle":{"mode":"off"}
          },
          "mappings":[],
          "thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc","value":0},{"color":"red","value":80}]}
        },
        "overrides":[]
      },
      "gridPos":{"h":6,"w":14,"x":0,"y":11},
      "id":48,
      "options":{"legend":{"calcs":["min"],"displayMode":"table","placement":"right","showLegend":true,"sortBy":"Min","sortDesc":false},"tooltip":{"hideZeros":false,"mode":"single","sort":"none"}},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"up{job=\"infra\"}","legendFormat":"{{ ins }} @ {{ instance }}","range":true,"refId":"A"}],
      "title":"Infra Aliveness",
      "type":"timeseries"
    },
    {
      "collapsed":true,
      "gridPos":{"h":1,"w":24,"x":0,"y":17},
      "id":44,
      "panels":[
        {
          "datasource":{"type":"prometheus","uid":"ds-prometheus"},
          "description":"",
          "fieldConfig":{
            "defaults":{"color":{"mode":"thresholds"},"decimals":0,"links":[],"mappings":[],"max":1,"min":0,"noValue":"OK","thresholds":{"mode":"absolute","steps":[{"color":"#3e668f","value":0},{"color":"#fcdb72","value":1},{"color":"#f79f64","value":4},{"color":"#b783af","value":8},{"color":"text","value":16}]},"unit":"none"},
            "overrides":[{"matcher":{"id":"byFrameRefID","options":"A"},"properties":[{"id":"links","value":[{"targetBlank":true,"title":"Pigsty Alertmanager","url":"/alertmgr/"}]}]},{"matcher":{"id":"byFrameRefID","options":"B"},"properties":[{"id":"links","value":[{"title":"PGSQL Alert","url":"/d/pgsql-alert?${__url_time_range}"}]}]}]
          },
          "gridPos":{"h":7,"w":3,"x":0,"y":18},
          "id":161,
          "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["last"],"fields":"","values":false},"showPercentChange":false,"text":{},"textMode":"auto","wideLayout":true},
          "pluginVersion":"12.3.0",
          "targets":[
            { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"count(ALERTS{alertstate=\"firing\", job=~\"infra|etcd\"}) or on() vector(0)",            "interval":"","legendFormat":"Firing Alert" ,"range":true,"refId":"A" },
            { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"count(ALERTS{alertstate=\"pending\", job=~\"infra|etcd\"})"                 ,"hide":true,"interval":"","legendFormat":"Pending Alert","range":true,"refId":"B" }
          ],
          "type":"stat"
        },
        {
          "datasource":{"type":"prometheus","uid":"ds-prometheus"},
          "description":"",
          "fieldConfig":{
            "defaults":{
              "color":{"mode":"thresholds"},
              "decimals":0,
              "links":[{"targetBlank":true,"title":"AlertInfo ${__field.labels.alertname}","url":"/alertmgr/#/alerts?filter=%7Balertname%3D%22${__field.labels.alertname}%22%7D"}],
              "mappings":[],
              "max":1,
              "min":0,
              "noValue":"OK",
              "thresholds":{"mode":"absolute","steps":[{"color":"#3e668f","value":0},{"color":"#fcdb72","value":1},{"color":"#f79f64","value":2},{"color":"#b783af","value":4}]},
              "unit":"none"
            },
            "overrides":[]
          },
          "gridPos":{"h":7,"w":5,"x":3,"y":18},
          "id":162,
          "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["last"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12},"textMode":"auto","wideLayout":true},
          "pluginVersion":"12.3.0",
          "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"count(ALERTS{alertstate=\"firing\", job=~\"infra|etcd\"}) by (alertname, severity)","interval":"","legendFormat":"{{ alertname }}","range":true,"refId":"A"}],
          "type":"stat"
        },
        {
          "datasource":{"type":"prometheus","uid":"ds-prometheus"},
          "description":"",
          "fieldConfig":{
            "defaults":{
              "color":{"mode":"palette-classic"},
              "custom":{
                "axisBorderShow":false,
                "axisCenteredZero":false,
                "axisColorMode":"text",
                "axisLabel":"",
                "axisPlacement":"hidden",
                "axisSoftMax":1.2,
                "axisSoftMin":0,
                "barAlignment":0,
                "barWidthFactor":0.6,
                "drawStyle":"line",
                "fillOpacity":98,
                "gradientMode":"none",
                "hideFrom":{"graph":false,"legend":false,"tooltip":false,"viz":false},
                "insertNulls":false,
                "lineInterpolation":"stepBefore",
                "lineWidth":0,
                "pointSize":5,
                "scaleDistribution":{"type":"linear"},
                "showPoints":"never",
                "showValues":false,
                "spanNulls":false,
                "stacking":{"group":"A","mode":"normal"},
                "thresholdsStyle":{"mode":"off"}
              },
              "decimals":0,
              "links":[
                { "targetBlank":true,"title":"AlertInfo ${__field.labels.alertname} on Cluster ${__field.labels.cls}","url":"/alertmgr/#/alerts?filter=%7Bcls%3D%22${__field.labels.cls}%22%2C%20alertname%3D%22${__field.labels.alertname}%22%7D"       },
                { "targetBlank":true,"title":"Silence ${__field.labels.alertname} on Cluster ${__field.labels.cls}"  ,"url":"/alertmgr/#/silences/new?filter=%7Bcls%3D%22${__field.labels.cls}%22%2C%20alertname%3D%22${__field.labels.alertname}%22%7D" },
                {                    "title":"PGSQL Cluster for ${__field.labels.cls} : Alerts"                      ,"url":"/d/pgsql-cluster?var-cls=${__field.labels.cls}&viewPanel=78&${__url_time_range}"                                            }
              ],
              "mappings":[],
              "min":0,
              "thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc","value":0}]},
              "unit":"none"
            },
            "overrides":[{"matcher":{"id":"byFrameRefID","options":"A"},"properties":[{"id":"custom.fillOpacity","value":66}]},{"matcher":{"id":"byType","options":"time"},"properties":[{"id":"custom.axisPlacement","value":"auto"}]}]
          },
          "gridPos":{"h":7,"w":11,"x":8,"y":18},
          "id":34,
          "options":{"legend":{"calcs":["last"],"displayMode":"table","placement":"right","showLegend":true},"tooltip":{"hideZeros":false,"mode":"multi","sort":"none"}},
          "pluginVersion":"12.3.0",
          "targets":[
            { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"sum without (ins,instance,datname) (ALERTS{alertstate=\"firing\", job=~\"infra|etcd\"})",            "interval":"","legendFormat":"[{{ severity }}] {{alertname}} @ {{ cls }}","range":true,"refId":"A" },
            { "datasource":{"type":"prometheus","uid":"ds-prometheus"},                    "exemplar":false,"expr":"0"                                                                                      ,"hide":true,"interval":"","legendFormat":"Alert"                                     ,             "refId":"C" }
          ],
          "title":"Firing Alerts",
          "type":"timeseries"
        },
        {
          "gridPos":{"h":16,"w":5,"x":19,"y":18},
          "id":160,
          "options":{
            "alertInstanceLabelFilter":"",
            "alertName":"",
            "dashboardAlerts":false,
            "dashboardTitle":"",
            "groupBy":[],
            "groupMode":"default",
            "maxItems":20,
            "showInactiveAlerts":false,
            "showOptions":"current",
            "sortOrder":1,
            "stateFilter":{"alerting":false,"error":true,"execution_error":false,"firing":true,"noData":false,"no_data":false,"normal":false,"ok":false,"paused":false,"pending":true,"recovering":true},
            "tags":[],
            "viewMode":"list"
          },
          "pluginVersion":"12.3.0",
          "title":"Grafana Alerts",
          "type":"alertlist"
        },
        {
          "datasource":{"type":"prometheus","uid":"ds-prometheus"},
          "description":"",
          "fieldConfig":{
            "defaults":{"color":{"mode":"thresholds"},"custom":{"align":"center","cellOptions":{"mode":"gradient","type":"color-background"},"footer":{"reducers":[]},"inspect":false},"decimals":0,"links":[],"mappings":[],"max":-4,"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"#e3e3e3e0","value":0}]},"unit":"none"},
            "overrides":[
              {"matcher":{"id":"byName","options":"Alert"},"properties":[{"id":"custom.width"},{"id":"links","value":[{"targetBlank":true,"title":"AlertInfo for ${__field.labels.alertname} on Cluster ${__field.labels.cls}","url":"/alertmgr/#/alerts?filter=%7Bcls%3D%22${__data.fields.Cluster}%22%2C%20alertname%3D%22${__data.fields.Alert}%22%7D"}]}]},
              {"matcher":{"id":"byName","options":"State"},"properties":[{"id":"custom.width","value":66},{"id":"mappings","value":[{"options":{"firing":{"color":"light-red","index":0,"text":"Firing\ud83d\udd25"},"pending":{"color":"light-orange","index":1,"text":"Pend\u23f0"}},"type":"value"}]},{"id":"custom.cellOptions","value":{"mode":"gradient","type":"color-background"}}]},
              {"matcher":{"id":"byName","options":"Level"},"properties":[{"id":"custom.width","value":60},{"id":"mappings","value":[{"options":{"0":{"color":"red","index":0,"text":"P0"},"1":{"color":"#f79f64","index":1,"text":"P1"},"2":{"color":"#fcdb72","index":2,"text":"P2"}},"type":"value"}]},{"id":"custom.cellOptions","value":{"mode":"gradient","type":"color-background"}}]},
              {
                "matcher":{"id":"byName","options":"Severity"},
                "properties":[{"id":"custom.width","value":60},{"id":"mappings","value":[{"options":{"CRIT":{"color":"red","index":0,"text":"Critical \u26a1\ufe0f"},"INFO":{"color":"light-yellow","index":2,"text":"Info \u2139\ufe0f"},"WARN":{"color":"super-light-orange","index":1,"text":"Warning \u26a0\ufe0f"}},"type":"value"}]},{"id":"custom.cellOptions","value":{"mode":"gradient","type":"color-background"}}]
              },
              {"matcher":{"id":"byName","options":"Category"},"properties":[{"id":"custom.width","value":80},{"id":"mappings","value":[{"options":{"infra":{"color":"#f79f64","index":2,"text":"INFRA"},"node":{"color":"#346f36cc","index":1,"text":"NODE"},"pgsql":{"color":"light-blue","index":0,"text":"PGSQL"}},"type":"value"}]},{"id":"custom.cellOptions","value":{"mode":"gradient","type":"color-background"}}]},
              {"matcher":{"id":"byName","options":"Ins"},"properties":[{"id":"custom.width","value":98}]},{"matcher":{"id":"byName","options":"Active"},"properties":[{"id":"custom.width","value":66}]},{"matcher":{"id":"byName","options":"Severity"},"properties":[{"id":"custom.width","value":90}]},
              {"matcher":{"id":"byName","options":"Cluster"},"properties":[{"id":"custom.width"},{"id":"links","value":[{"title":"PGSQL Cluster for ${cls}","url":"/d/pgsql-cluster?var-cls=${__data.fields.Cluster}&${__url_time_range}"}]}]},
              {"matcher":{"id":"byName","options":"Instance"},"properties":[{"id":"custom.width"},{"id":"links","value":[{"title":"PGSQL Instance for ${__data.fields.Instance}","url":"/d/pgsql-instance?var-ins=${__data.fields.Instance}&${__url_time_range}"}]}]},
              {"matcher":{"id":"byName","options":"Database"},"properties":[{"id":"custom.width","value":79},{"id":"links","value":[{"title":"PGSQL Database for ${__data.fields.Database} on ${__data.fields.Instance}","url":"/d/pgsql-database?var-ins=${__data.fields.Instance}&var-datname=${__data.fields.Database}&${__url_time_range}"}]}]},
              {
                "matcher":{"id":"byName","options":"Silence"},
                "properties":[{"id":"links","value":[{"targetBlank":true,"title":"Silence ${__data.fields.Alert} on Cluster ${__data.fields.Cluster}","url":"/alertmgr/#/silences/new?filter=%7Bcls%3D%22${__data.fields.Cluster}%22%2C%20alertname%3D%22${__data.fields.Alert}%22%7D"}]},{"id":"mappings","value":[{"options":{"1":{"index":0,"text":"silence"}},"type":"value"}]},{"id":"custom.width","value":70}]
              },
              {"matcher":{"id":"byName","options":"Agent"},"properties":[{"id":"custom.width","value":126}]},{"matcher":{"id":"byName","options":"IP"},"properties":[{"id":"custom.width","value":110},{"id":"links","value":[{"title":"PGSQL Node: ${__data.fields.IP}","url":"/d/node-instance?var-id=${__data.fields.IP}&${__url_time_range}"}]}]}
            ]
          },
          "gridPos":{"h":9,"w":19,"x":0,"y":25},
          "id":36,
          "options":{"cellHeight":"sm","showHeader":true,"sortBy":[{"desc":false,"displayName":"Level"}]},
          "pluginVersion":"12.3.0",
          "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"ALERTS{job=~\"infra|etcd\"}","format":"table","instant":true,"interval":"","legendFormat":"","refId":"A"}],
          "title":"Active Alerts",
          "transformations":[
            {
              "id":"organize",
              "options":{
                "excludeByName":{"Time":true,"Value":false,"__name__":true,"job":true},
                "indexByName":{"Time":11,"Value":10,"__name__":13,"alertname":0,"alertstate":1,"category":4,"cls":5,"datname":8,"ins":6,"instance":9,"ip":7,"job":12,"level":2,"severity":3},
                "renameByName":{"Value":"Silence","Value #A":"Silence","alertname":"Alert","alertstate":"State","category":"Category","cls":"Cluster","datname":"Database","ins":"Instance","instance":"Agent","ip":"IP","job":"","level":"Level","severity":"Severity"}
              }
            }
          ],
          "type":"table"
        }
      ],
      "title":"ALERT",
      "type":"row"
    },
    {"collapsed":false,"gridPos":{"h":1,"w":24,"x":0,"y":18},"id":50,"panels":[],"title":"NGINX","type":"row"},
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "fieldConfig":{
        "defaults":{"color":{"mode":"thresholds"},"links":[{"title":"Nginx Instance : ${__field.labels.ins}","url":"/d/nginx-instance?var-ins=${__field.labels.ins}&${__url_time_range}"}],"mappings":[{"options":{"0":{"color":"red","index":0,"text":"No"},"1":{"color":"#346f36cc","index":1,"text":"Yes"}},"type":"value"}],"thresholds":{"mode":"absolute","steps":[{"color":"#3e668f","value":0}]}},
        "overrides":[]
      },
      "gridPos":{"h":6,"w":5,"x":0,"y":19},
      "id":122,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12,"valueSize":16},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"nginx_up{cls=\"nginx\"}","legendFormat":"{{ ins }} @ {{ ip }}","range":true,"refId":"A"}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "description":"",
      "fieldConfig":{
        "defaults":{
          "color":{"mode":"palette-classic"},
          "custom":{
            "axisBorderShow":false,
            "axisCenteredZero":false,
            "axisColorMode":"text",
            "axisLabel":"Connections (rate5m)",
            "axisPlacement":"auto",
            "barAlignment":0,
            "barWidthFactor":0.6,
            "drawStyle":"line",
            "fillOpacity":10,
            "gradientMode":"none",
            "hideFrom":{"legend":false,"tooltip":false,"viz":false},
            "insertNulls":false,
            "lineInterpolation":"linear",
            "lineWidth":1,
            "pointSize":5,
            "scaleDistribution":{"type":"linear"},
            "showPoints":"never",
            "showValues":false,
            "spanNulls":true,
            "stacking":{"group":"A","mode":"none"},
            "thresholdsStyle":{"mode":"off"}
          },
          "decimals":1,
          "mappings":[],
          "thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc","value":0},{"color":"red","value":80}]},
          "unit":"short"
        },
        "overrides":[]
      },
      "gridPos":{"h":6,"w":8,"x":5,"y":19},
      "id":52,
      "options":{"legend":{"calcs":[],"displayMode":"table","placement":"right","showLegend":true},"tooltip":{"hideZeros":false,"mode":"multi","sort":"none"}},
      "pluginVersion":"12.3.0",
      "targets":[
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"rate(nginx_connections_accepted{}[1m])","format":"time_series","instant":false,"intervalFactor":1,"legendFormat":"{{ ins }} Accecpt","refId":"A" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"rate(nginx_connections_handled{}[5m])" ,"format":"time_series","instant":false,"intervalFactor":1,"legendFormat":"{{ ins }} Handled","refId":"B" }
      ],
      "title":"Nginx Conn Accept/Handle",
      "type":"timeseries"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "fieldConfig":{
        "defaults":{
          "color":{"mode":"palette-classic"},
          "custom":{
            "axisBorderShow":false,
            "axisCenteredZero":false,
            "axisColorMode":"text",
            "axisLabel":"Connections",
            "axisPlacement":"auto",
            "barAlignment":0,
            "barWidthFactor":0.6,
            "drawStyle":"line",
            "fillOpacity":10,
            "gradientMode":"none",
            "hideFrom":{"legend":false,"tooltip":false,"viz":false},
            "insertNulls":false,
            "lineInterpolation":"linear",
            "lineWidth":1,
            "pointSize":5,
            "scaleDistribution":{"type":"linear"},
            "showPoints":"never",
            "showValues":false,
            "spanNulls":true,
            "stacking":{"group":"A","mode":"none"},
            "thresholdsStyle":{"mode":"off"}
          },
          "decimals":0,
          "mappings":[],
          "thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc","value":0},{"color":"red","value":80}]},
          "unit":"short"
        },
        "overrides":[]
      },
      "gridPos":{"h":6,"w":11,"x":13,"y":19},
      "id":54,
      "options":{"legend":{"calcs":["mean"],"displayMode":"table","placement":"right","showLegend":true},"tooltip":{"hideZeros":false,"mode":"multi","sort":"none"}},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"sum by (ins) (nginx_connections_active{})","format":"time_series","intervalFactor":1,"legendFormat":"{{ ins }}","range":true,"refId":"A"}],
      "title":"Active Connections",
      "type":"timeseries"
    },
    {"collapsed":false,"gridPos":{"h":1,"w":24,"x":0,"y":25},"id":181,"panels":[],"title":"Resource","type":"row"},
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "description":"",
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"links":[],"mappings":[{"options":{"-1":{"color":"#23529799","index":0,"text":"N/A"}},"type":"value"}],"thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc","value":0}]},"unit":"percentunit"},"overrides":[]},
      "gridPos":{"h":4,"w":5,"x":0,"y":26},
      "id":188,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["last"],"fields":"","values":false},"showPercentChange":false,"text":{"valueSize":16},"textMode":"name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"count(up{job=\"infra\"}) by (ip)","format":"time_series","instant":true,"interval":"","legendFormat":"infra @ {{ ip }}","range":false,"refId":"A"}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "fieldConfig":{
        "defaults":{
          "color":{"mode":"thresholds"},
          "decimals":2,
          "links":[],
          "mappings":[{"options":{"-1":{"color":"gray","index":1,"text":"N/A"}},"type":"value"},{"options":{"match":"null+nan","result":{"color":"gray","index":0,"text":"No Data"}},"type":"special"}],
          "thresholds":{"mode":"absolute","steps":[{"color":"#3e668f","value":0},{"color":"#346f36cc","value":0.1},{"color":"#F2CC0C","value":0.3},{"color":"#f79f64","value":0.5},{"color":"#E02F44","value":0.7},{"color":"#b783af","value":0.9},{"color":"text","value":1}]},
          "unit":"vCore"
        },
        "overrides":[]
      },
      "gridPos":{"h":4,"w":4,"x":5,"y":26},
      "id":182,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12,"valueSize":18},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"sum(rate(process_cpu_seconds_total{job=\"infra\"}[1m])) by (ip)","interval":"","legendFormat":"CPU","range":true,"refId":"A"}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "description":"",
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc","value":0}]},"unit":"decbytes"},"overrides":[]},
      "gridPos":{"h":4,"w":3,"x":9,"y":26},
      "id":180,
      "maxDataPoints":100,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12,"valueSize":18},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"sum(process_resident_memory_bytes{job=\"infra\"}) by (ip)","format":"time_series","intervalFactor":2,"legendFormat":"Memory","range":true,"refId":"B","step":40}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc","value":0}]},"unit":"decbytes"},"overrides":[]},
      "gridPos":{"h":4,"w":3,"x":12,"y":26},
      "id":184,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12,"valueSize":18},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"sum(vm_data_size_bytes{cls=\"vmetrics\"}) by (ip)\n+ sum(vl_data_size_bytes{cls=\"vlogs\"}) by (ip)\n+ sum(vt_data_size_bytes{cls=\"vtraces\"}) by (ip)","interval":"","legendFormat":"Storage","range":true,"refId":"A"}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc","value":0}]},"unit":"Bps"},"overrides":[]},
      "gridPos":{"h":4,"w":3,"x":15,"y":26},
      "id":185,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12,"valueSize":18},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"sum(rate(vm_data_size_bytes{cls=\"vmetrics\"}[1m])) by (ip)\n+ sum(rate(vl_data_size_bytes{cls=\"vlogs\"}[1m])) by (ip)\n+ sum(rate(vt_data_size_bytes{cls=\"vtraces\"}[1m])) by (ip)","interval":"","legendFormat":"Data Rate","range":true,"refId":"A"}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"links":[],"mappings":[{"options":{"-1":{"color":"gray","index":1,"text":"N/A"}},"type":"value"},{"options":{"match":"null+nan","result":{"color":"gray","index":0,"text":"No Data"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc","value":0}]}},"overrides":[]},
      "gridPos":{"h":4,"w":3,"x":18,"y":26},
      "id":186,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12,"valueSize":18},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"sum(go_threads{job=\"infra\"}) by (ip)","interval":"","legendFormat":"Threads","range":true,"refId":"A"}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"links":[],"mappings":[{"options":{"-1":{"color":"gray","index":1,"text":"N/A"}},"type":"value"},{"options":{"match":"null+nan","result":{"color":"gray","index":0,"text":"No Data"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc","value":0}]}},"overrides":[]},
      "gridPos":{"h":4,"w":3,"x":21,"y":26},
      "id":187,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12,"valueSize":18},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"sum(process_open_fds{job=\"infra\"}) by (ip)","interval":"","legendFormat":"OpenFDs","range":true,"refId":"A"}],
      "type":"stat"
    },
    {"collapsed":false,"gridPos":{"h":1,"w":24,"x":0,"y":30},"id":134,"panels":[],"title":"Grafana","type":"row"},
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "description":"",
      "fieldConfig":{
        "defaults":{"color":{"mode":"thresholds"},"decimals":1,"links":[{"title":"Grafana Overview for ${__field.labels.ins}","url":"/d/grafana-instance?var-ins=${__field.labels.ins}&${__url_time_range}"}],"mappings":[{"options":{"-1":{"color":"#23529799","index":0,"text":"N/A"}},"type":"value"}],"thresholds":{"mode":"absolute","steps":[{"color":"#f79f64","value":0}]},"unit":"percentunit"},
        "overrides":[]
      },
      "gridPos":{"h":4,"w":5,"x":0,"y":31},
      "id":131,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["last"],"fields":"","values":false},"showPercentChange":false,"text":{"valueSize":16},"textMode":"name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"grafana_build_info{cls=\"grafana\"}","format":"time_series","instant":true,"interval":"","legendFormat":"{{ ins }} @ {{ instance }}","range":false,"refId":"A"}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "description":"",
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"#f79f64","value":0}]},"unit":"s"},"overrides":[]},
      "gridPos":{"h":4,"w":4,"x":5,"y":31},
      "id":137,
      "maxDataPoints":100,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12,"valueSize":18},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"time() - process_start_time_seconds{cls=\"grafana\"}","format":"time_series","intervalFactor":2,"legendFormat":"{{ ins }} uptime","range":true,"refId":"B","step":40}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "description":"",
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"#f79f64","value":0}]},"unit":"none"},"overrides":[]},
      "gridPos":{"h":4,"w":3,"x":9,"y":31},
      "id":141,
      "maxDataPoints":100,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12,"valueSize":18},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"sum(rate(grafana_http_request_duration_seconds_count{cls=\"grafana\"}[1m])) by (ins)","format":"time_series","intervalFactor":2,"legendFormat":"QPS","range":true,"refId":"B","step":40}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"match":"nan","result":{"color":"#808080d9","index":1,"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"#f79f64","value":0}]},"unit":"s"},"overrides":[]},
      "gridPos":{"h":4,"w":3,"x":12,"y":31},
      "id":143,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12,"valueSize":18},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"histogram_quantile(0.50, \n  sum(rate(grafana_http_request_duration_seconds_bucket[5m])) by (ins,le)\n)","legendFormat":"RT P50","range":true,"refId":"A"}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"match":"nan","result":{"color":"#808080d9","index":1,"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"#f79f64","value":0}]},"unit":"c"},"overrides":[]},
      "gridPos":{"h":4,"w":3,"x":15,"y":31},
      "id":144,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12,"valueSize":18},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"sum(grafana_database_conn_open{cls=\"grafana\"}) by (ins)","legendFormat":"DB Conn","range":true,"refId":"A"}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "description":"",
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"#f79f64","value":0}]},"unit":"decbytes"},"overrides":[]},
      "gridPos":{"h":4,"w":3,"x":18,"y":31},
      "id":138,
      "maxDataPoints":100,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12,"valueSize":18},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"sum(process_resident_memory_bytes{cls=\"grafana\"}) by (ins)","format":"time_series","intervalFactor":2,"legendFormat":"Memory","range":true,"refId":"B","step":40}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":2,"links":[],"mappings":[{"options":{"-1":{"color":"gray","index":1,"text":"N/A"}},"type":"value"},{"options":{"match":"null+nan","result":{"color":"gray","index":0,"text":"No Data"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"#f79f64","value":0}]},"unit":"percentunit"},"overrides":[]},
      "gridPos":{"h":4,"w":3,"x":21,"y":31},
      "id":163,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12,"valueSize":18},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"rate(process_cpu_seconds_total{cls=\"grafana\"}[1m])","interval":"","legendFormat":"CPU","range":true,"refId":"A"}],
      "type":"stat"
    },
    {"collapsed":false,"gridPos":{"h":1,"w":24,"x":0,"y":35},"id":64,"panels":[],"title":"Victoria Metrics","type":"row"},
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "description":"",
      "fieldConfig":{
        "defaults":{"color":{"mode":"thresholds"},"decimals":1,"links":[{"title":"Victoria Metrics Instance : ${__field.labels.ins}","url":"/d/vmetrics-instance?var-ins=${__field.labels.ins}&${__url_time_range}"}],"mappings":[{"options":{"-1":{"color":"#23529799","index":0,"text":"N/A"}},"type":"value"}],"thresholds":{"mode":"absolute","steps":[{"color":"#a64d4d","value":0}]},"unit":"percentunit"},
        "overrides":[]
      },
      "gridPos":{"h":4,"w":5,"x":0,"y":36},
      "id":105,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["last"],"fields":"","values":false},"showPercentChange":false,"text":{"valueSize":16},"textMode":"name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"vm_app_version{cls=\"vmetrics\"}","format":"time_series","instant":true,"interval":"","legendFormat":"{{ ins }} @ {{ instance }}","range":false,"refId":"A"}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "description":"",
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"#a64d4d","value":0}]},"unit":"s"},"overrides":[]},
      "gridPos":{"h":4,"w":4,"x":5,"y":36},
      "id":128,
      "maxDataPoints":100,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12,"valueSize":18},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"time() - process_start_time_seconds{cls=\"vmetrics\"}","format":"time_series","intervalFactor":2,"legendFormat":"{{ ins }} uptime","range":true,"refId":"B","step":40}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "description":"",
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"#a64d4d","value":0}]},"unit":"short"},"overrides":[]},
      "gridPos":{"h":4,"w":3,"x":9,"y":36},
      "id":97,
      "maxDataPoints":100,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12,"valueSize":18},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"sum(vm_cache_entries{cls=\"vmetrics\",type=\"storage/hour_metric_ids\"}) by (ins)","format":"time_series","intervalFactor":2,"legendFormat":"Series","range":true,"refId":"B","step":40}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "description":"",
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"#a64d4d","value":0}]},"unit":"none"},"overrides":[]},
      "gridPos":{"h":4,"w":3,"x":12,"y":36},
      "id":99,
      "maxDataPoints":100,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12,"valueSize":18},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"sum by (ins) (rate(vm_rows_inserted_total{cls=\"vmetrics\"}[1m]))","format":"time_series","intervalFactor":2,"legendFormat":"Sample / s","range":true,"refId":"B","step":40}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "description":"",
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"#a64d4d","value":0}]},"unit":"none"},"overrides":[]},
      "gridPos":{"h":4,"w":3,"x":15,"y":36},
      "id":101,
      "maxDataPoints":100,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12,"valueSize":18},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"sum(vm_promscrape_targets{cls=\"vmetrics\"}) by (ins)","format":"time_series","intervalFactor":2,"legendFormat":"Targets","range":true,"refId":"B","step":40}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "description":"",
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"#a64d4d","value":0}]},"unit":"decbytes"},"overrides":[]},
      "gridPos":{"h":4,"w":3,"x":18,"y":36},
      "id":126,
      "maxDataPoints":100,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12,"valueSize":18},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"sum(process_resident_memory_bytes{cls=\"vmetrics\"}) by (ins)","format":"time_series","intervalFactor":2,"legendFormat":"Memory","range":true,"refId":"B","step":40}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "description":"",
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"#a64d4d","value":0}]},"unit":"decbytes"},"overrides":[]},
      "gridPos":{"h":4,"w":3,"x":21,"y":36},
      "id":130,
      "maxDataPoints":100,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12,"valueSize":18},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"sum(vm_data_size_bytes{cls=\"vmetrics\"}) by (ins)","format":"time_series","intervalFactor":2,"legendFormat":"Storage","range":true,"refId":"B","step":40}],
      "type":"stat"
    },
    {"collapsed":false,"gridPos":{"h":1,"w":24,"x":0,"y":40},"id":79,"panels":[],"title":"Victoria Logs","type":"row"},
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "description":"",
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"links":[{"title":"Victoria Logs : ${__field.labels.ins}","url":"/d/vlogs-instance?var-ins=${__field.labels.ins}&${__url_time_range}"}],"mappings":[{"options":{"-1":{"color":"#23529799","index":0,"text":"N/A"}},"type":"value"}],"thresholds":{"mode":"absolute","steps":[{"color":"#ba7552","value":0}]},"unit":"percentunit"},"overrides":[]},
      "gridPos":{"h":4,"w":5,"x":0,"y":41},
      "id":132,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["last"],"fields":"","values":false},"showPercentChange":false,"text":{"valueSize":16},"textMode":"name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"vm_app_version{cls=\"vlogs\"}","format":"time_series","instant":true,"interval":"","legendFormat":"{{ ins }} @ {{ instance }}","range":false,"refId":"A"}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "description":"",
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"#ba7552","value":0}]},"unit":"s"},"overrides":[]},
      "gridPos":{"h":4,"w":4,"x":5,"y":41},
      "id":145,
      "maxDataPoints":100,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"time() - process_start_time_seconds{cls=\"vlogs\"}","format":"time_series","intervalFactor":2,"legendFormat":"{{ ins }} Uptime","range":true,"refId":"B","step":40}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "description":"Total lines of log stored",
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"#ba7552","value":0}]},"unit":"short"},"overrides":[]},
      "gridPos":{"h":4,"w":3,"x":9,"y":41},
      "id":83,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12,"valueSize":18},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"sum(vl_storage_rows{cls=\"vlogs\"}) by (ins)","interval":"","legendFormat":"Lines","range":true,"refId":"A"}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"#ba7552","value":0}]},"unit":"short"},"overrides":[]},
      "gridPos":{"h":4,"w":3,"x":12,"y":41},
      "id":81,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12,"valueSize":18},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"sum(rate(vl_rows_ingested_total{cls=\"vlogs\"}[1m])) by (ins)","interval":"","legendFormat":"Lines / s","range":true,"refId":"A"}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"match":"nan","result":{"color":"#808080d9","index":0,"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"#ba7552","value":0}]},"unit":"cps"},"overrides":[]},
      "gridPos":{"h":4,"w":3,"x":15,"y":41},
      "id":151,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12,"valueSize":18},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"sum(rate(vl_rows_dropped_total{cls=\"vlogs\"}[5m])) by (ins)","interval":"","legendFormat":"Error","range":true,"refId":"A"}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "description":"",
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"#ba7552","value":0}]},"unit":"decbytes"},"overrides":[]},
      "gridPos":{"h":4,"w":3,"x":18,"y":41},
      "id":146,
      "maxDataPoints":100,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12,"valueSize":18},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"sum(process_resident_memory_bytes{cls=\"vlogs\"}) by (ins)","format":"time_series","intervalFactor":2,"legendFormat":"Memory","range":true,"refId":"B","step":40}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"#ba7552","value":0}]},"unit":"decbytes"},"overrides":[]},
      "gridPos":{"h":4,"w":3,"x":21,"y":41},
      "id":149,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12,"valueSize":18},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"sum(vl_data_size_bytes{cls=\"vlogs\"}) by (ins)","interval":"","legendFormat":"Storage","range":true,"refId":"A"}],
      "type":"stat"
    },
    {"collapsed":false,"gridPos":{"h":1,"w":24,"x":0,"y":45},"id":164,"panels":[],"title":"Victoria Traces","type":"row"},
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "description":"",
      "fieldConfig":{
        "defaults":{"color":{"mode":"thresholds"},"decimals":1,"links":[{"title":"Victoria Traces Instance : ${__field.labels.ins}","url":"/d/vtraces-instance?var-ins=${__field.labels.ins}&${__url_time_range}"}],"mappings":[{"options":{"-1":{"color":"#23529799","index":0,"text":"N/A"}},"type":"value"}],"thresholds":{"mode":"absolute","steps":[{"color":"#c4895c","value":0}]},"unit":"percentunit"},
        "overrides":[]
      },
      "gridPos":{"h":4,"w":5,"x":0,"y":46},
      "id":165,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["last"],"fields":"","values":false},"showPercentChange":false,"text":{"valueSize":16},"textMode":"name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"vm_app_version{cls=\"vtraces\"}","format":"time_series","instant":true,"interval":"","legendFormat":"{{ ins }} @ {{ instance }}","range":false,"refId":"A"}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "description":"",
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"#c4895c","value":0}]},"unit":"s"},"overrides":[]},
      "gridPos":{"h":4,"w":4,"x":5,"y":46},
      "id":166,
      "maxDataPoints":100,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12,"valueSize":18},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"time() - process_start_time_seconds{cls=\"vtraces\"}","format":"time_series","intervalFactor":2,"legendFormat":"{{ ins }} uptime","range":true,"refId":"B","step":40}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"#c4895c","value":0}]},"unit":"rowsps"},"overrides":[]},
      "gridPos":{"h":4,"w":3,"x":9,"y":46},
      "id":172,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12,"valueSize":18},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"sum(rate(vt_rows_dropped_total{cls=\"vtraces\"}[1m])) by (ins)","interval":"","legendFormat":"Dropped / s","range":true,"refId":"A"}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"#c4895c","value":0}]},"unit":"short"},"overrides":[]},
      "gridPos":{"h":4,"w":3,"x":12,"y":46},
      "id":170,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12,"valueSize":18},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"sum(vt_storage_rows{cls=\"vtraces\"}) by (ins)","interval":"","legendFormat":"Rows","range":true,"refId":"A"}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"match":"nan","result":{"color":"#808080d9","index":0,"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"#c4895c","value":0}]},"unit":"stream/s"},"overrides":[]},
      "gridPos":{"h":4,"w":3,"x":15,"y":46},
      "id":171,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12,"valueSize":18},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"sum(rate(vt_streams_created_total{cls=\"vtraces\"}[5m])) by (ins)","interval":"","legendFormat":"Streams","range":true,"refId":"A"}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "description":"",
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"#c4895c","value":0}]},"unit":"decbytes"},"overrides":[]},
      "gridPos":{"h":4,"w":3,"x":18,"y":46},
      "id":167,
      "maxDataPoints":100,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12,"valueSize":18},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"sum(process_resident_memory_bytes{cls=\"vtraces\"}) by (ins)","format":"time_series","intervalFactor":2,"legendFormat":"Memory","range":true,"refId":"B","step":40}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"#c4895c","value":0}]},"unit":"decbytes"},"overrides":[]},
      "gridPos":{"h":4,"w":3,"x":21,"y":46},
      "id":168,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12,"valueSize":18},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"sum(vt_data_size_bytes{cls=\"vtraces\"}) by (ins)","interval":"","legendFormat":"Storage","range":true,"refId":"A"}],
      "type":"stat"
    },
    {"collapsed":false,"gridPos":{"h":1,"w":24,"x":0,"y":50},"id":169,"panels":[],"title":"Victoria Alert","type":"row"},
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "description":"",
      "fieldConfig":{
        "defaults":{"color":{"mode":"thresholds"},"decimals":1,"links":[{"title":"Victoria Alert Instance : ${__field.labels.ins}","url":"/d/vmalert-instance?var-ins=${__field.labels.ins}&${__url_time_range}"}],"mappings":[{"options":{"-1":{"color":"#23529799","index":0,"text":"N/A"}},"type":"value"}],"thresholds":{"mode":"absolute","steps":[{"color":"#b3596d","value":0}]},"unit":"percentunit"},
        "overrides":[]
      },
      "gridPos":{"h":4,"w":5,"x":0,"y":51},
      "id":173,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["last"],"fields":"","values":false},"showPercentChange":false,"text":{"valueSize":16},"textMode":"name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"vm_app_version{cls=\"vmalert\"}","format":"time_series","instant":true,"interval":"","legendFormat":"{{ ins }} @ {{ instance }}","range":false,"refId":"A"}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "description":"",
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"#b3596d","value":0}]},"unit":"s"},"overrides":[]},
      "gridPos":{"h":4,"w":4,"x":5,"y":51},
      "id":174,
      "maxDataPoints":100,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12,"valueSize":18},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"time() - process_start_time_seconds{cls=\"vmalert\"}","format":"time_series","intervalFactor":2,"legendFormat":"{{ ins }} uptime","range":true,"refId":"B","step":40}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "description":"eval rules per second",
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"#b3596d","value":0}]},"unit":"reqps"},"overrides":[]},
      "gridPos":{"h":4,"w":3,"x":9,"y":51},
      "id":176,
      "maxDataPoints":100,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12,"valueSize":18},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"sum(rate(vmalert_iteration_total[1m])) by (ins)","format":"time_series","intervalFactor":2,"legendFormat":"Eval Rate","range":true,"refId":"B","step":40}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "description":"5m alert sending",
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"#b3596d","value":0}]},"unit":"short"},"overrides":[]},
      "gridPos":{"h":4,"w":3,"x":12,"y":51},
      "id":177,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12,"valueSize":18},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"sum(increase(vmalert_alerts_sent_total{cls=\"vmalert\"}[5m])) by (ins)\n","interval":"","legendFormat":"Alert 5m","range":true,"refId":"A"}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "description":"5m alert sending",
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"#b3596d","value":0}]},"unit":"short"},"overrides":[]},
      "gridPos":{"h":4,"w":3,"x":15,"y":51},
      "id":178,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12,"valueSize":18},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"sum(increase(vmalert_iteration_missed_total{cls=\"vmalert\"}[5m])) by (ins)","interval":"","legendFormat":"Missed","range":true,"refId":"A"}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "description":"",
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"#b3596d","value":0}]},"unit":"decbytes"},"overrides":[]},
      "gridPos":{"h":4,"w":3,"x":18,"y":51},
      "id":175,
      "maxDataPoints":100,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12,"valueSize":18},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"sum(process_resident_memory_bytes{cls=\"vmalert\"}) by (ins)","format":"time_series","intervalFactor":2,"legendFormat":"Memory","range":true,"refId":"B","step":40}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":2,"links":[],"mappings":[{"options":{"-1":{"color":"gray","index":1,"text":"N/A"}},"type":"value"},{"options":{"match":"null+nan","result":{"color":"gray","index":0,"text":"No Data"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"#b3596d","value":0}]},"unit":"percentunit"},"overrides":[]},
      "gridPos":{"h":4,"w":3,"x":21,"y":51},
      "id":179,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12,"valueSize":18},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"max(rate(process_cpu_seconds_total{cls=\"vmalert\"}[1m])) by (ins)","interval":"","legendFormat":"CPU","range":true,"refId":"A"}],
      "type":"stat"
    }
  ],
  "preload":false,
  "refresh":"",
  "schemaVersion":42,
  "tags":["Pigsty","INFRA","Overview","HOME"],
  "templating":{"list":[]},
  "time":{"from":"now-1h","to":"now"},
  "timepicker":{"refresh_intervals":["2s","5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"]},
  "timezone":"browser",
  "title":"Infra Overview",
  "uid":"infra-overview",
  "version":1,
  "weekStart":""
}