Загрузка данных


{
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": {
          "type": "grafana",
          "uid": "-- Grafana --"
        },
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "fiscalYearStartMonth": 0,
  "graphTooltip": 0,
  "id": null,
  "links": [],
  "panels": [
    {
      "datasource": {
        "type": "prometheus",
        "uid": "cf535ym4p3gn4a"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "mappings": [],
          "unit": "short"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 5,
        "w": 6,
        "x": 0,
        "y": 0
      },
      "id": 1,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "11.3.2",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "cf535ym4p3gn4a"
          },
          "editorMode": "code",
          "expr": "count(etcd_server_id{job=\"kube-etcd\",cluster=~\"$cluster\"})",
          "legendFormat": "__auto",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "etcd members",
      "type": "stat"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "cf535ym4p3gn4a"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "mappings": [],
          "unit": "bytes"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 5,
        "w": 6,
        "x": 6,
        "y": 0
      },
      "id": 2,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "11.3.2",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "cf535ym4p3gn4a"
          },
          "editorMode": "code",
          "expr": "max(etcd_mvcc_db_total_size_in_bytes{job=\"kube-etcd\",cluster=~\"$cluster\"})",
          "legendFormat": "__auto",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "DB size",
      "type": "stat"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "cf535ym4p3gn4a"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "mappings": [],
          "unit": "bytes"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 5,
        "w": 6,
        "x": 12,
        "y": 0
      },
      "id": 3,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "11.3.2",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "cf535ym4p3gn4a"
          },
          "editorMode": "code",
          "expr": "max(etcd_server_quota_backend_bytes{job=\"kube-etcd\",cluster=~\"$cluster\"})",
          "legendFormat": "__auto",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "Backend quota",
      "type": "stat"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "cf535ym4p3gn4a"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "mappings": [],
          "unit": "percent"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 5,
        "w": 6,
        "x": 18,
        "y": 0
      },
      "id": 4,
      "options": {
        "showThresholdLabels": false,
        "showThresholdMarkers": true,
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        }
      },
      "pluginVersion": "11.3.2",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "cf535ym4p3gn4a"
          },
          "editorMode": "code",
          "expr": "100*max(etcd_mvcc_db_total_size_in_bytes{job=\"kube-etcd\",cluster=~\"$cluster\"})/max(etcd_server_quota_backend_bytes{job=\"kube-etcd\",cluster=~\"$cluster\"})",
          "legendFormat": "__auto",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "DB quota usage",
      "type": "gauge"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "cf535ym4p3gn4a"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "mappings": [],
          "unit": "bytes"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 0,
        "y": 5
      },
      "id": 5,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "pluginVersion": "11.3.2",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "cf535ym4p3gn4a"
          },
          "editorMode": "code",
          "expr": "etcd_mvcc_db_total_size_in_bytes{job=\"kube-etcd\",cluster=~\"$cluster\",instance=~\"$instance\"}",
          "legendFormat": "{{instance}}",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "DB size by instance",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "cf535ym4p3gn4a"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "mappings": [],
          "unit": "bytes"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 12,
        "y": 5
      },
      "id": 6,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "pluginVersion": "11.3.2",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "cf535ym4p3gn4a"
          },
          "editorMode": "code",
          "expr": "etcd_server_quota_backend_bytes{job=\"kube-etcd\",cluster=~\"$cluster\",instance=~\"$instance\"}",
          "legendFormat": "{{instance}}",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "Backend quota by instance",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "cf535ym4p3gn4a"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "mappings": [],
          "unit": "short"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 0,
        "y": 13
      },
      "id": 7,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "pluginVersion": "11.3.2",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "cf535ym4p3gn4a"
          },
          "editorMode": "code",
          "expr": "rate(etcd_server_leader_changes_seen_total{job=\"kube-etcd\",cluster=~\"$cluster\",instance=~\"$instance\"}[5m])",
          "legendFormat": "{{instance}}",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "Leader changes rate",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "cf535ym4p3gn4a"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "mappings": [],
          "unit": "short"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 12,
        "y": 13
      },
      "id": 8,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "pluginVersion": "11.3.2",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "cf535ym4p3gn4a"
          },
          "editorMode": "code",
          "expr": "etcd_server_proposals_pending{job=\"kube-etcd\",cluster=~\"$cluster\",instance=~\"$instance\"}",
          "legendFormat": "{{instance}}",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "Proposals pending",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "cf535ym4p3gn4a"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "mappings": [],
          "unit": "ops"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 8,
        "x": 0,
        "y": 21
      },
      "id": 9,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "pluginVersion": "11.3.2",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "cf535ym4p3gn4a"
          },
          "editorMode": "code",
          "expr": "rate(etcd_server_proposals_committed_total{job=\"kube-etcd\",cluster=~\"$cluster\",instance=~\"$instance\"}[5m])",
          "legendFormat": "{{instance}}",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "Proposals committed rate",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "cf535ym4p3gn4a"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "mappings": [],
          "unit": "ops"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 8,
        "x": 8,
        "y": 21
      },
      "id": 10,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "pluginVersion": "11.3.2",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "cf535ym4p3gn4a"
          },
          "editorMode": "code",
          "expr": "rate(etcd_server_proposals_applied_total{job=\"kube-etcd\",cluster=~\"$cluster\",instance=~\"$instance\"}[5m])",
          "legendFormat": "{{instance}}",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "Proposals applied rate",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "cf535ym4p3gn4a"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "mappings": [],
          "unit": "ops"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 8,
        "x": 16,
        "y": 21
      },
      "id": 11,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "pluginVersion": "11.3.2",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "cf535ym4p3gn4a"
          },
          "editorMode": "code",
          "expr": "rate(etcd_server_proposals_failed_total{job=\"kube-etcd\",cluster=~\"$cluster\",instance=~\"$instance\"}[5m])",
          "legendFormat": "{{instance}}",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "Failed proposals rate",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "cf535ym4p3gn4a"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "mappings": [],
          "unit": "s"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 0,
        "y": 29
      },
      "id": 12,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "pluginVersion": "11.3.2",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "cf535ym4p3gn4a"
          },
          "editorMode": "code",
          "expr": "histogram_quantile(0.95,sum by(le,instance)(rate(etcd_disk_wal_fsync_duration_seconds_bucket{job=\"kube-etcd\",cluster=~\"$cluster\",instance=~\"$instance\"}[5m])))",
          "legendFormat": "{{instance}}",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "WAL fsync p95",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "cf535ym4p3gn4a"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "mappings": [],
          "unit": "s"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 12,
        "y": 29
      },
      "id": 13,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "pluginVersion": "11.3.2",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "cf535ym4p3gn4a"
          },
          "editorMode": "code",
          "expr": "histogram_quantile(0.95,sum by(le,instance)(rate(etcd_disk_backend_commit_duration_seconds_bucket{job=\"kube-etcd\",cluster=~\"$cluster\",instance=~\"$instance\"}[5m])))",
          "legendFormat": "{{instance}}",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "Backend commit p95",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "cf535ym4p3gn4a"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "mappings": [],
          "unit": "s"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 0,
        "y": 37
      },
      "id": 14,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "pluginVersion": "11.3.2",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "cf535ym4p3gn4a"
          },
          "editorMode": "code",
          "expr": "histogram_quantile(0.95,sum by(le,instance)(rate(etcd_network_peer_round_trip_time_seconds_bucket{job=\"kube-etcd\",cluster=~\"$cluster\",instance=~\"$instance\"}[5m])))",
          "legendFormat": "{{instance}}",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "Peer RTT p95",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "cf535ym4p3gn4a"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "mappings": [],
          "unit": "ops"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 12,
        "y": 37
      },
      "id": 15,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "pluginVersion": "11.3.2",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "cf535ym4p3gn4a"
          },
          "editorMode": "code",
          "expr": "sum by(grpc_method,instance)(rate(grpc_server_handled_total{job=\"kube-etcd\",cluster=~\"$cluster\",instance=~\"$instance\"}[5m]))",
          "legendFormat": "{{instance}} {{grpc_method}}",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "gRPC handled rate",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "cf535ym4p3gn4a"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "mappings": [],
          "unit": "percentunit"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 0,
        "y": 45
      },
      "id": 16,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "pluginVersion": "11.3.2",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "cf535ym4p3gn4a"
          },
          "editorMode": "code",
          "expr": "rate(process_cpu_seconds_total{job=\"kube-etcd\",cluster=~\"$cluster\",instance=~\"$instance\"}[5m])",
          "legendFormat": "{{instance}}",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "CPU",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "cf535ym4p3gn4a"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "mappings": [],
          "unit": "bytes"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 12,
        "y": 45
      },
      "id": 17,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "pluginVersion": "11.3.2",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "cf535ym4p3gn4a"
          },
          "editorMode": "code",
          "expr": "process_resident_memory_bytes{job=\"kube-etcd\",cluster=~\"$cluster\",instance=~\"$instance\"}",
          "legendFormat": "{{instance}}",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "Resident memory",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "cf535ym4p3gn4a"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "mappings": []
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 0,
        "y": 53
      },
      "id": 18,
      "options": {
        "cellHeight": "sm",
        "footer": {
          "enablePagination": true,
          "fields": ""
        },
        "showHeader": true
      },
      "pluginVersion": "11.3.2",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "cf535ym4p3gn4a"
          },
          "editorMode": "code",
          "expr": "etcd_server_id{job=\"kube-etcd\",cluster=~\"$cluster\",instance=~\"$instance\"}",
          "legendFormat": "{{instance}}",
          "range": false,
          "refId": "A",
          "instant": true
        }
      ],
      "title": "etcd server ID",
      "type": "table"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "cf535ym4p3gn4a"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "mappings": [],
          "unit": "short"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 12,
        "y": 53
      },
      "id": 19,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "pluginVersion": "11.3.2",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "cf535ym4p3gn4a"
          },
          "editorMode": "code",
          "expr": "etcd_server_proposals_failed_total{job=\"kube-etcd\",cluster=~\"$cluster\",instance=~\"$instance\"}",
          "legendFormat": "{{instance}}",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "Failed proposals total",
      "type": "timeseries"
    }
  ],
  "preload": false,
  "refresh": "30s",
  "schemaVersion": 40,
  "tags": [
    "kubernetes",
    "etcd",
    "victoriametrics",
    "production"
  ],
  "templating": {
    "list": [
      {
        "current": {
          "text": "core-bdo-prod",
          "value": "core-bdo-prod"
        },
        "datasource": {
          "type": "prometheus",
          "uid": "cf535ym4p3gn4a"
        },
        "definition": "label_values(etcd_server_id{job=\"kube-etcd\"}, cluster)",
        "hide": 0,
        "includeAll": true,
        "label": "Cluster",
        "multi": false,
        "name": "cluster",
        "options": [],
        "query": "label_values(etcd_server_id{job=\"kube-etcd\"}, cluster)",
        "refresh": 1,
        "regex": "",
        "type": "query"
      },
      {
        "current": {
          "text": "All",
          "value": [
            "$__all"
          ]
        },
        "datasource": {
          "type": "prometheus",
          "uid": "cf535ym4p3gn4a"
        },
        "definition": "label_values(etcd_server_id{job=\"kube-etcd\",cluster=~\"$cluster\"}, instance)",
        "hide": 0,
        "includeAll": true,
        "label": "Instance",
        "multi": true,
        "name": "instance",
        "options": [],
        "query": "label_values(etcd_server_id{job=\"kube-etcd\",cluster=~\"$cluster\"}, instance)",
        "refresh": 2,
        "regex": "",
        "type": "query"
      }
    ]
  },
  "time": {
    "from": "now-6h",
    "to": "now"
  },
  "timepicker": {},
  "timezone": "browser",
  "title": "Kubernetes etcd — Production (VictoriaMetrics)",
  "uid": "k8s-etcd-prod-v3",
  "version": 1,
  "weekStart": ""
}