{

  "annotations": {

    "list": [

      {

        "builtIn": 1,

        "datasource": {

          "type": "grafana",

          "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"

      }

    ]

  },

  "description": "Memcache Monitoring Dashboard - 请确保已配置 Prometheus 数据源",

  "editable": true,

  "fiscalYearStartMonth": 0,

  "graphTooltip": 0,

  "id": null,

  "links": [],

  "liveNow": false,

  "panels": [

    {

      "datasource": {

        "type": "prometheus",

        "uid": "${DS_PROMETHEUS}"

      },

      "description": "Memcache stored keys 状态",

      "fieldConfig": {

        "defaults": {

          "color": {

            "mode": "thresholds"

          },

          "mappings": [],

          "thresholds": {

            "mode": "absolute",

            "steps": [

              {

                "color": "green"

              },

              {

                "color": "yellow",

                "value": 5000

              },

              {

                "color": "red",

                "value": 10000

              }

            ]

          },

          "unit": "none"

        },

        "overrides": []

      },

      "gridPos": {

        "h": 4,

        "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"

      },

      "targets": [

        {

          "datasource": {

            "type": "prometheus",

            "uid": "${DS_PROMETHEUS}"

          },

          "editorMode": "code",

          "expr": "memcache_stored_keys",

          "instant": false,

          "legendFormat": "Stored Keys",

          "refId": "A"

        }

      ],

      "title": "Stored Keys",

      "type": "stat"

    },

    {

      "datasource": {

        "type": "prometheus",

        "uid": "${DS_PROMETHEUS}"

      },

      "description": "Alloc、Get、Remove 请求计数",

      "fieldConfig": {

        "defaults": {

          "color": {

            "mode": "palette-classic"

          },

          "custom": {

            "axisBorderShow": false,

            "axisCenteredZero": false,

            "axisColorMode": "text",

            "axisLabel": "",

            "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": "auto",

            "spanNulls": false,

            "stacking": {

              "group": "A",

              "mode": "none"

            },

            "thresholdsStyle": {

              "mode": "off"

            }

          },

          "mappings": [],

          "thresholds": {

            "mode": "absolute",

            "steps": [

              {

                "color": "green"

              },

              {

                "color": "red",

                "value": 80

              }

            ]

          },

          "unit": "ops"

        },

        "overrides": []

      },

      "gridPos": {

        "h": 4,

        "w": 18,

        "x": 6,

        "y": 0

      },

      "id": 2,

      "options": {

        "legend": {

          "calcs": ["last"],

          "displayMode": "table",

          "placement": "bottom",

          "showLegend": true

        },

        "tooltip": {

          "mode": "multi",

          "sort": "desc"

        }

      },

      "targets": [

        {

          "datasource": {

            "type": "prometheus",

            "uid": "${DS_PROMETHEUS}"

          },

          "editorMode": "code",

          "expr": "memcache_alloc_requests_total",

          "instant": false,

          "legendFormat": "Alloc Requests",

          "refId": "A"

        },

        {

          "datasource": {

            "type": "prometheus",

            "uid": "${DS_PROMETHEUS}"

          },

          "editorMode": "code",

          "expr": "memcache_get_requests_total",

          "hide": false,

          "instant": false,

          "legendFormat": "Get Requests",

          "refId": "B"

        },

        {

          "datasource": {

            "type": "prometheus",

            "uid": "${DS_PROMETHEUS}"

          },

          "editorMode": "code",

          "expr": "memcache_remove_requests_total",

          "hide": false,

          "instant": false,

          "legendFormat": "Remove Requests",

          "refId": "C"

        },

        {

          "datasource": {

            "type": "prometheus",

            "uid": "${DS_PROMETHEUS}"

          },

          "editorMode": "code",

          "expr": "memcache_update_state_requests_total",

          "hide": false,

          "instant": false,

          "legendFormat": "UpdateState Requests",

          "refId": "D"

        }

      ],

      "title": "Request Counts",

      "type": "timeseries"

    },

    {

      "datasource": {

        "type": "prometheus",

        "uid": "${DS_PROMETHEUS}"

      },

      "description": "Alloc、Get 成功计数",

      "fieldConfig": {

        "defaults": {

          "color": {

            "mode": "palette-classic"

          },

          "custom": {

            "axisBorderShow": false,

            "axisCenteredZero": false,

            "axisColorMode": "text",

            "axisLabel": "",

            "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": "auto",

            "spanNulls": false,

            "stacking": {

              "group": "A",

              "mode": "none"

            },

            "thresholdsStyle": {

              "mode": "off"

            }

          },

          "mappings": [],

          "thresholds": {

            "mode": "absolute",

            "steps": [

              {

                "color": "green"

              },

              {

                "color": "red",

                "value": 80

              }

            ]

          },

          "unit": "ops"

        },

        "overrides": []

      },

      "gridPos": {

        "h": 6,

        "w": 12,

        "x": 0,

        "y": 4

      },

      "id": 3,

      "options": {

        "legend": {

          "calcs": ["last"],

          "displayMode": "table",

          "placement": "bottom",

          "showLegend": true

        },

        "tooltip": {

          "mode": "multi",

          "sort": "desc"

        }

      },

      "targets": [

        {

          "datasource": {

            "type": "prometheus",

            "uid": "${DS_PROMETHEUS}"

          },

          "editorMode": "code",

          "expr": "memcache_alloc_successes_total",

          "instant": false,

          "legendFormat": "Alloc Successes",

          "refId": "A"

        },

        {

          "datasource": {

            "type": "prometheus",

            "uid": "${DS_PROMETHEUS}"

          },

          "editorMode": "code",

          "expr": "memcache_get_successes_total",

          "hide": false,

          "instant": false,

          "legendFormat": "Get Successes",

          "refId": "B"

        },

        {

          "datasource": {

            "type": "prometheus",

            "uid": "${DS_PROMETHEUS}"

          },

          "editorMode": "code",

          "expr": "memcache_remove_successes_total",

          "hide": false,

          "instant": false,

          "legendFormat": "Remove Successes",

          "refId": "C"

        },

        {

          "datasource": {

            "type": "prometheus",

            "uid": "${DS_PROMETHEUS}"

          },

          "editorMode": "code",

          "expr": "memcache_update_state_successes_total",

          "hide": false,

          "instant": false,

          "legendFormat": "UpdateState Successes",

          "refId": "D"

        }

      ],

      "title": "Success Counts",

      "type": "timeseries"

    },

    {

      "datasource": {

        "type": "prometheus",

        "uid": "${DS_PROMETHEUS}"

      },

      "description": "Alloc、Get 失败计数",

      "fieldConfig": {

        "defaults": {

          "color": {

            "mode": "palette-classic"

          },

          "custom": {

            "axisBorderShow": false,

            "axisCenteredZero": false,

            "axisColorMode": "text",

            "axisLabel": "",

            "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": "auto",

            "spanNulls": false,

            "stacking": {

              "group": "A",

              "mode": "none"

            },

            "thresholdsStyle": {

              "mode": "off"

            }

          },

          "mappings": [],

          "thresholds": {

            "mode": "absolute",

            "steps": [

              {

                "color": "green"

              },

              {

                "color": "red",

                "value": 80

              }

            ]

          },

          "unit": "ops"

        },

        "overrides": []

      },

      "gridPos": {

        "h": 6,

        "w": 12,

        "x": 12,

        "y": 4

      },

      "id": 4,

      "options": {

        "legend": {

          "calcs": ["last"],

          "displayMode": "table",

          "placement": "bottom",

          "showLegend": true

        },

        "tooltip": {

          "mode": "multi",

          "sort": "desc"

        }

      },

      "targets": [

        {

          "datasource": {

            "type": "prometheus",

            "uid": "${DS_PROMETHEUS}"

          },

          "editorMode": "code",

          "expr": "memcache_alloc_failures_total",

          "instant": false,

          "legendFormat": "Alloc Failures",

          "refId": "A"

        },

        {

          "datasource": {

            "type": "prometheus",

            "uid": "${DS_PROMETHEUS}"

          },

          "editorMode": "code",

          "expr": "memcache_get_failures_total",

          "hide": false,

          "instant": false,

          "legendFormat": "Get Failures",

          "refId": "B"

        },

        {

          "datasource": {

            "type": "prometheus",

            "uid": "${DS_PROMETHEUS}"

          },

          "editorMode": "code",

          "expr": "memcache_remove_failures_total",

          "hide": false,

          "instant": false,

          "legendFormat": "Remove Failures",

          "refId": "C"

        },

        {

          "datasource": {

            "type": "prometheus",

            "uid": "${DS_PROMETHEUS}"

          },

          "editorMode": "code",

          "expr": "memcache_update_state_failures_total",

          "hide": false,

          "instant": false,

          "legendFormat": "UpdateState Failures",

          "refId": "D"

        }

      ],

      "title": "Failure Counts",

      "type": "timeseries"

    },

    {

      "datasource": {

        "type": "prometheus",

        "uid": "${DS_PROMETHEUS}"

      },

      "description": "ExistKey 请求统计",

      "fieldConfig": {

        "defaults": {

          "color": {

            "mode": "palette-classic"

          },

          "custom": {

            "axisBorderShow": false,

            "axisCenteredZero": false,

            "axisColorMode": "text",

            "axisLabel": "",

            "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": "auto",

            "spanNulls": false,

            "stacking": {

              "group": "A",

              "mode": "none"

            },

            "thresholdsStyle": {

              "mode": "off"

            }

          },

          "mappings": [],

          "thresholds": {

            "mode": "absolute",

            "steps": [

              {

                "color": "green"

              },

              {

                "color": "red",

                "value": 80

              }

            ]

          },

          "unit": "ops"

        },

        "overrides": []

      },

      "gridPos": {

        "h": 6,

        "w": 12,

        "x": 0,

        "y": 10

      },

      "id": 5,

      "options": {

        "legend": {

          "calcs": ["last"],

          "displayMode": "table",

          "placement": "bottom",

          "showLegend": true

        },

        "tooltip": {

          "mode": "multi",

          "sort": "desc"

        }

      },

      "targets": [

        {

          "datasource": {

            "type": "prometheus",

            "uid": "${DS_PROMETHEUS}"

          },

          "editorMode": "code",

          "expr": "memcache_exist_key_requests_total",

          "instant": false,

          "legendFormat": "ExistKey Requests",

          "refId": "A"

        },

        {

          "datasource": {

            "type": "prometheus",

            "uid": "${DS_PROMETHEUS}"

          },

          "editorMode": "code",

          "expr": "memcache_exist_key_successes_total",

          "hide": false,

          "instant": false,

          "legendFormat": "ExistKey Successes",

          "refId": "B"

        },

        {

          "datasource": {

            "type": "prometheus",

            "uid": "${DS_PROMETHEUS}"

          },

          "editorMode": "code",

          "expr": "memcache_exist_key_not_found_total",

          "hide": false,

          "instant": false,

          "legendFormat": "ExistKey Not Found",

          "refId": "C"

        }

      ],

      "title": "ExistKey Operations",

      "type": "timeseries"

    },

    {

      "datasource": {

        "type": "prometheus",

        "uid": "${DS_PROMETHEUS}"

      },

      "description": "Batch 操作请求统计",

      "fieldConfig": {

        "defaults": {

          "color": {

            "mode": "palette-classic"

          },

          "custom": {

            "axisBorderShow": false,

            "axisCenteredZero": false,

            "axisColorMode": "text",

            "axisLabel": "",

            "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": "auto",

            "spanNulls": false,

            "stacking": {

              "group": "A",

              "mode": "none"

            },

            "thresholdsStyle": {

              "mode": "off"

            }

          },

          "mappings": [],

          "thresholds": {

            "mode": "absolute",

            "steps": [

              {

                "color": "green"

              },

              {

                "color": "red",

                "value": 80

              }

            ]

          },

          "unit": "ops"

        },

        "overrides": []

      },

      "gridPos": {

        "h": 6,

        "w": 12,

        "x": 12,

        "y": 10

      },

      "id": 6,

      "options": {

        "legend": {

          "calcs": ["last"],

          "displayMode": "table",

          "placement": "bottom",

          "showLegend": true

        },

        "tooltip": {

          "mode": "multi",

          "sort": "desc"

        }

      },

      "targets": [

        {

          "datasource": {

            "type": "prometheus",

            "uid": "${DS_PROMETHEUS}"

          },

          "editorMode": "code",

          "expr": "memcache_batch_alloc_requests_total",

          "instant": false,

          "legendFormat": "BatchAlloc Requests",

          "refId": "A"

        },

        {

          "datasource": {

            "type": "prometheus",

            "uid": "${DS_PROMETHEUS}"

          },

          "editorMode": "code",

          "expr": "memcache_batch_get_requests_total",

          "hide": false,

          "instant": false,

          "legendFormat": "BatchGet Requests",

          "refId": "B"

        },

        {

          "datasource": {

            "type": "prometheus",

            "uid": "${DS_PROMETHEUS}"

          },

          "editorMode": "code",

          "expr": "memcache_batch_remove_requests_total",

          "hide": false,

          "instant": false,

          "legendFormat": "BatchRemove Requests",

          "refId": "C"

        }

      ],

      "title": "Batch Operations",

      "type": "timeseries"

    },

    {

      "datasource": {

        "type": "prometheus",

        "uid": "${DS_PROMETHEUS}"

      },

      "description": "内存分配情况",

      "fieldConfig": {

        "defaults": {

          "color": {

            "mode": "palette-classic"

          },

          "custom": {

            "axisBorderShow": false,

            "axisCenteredZero": false,

            "axisColorMode": "text",

            "axisLabel": "",

            "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": "auto",

            "spanNulls": false,

            "stacking": {

              "group": "A",

              "mode": "none"

            },

            "thresholdsStyle": {

              "mode": "off"

            }

          },

          "mappings": [],

          "thresholds": {

            "mode": "absolute",

            "steps": [

              {

                "color": "green"

              },

              {

                "color": "red",

                "value": 80

              }

            ]

          },

          "unit": "bytes"

        },

        "overrides": []

      },

      "gridPos": {

        "h": 6,

        "w": 12,

        "x": 0,

        "y": 16

      },

      "id": 7,

      "options": {

        "legend": {

          "calcs": ["last"],

          "displayMode": "table",

          "placement": "bottom",

          "showLegend": true

        },

        "tooltip": {

          "mode": "multi",

          "sort": "desc"

        }

      },

      "targets": [

        {

          "datasource": {

            "type": "prometheus",

            "uid": "${DS_PROMETHEUS}"

          },

          "editorMode": "code",

          "expr": "memcache_allocated_bytes",

          "instant": false,

          "legendFormat": "{{medium}}",

          "refId": "A"

        }

      ],

      "title": "Memory Allocation",

      "type": "timeseries"

    },

    {

      "datasource": {

        "type": "prometheus",

        "uid": "${DS_PROMETHEUS}"

      },

      "description": "内存容量",

      "fieldConfig": {

        "defaults": {

          "color": {

            "mode": "palette-classic"

          },

          "custom": {

            "axisBorderShow": false,

            "axisCenteredZero": false,

            "axisColorMode": "text",

            "axisLabel": "",

            "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": "auto",

            "spanNulls": false,

            "stacking": {

              "group": "A",

              "mode": "none"

            },

            "thresholdsStyle": {

              "mode": "off"

            }

          },

          "mappings": [],

          "thresholds": {

            "mode": "absolute",

            "steps": [

              {

                "color": "green"

              },

              {

                "color": "red",

                "value": 80

              }

            ]

          },

          "unit": "bytes"

        },

        "overrides": []

      },

      "gridPos": {

        "h": 6,

        "w": 12,

        "x": 12,

        "y": 16

      },

      "id": 8,

      "options": {

        "legend": {

          "calcs": ["last"],

          "displayMode": "table",

          "placement": "bottom",

          "showLegend": true

        },

        "tooltip": {

          "mode": "multi",

          "sort": "desc"

        }

      },

      "targets": [

        {

          "datasource": {

            "type": "prometheus",

            "uid": "${DS_PROMETHEUS}"

          },

          "editorMode": "code",

          "expr": "memcache_total_capacity_bytes",

          "instant": false,

          "legendFormat": "{{medium}}",

          "refId": "A"

        }

      ],

      "title": "Memory Capacity",

      "type": "timeseries"

    },

    {

      "datasource": {

        "type": "prometheus",

        "uid": "${DS_PROMETHEUS}"

      },

      "description": "Segment 分配情况",

      "fieldConfig": {

        "defaults": {

          "color": {

            "mode": "palette-classic"

          },

          "custom": {

            "axisBorderShow": false,

            "axisCenteredZero": false,

            "axisColorMode": "text",

            "axisLabel": "",

            "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": "auto",

            "spanNulls": false,

            "stacking": {

              "group": "A",

              "mode": "none"

            },

            "thresholdsStyle": {

              "mode": "off"

            }

          },

          "mappings": [],

          "thresholds": {

            "mode": "absolute",

            "steps": [

              {

                "color": "green"

              },

              {

                "color": "red",

                "value": 80

              }

            ]

          },

          "unit": "bytes"

        },

        "overrides": []

      },

      "gridPos": {

        "h": 6,

        "w": 12,

        "x": 0,

        "y": 22

      },

      "id": 9,

      "options": {

        "legend": {

          "calcs": ["last"],

          "displayMode": "table",

          "placement": "bottom",

          "showLegend": true

        },

        "tooltip": {

          "mode": "multi",

          "sort": "desc"

        }

      },

      "targets": [

        {

          "datasource": {

            "type": "prometheus",

            "uid": "${DS_PROMETHEUS}"

          },

          "editorMode": "code",

          "expr": "memcache_segment_allocated_bytes",

          "instant": false,

          "legendFormat": "{{segment}}",

          "refId": "A"

        }

      ],

      "title": "Segment Allocation",

      "type": "timeseries"

    },

    {

      "datasource": {

        "type": "prometheus",

        "uid": "${DS_PROMETHEUS}"

      },

      "description": "Segment 容量",

      "fieldConfig": {

        "defaults": {

          "color": {

            "mode": "palette-classic"

          },

          "custom": {

            "axisBorderShow": false,

            "axisCenteredZero": false,

            "axisColorMode": "text",

            "axisLabel": "",

            "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": "auto",

            "spanNulls": false,

            "stacking": {

              "group": "A",

              "mode": "none"

            },

            "thresholdsStyle": {

              "mode": "off"

            }

          },

          "mappings": [],

          "thresholds": {

            "mode": "absolute",

            "steps": [

              {

                "color": "green"

              },

              {

                "color": "red",

                "value": 80

              }

            ]

          },

          "unit": "bytes"

        },

        "overrides": []

      },

      "gridPos": {

        "h": 6,

        "w": 12,

        "x": 12,

        "y": 22

      },

      "id": 10,

      "options": {

        "legend": {

          "calcs": ["last"],

          "displayMode": "table",

          "placement": "bottom",

          "showLegend": true

        },

        "tooltip": {

          "mode": "multi",

          "sort": "desc"

        }

      },

      "targets": [

        {

          "datasource": {

            "type": "prometheus",

            "uid": "${DS_PROMETHEUS}"

          },

          "editorMode": "code",

          "expr": "memcache_segment_capacity_bytes",

          "instant": false,

          "legendFormat": "{{segment}}",

          "refId": "A"

        }

      ],

      "title": "Segment Capacity",

      "type": "timeseries"

    },

    {

      "datasource": {

        "type": "prometheus",

        "uid": "${DS_PROMETHEUS}"

      },

      "description": "其他操作",

      "fieldConfig": {

        "defaults": {

          "color": {

            "mode": "palette-classic"

          },

          "custom": {

            "axisBorderShow": false,

            "axisCenteredZero": false,

            "axisColorMode": "text",

            "axisLabel": "",

            "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": "auto",

            "spanNulls": false,

            "stacking": {

              "group": "A",

              "mode": "none"

            },

            "thresholdsStyle": {

              "mode": "off"

            }

          },

          "mappings": [],

          "thresholds": {

            "mode": "absolute",

            "steps": [

              {

                "color": "green"

              },

              {

                "color": "red",

                "value": 80

              }

            ]

          },

          "unit": "ops"

        },

        "overrides": []

      },

      "gridPos": {

        "h": 6,

        "w": 12,

        "x": 0,

        "y": 28

      },

      "id": 11,

      "options": {

        "legend": {

          "calcs": ["last"],

          "displayMode": "table",

          "placement": "bottom",

          "showLegend": true

        },

        "tooltip": {

          "mode": "multi",

          "sort": "desc"

        }

      },

      "targets": [

        {

          "datasource": {

            "type": "prometheus",

            "uid": "${DS_PROMETHEUS}"

          },

          "editorMode": "code",

          "expr": "memcache_mount_requests_total",

          "instant": false,

          "legendFormat": "Mount Requests",

          "refId": "A"

        },

        {

          "datasource": {

            "type": "prometheus",

            "uid": "${DS_PROMETHEUS}"

          },

          "editorMode": "code",

          "expr": "memcache_unmount_requests_total",

          "hide": false,

          "instant": false,

          "legendFormat": "Unmount Requests",

          "refId": "B"

        },

        {

          "datasource": {

            "type": "prometheus",

            "uid": "${DS_PROMETHEUS}"

          },

          "editorMode": "code",

          "expr": "memcache_evict_operations_total",

          "hide": false,

          "instant": false,

          "legendFormat": "Evict Operations",

          "refId": "C"

        }

      ],

      "title": "Other Operations",

      "type": "timeseries"

    },

    {

      "datasource": {

        "type": "prometheus",

        "uid": "${DS_PROMETHEUS}"

      },

      "description": "Query 和 GetAllKeys 操作",

      "fieldConfig": {

        "defaults": {

          "color": {

            "mode": "palette-classic"

          },

          "custom": {

            "axisBorderShow": false,

            "axisCenteredZero": false,

            "axisColorMode": "text",

            "axisLabel": "",

            "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": "auto",

            "spanNulls": false,

            "stacking": {

              "group": "A",

              "mode": "none"

            },

            "thresholdsStyle": {

              "mode": "off"

            }

          },

          "mappings": [],

          "thresholds": {

            "mode": "absolute",

            "steps": [

              {

                "color": "green"

              },

              {

                "color": "red",

                "value": 80

              }

            ]

          },

          "unit": "ops"

        },

        "overrides": []

      },

      "gridPos": {

        "h": 6,

        "w": 12,

        "x": 12,

        "y": 28

      },

      "id": 12,

      "options": {

        "legend": {

          "calcs": ["last"],

          "displayMode": "table",

          "placement": "bottom",

          "showLegend": true

        },

        "tooltip": {

          "mode": "multi",

          "sort": "desc"

        }

      },

      "targets": [

        {

          "datasource": {

            "type": "prometheus",

            "uid": "${DS_PROMETHEUS}"

          },

          "editorMode": "code",

          "expr": "memcache_query_requests_total",

          "instant": false,

          "legendFormat": "Query Requests",

          "refId": "A"

        },

        {

          "datasource": {

            "type": "prometheus",

            "uid": "${DS_PROMETHEUS}"

          },

          "editorMode": "code",

          "expr": "memcache_get_all_keys_requests_total",

          "hide": false,

          "instant": false,

          "legendFormat": "GetAllKeys Requests",

          "refId": "B"

        },

        {

          "datasource": {

            "type": "prometheus",

            "uid": "${DS_PROMETHEUS}"

          },

          "editorMode": "code",

          "expr": "memcache_remove_all_requests_total",

          "hide": false,

          "instant": false,

          "legendFormat": "RemoveAll Requests",

          "refId": "C"

        }

      ],

      "title": "Query Operations",

      "type": "timeseries"

    }

  ],

  "refresh": "10s",

  "schemaVersion": 39,

  "tags": ["memcache"],

  "templating": {

    "list": [

      {

        "current": {

          "selected": false,

          "text": "prometheus",

          "value": "prometheus"

        },

        "hide": 0,

        "includeAll": false,

        "label": "datasource",

        "multi": false,

        "name": "DS_PROMETHEUS",

        "options": [],

        "query": "prometheus",

        "queryValue": "",

        "refresh": 1,

        "regex": "",

        "skipUrlSync": false,

        "type": "datasource"

      }

    ]

  },

  "time": {

    "from": "now-5m",

    "to": "now"

  },

  "timepicker": {},

  "timezone": "",

  "title": "Memcache Dashboard",

  "uid": "memcache-dashboard",

  "version": 2,

  "weekStart": ""

}