
[
  {
    "id": "APISIX-Service",
    "configuration": {
      "children": [
        {
          "x": 0,
          "y": 0,
          "w": 6,
          "h": 13,
          "i": "1",
          "type": "Widget",
          "widget": {
            "title": "HTTP Request Trend (requests per second)"
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true
          },
          "expressions": [
            "meter_apisix_sv_http_requests"
          ],
          "metricMode": "Expression",
          "typesOfMQE": [
            "TIME_SERIES_VALUES"
          ]
        },

        {
          "x": 6,
          "y": 0,
          "w": 6,
          "h": 13,
          "i": "2",
          "type": "Widget",
          "widget": {
            "title": "HTTP Status Trend (requests per second)"
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true
          },
          "expressions": [
            "meter_apisix_sv_http_status_matched"
          ],
          "metricMode": "Expression",
          "typesOfMQE": [
            "TIME_SERIES_VALUES"
          ],
          "associate": [
            {
              "widgetId": "1"
            },
            {
              "widgetId": "2"
            },
            {
              "widgetId": "3"
            },
            {
              "widgetId": "4"
            },
            {
              "widgetId": "6"
            },
            {
              "widgetId": "7"
            },
            {
              "widgetId": "8"
            }
          ]
        },
        {
          "x": 12,
          "y": 0,
          "w": 6,
          "h": 13,
          "i": "3",
          "type": "Widget",
          "widget": {
            "title": "HTTP Latency (ms)"
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true
          },
          "expressions": [
            "meter_apisix_sv_http_latency_matched"
          ],
          "metricMode": "Expression",
          "typesOfMQE": [
            "TIME_SERIES_VALUES"
          ],
          "associate": [
            {
              "widgetId": "1"
            },
            {
              "widgetId": "2"
            },
            {
              "widgetId": "3"
            },
            {
              "widgetId": "4"
            },
            {
              "widgetId": "6"
            },
            {
              "widgetId": "7"
            },
            {
              "widgetId": "8"
            }
          ]
        },

        {
          "x": 18,
          "y": 0,
          "w": 6,
          "h": 13,
          "i": "4",
          "type": "Widget",
          "widget": {
            "title": "HTTP Bandwidth (KB)"
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true
          },
          "expressions": [
            "meter_apisix_sv_bandwidth_matched/1024"
          ],
          "metricMode": "Expression",
          "typesOfMQE": [
            "TIME_SERIES_VALUES"
          ],
          "associate": [
            {
              "widgetId": "1"
            },
            {
              "widgetId": "2"
            },
            {
              "widgetId": "3"
            },
            {
              "widgetId": "4"
            },
            {
              "widgetId": "6"
            },
            {
              "widgetId": "7"
            },
            {
              "widgetId": "8"
            }
          ]
        },
        {
          "x": 0,
          "y": 13,
          "w": 6,
          "h": 13,
          "i": "5",
          "type": "Widget",
          "expressions": [
            "meter_apisix_sv_http_connections"
          ],
          "metricMode": "Expression",
          "typesOfMQE": [
            "TIME_SERIES_VALUES"
          ],
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true
          },
          "widget": {
            "title": "HTTP Connections"
          },
          "associate": [
            {
              "widgetId": "1"
            },
            {
              "widgetId": "2"
            },
            {
              "widgetId": "3"
            },
            {
              "widgetId": "4"
            },
            {
              "widgetId": "6"
            },
            {
              "widgetId": "7"
            },
            {
              "widgetId": "8"
            }
          ]
        },

        {
          "x": 6,
          "y": 13,
          "w": 6,
          "h": 13,
          "i": "6",
          "type": "Widget",
          "widget": {
            "title": "HTTP Status Trend of non-matched requests (requests per second)"
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true
          },
          "expressions": [
            "meter_apisix_sv_http_status_unmatched"
          ],
          "metricMode": "Expression",
          "typesOfMQE": [
            "TIME_SERIES_VALUES"
          ],
          "associate": [
            {
              "widgetId": "1"
            },
            {
              "widgetId": "2"
            },
            {
              "widgetId": "3"
            },
            {
              "widgetId": "4"
            },
            {
              "widgetId": "6"
            },
            {
              "widgetId": "7"
            },
            {
              "widgetId": "8"
            }
          ]
        },
        {
          "x": 12,
          "y": 13,
          "w": 6,
          "h": 13,
          "i": "7",
          "type": "Widget",
          "widget": {
            "title": "HTTP Latency of non-matched requests (ms)"
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true
          },
          "expressions": [
            "meter_apisix_sv_http_latency_unmatched"
          ],
          "metricMode": "Expression",
          "typesOfMQE": [
            "TIME_SERIES_VALUES"
          ],
          "associate": [
            {
              "widgetId": "1"
            },
            {
              "widgetId": "2"
            },
            {
              "widgetId": "3"
            },
            {
              "widgetId": "4"
            },
            {
              "widgetId": "6"
            },
            {
              "widgetId": "7"
            },
            {
              "widgetId": "8"
            }
          ]
        },

        {
          "x": 18,
          "y": 13,
          "w": 6,
          "h": 13,
          "i": "8",
          "type": "Widget",
          "widget": {
            "title": "HTTP Bandwidth of non-matched requests (KB)"
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true
          },
          "expressions": [
            "meter_apisix_sv_bandwidth_unmatched/1024"
          ],
          "metricMode": "Expression",
          "typesOfMQE": [
            "TIME_SERIES_VALUES"
          ],
          "associate": [
            {
              "widgetId": "1"
            },
            {
              "widgetId": "2"
            },
            {
              "widgetId": "3"
            },
            {
              "widgetId": "4"
            },
            {
              "widgetId": "6"
            },
            {
              "widgetId": "7"
            },
            {
              "widgetId": "8"
            }
          ]
        },
        {
          "x": 0,
          "y": 26,
          "w": 12,
          "h": 26,
          "i": "12",
          "type": "Widget",
          "graph": {
            "type": "InstanceList",
            "dashboardName": "APISIX-Instance",
            "fontSize": 12,
            "showXAxis": false,
            "showYAxis": false,
            "showGroup": true
          }
        },
        {
          "x": 12,
          "y": 26,
          "w": 12,
          "h": 26,
          "i": "13",
          "type": "Widget",
          "graph": {
            "type": "EndpointList",
            "dashboardName": "APISIX-Endpoint",
            "fontSize": 12,
            "showXAxis": false,
            "showYAxis": false,
            "showGroup": true
          }
        }
      ],
      "layer": "APISIX",
      "entity": "Service",
      "name": "APISIX-Service",
      "isRoot": false,
      "isDefault": true,
      "expressions": [
        "avg(meter_apisix_sv_http_status_matched{_='200'})",
        "avg(meter_apisix_sv_http_status_matched{_='304'})",
        "avg(meter_apisix_sv_http_status_matched{_='404'})",
        "avg(meter_apisix_sv_http_status_matched{_='499'})",
        "avg(meter_apisix_sv_http_status_matched{_='503'})"
      ],
      "expressionsConfig": [
        {
          "unit": "req / s",
          "label": "HTTP Status 200"
        },
        {
          "unit": "req / s",
          "label": "HTTP Status 304"
        },
        {
          "unit": "req / s",
          "label": "HTTP Status 404"
        },
        {
          "unit": "req / s",
          "label": "HTTP Status 499"
        },
        {
          "unit": "req / s",
          "label": "HTTP Status 503"
        }
      ]
    }
  }
]
