blob: 8b3bfc95e10c7eb07369c9c0d10cc5c5cdbe4f83 [file] [log] [blame]
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
[
{
"id": "apisix-Instance",
"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": false,
"showXAxis": true,
"showYAxis": true
},
"metrics": [
"meter_apisix_instance_http_requests"
],
"metricTypes": [
"readMetricsValues"
]
},
{
"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": false,
"showXAxis": true,
"showYAxis": true
},
"metrics": [
"meter_apisix_instance_http_status_matched"
],
"metricTypes": [
"readLabeledMetricsValues"
],
"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": false,
"showXAxis": true,
"showYAxis": true
},
"metrics": [
"meter_apisix_instance_http_latency_matched"
],
"metricTypes": [
"readLabeledMetricsValues"
],
"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": false,
"showXAxis": true,
"showYAxis": true
},
"metrics": [
"meter_apisix_instance_bandwidth_matched"
],
"metricTypes": [
"readLabeledMetricsValues"
],
"associate": [
{
"widgetId": "1"
},
{
"widgetId": "2"
},
{
"widgetId": "3"
},
{
"widgetId": "4"
},
{
"widgetId": "6"
},
{
"widgetId": "7"
},
{
"widgetId": "8"
}
],
"metricConfig": [
{
"calculation": "byteToKB"
}
]
},
{
"x": 0,
"y": 13,
"w": 6,
"h": 13,
"i": "5",
"type": "Widget",
"metricTypes": [
"readLabeledMetricsValues"
],
"metrics": [
"meter_apisix_instance_http_connections"
],
"graph": {
"type": "Line",
"step": false,
"smooth": false,
"showSymbol": false,
"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": false,
"showXAxis": true,
"showYAxis": true
},
"metrics": [
"meter_apisix_instance_http_status_unmatched"
],
"metricTypes": [
"readLabeledMetricsValues"
],
"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": false,
"showXAxis": true,
"showYAxis": true
},
"metrics": [
"meter_apisix_instance_http_latency_unmatched"
],
"metricTypes": [
"readLabeledMetricsValues"
],
"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": false,
"showXAxis": true,
"showYAxis": true
},
"metrics": [
"meter_apisix_instance_bandwidth_unmatched"
],
"metricTypes": [
"readLabeledMetricsValues"
],
"associate": [
{
"widgetId": "1"
},
{
"widgetId": "2"
},
{
"widgetId": "3"
},
{
"widgetId": "4"
},
{
"widgetId": "6"
},
{
"widgetId": "7"
},
{
"widgetId": "8"
}
],
"metricConfig": [
{
"calculation": "byteToKB"
}
]
},
{
"x": 0,
"y": 26,
"w": 6,
"h": 13,
"i": "9",
"type": "Widget",
"widget": {
"title": "Shard Dict Capacity (MB)"
},
"graph": {
"type": "Line",
"step": false,
"smooth": false,
"showSymbol": false,
"showXAxis": true,
"showYAxis": true
},
"metrics": [
"meter_apisix_instance_shared_dict_capacity_bytes"
],
"metricTypes": [
"readLabeledMetricsValues"
],
"metricConfig": [
{
"calculation": "byteToMB"
}
],
"associate": [
{
"widgetId": "9"
},
{
"widgetId": "10"
}
]
},
{
"x": 6,
"y": 26,
"w": 6,
"h": 13,
"i": "10",
"type": "Widget",
"widget": {
"title": "Shared Dict Free Space (MB)"
},
"graph": {
"type": "Line",
"step": false,
"smooth": false,
"showSymbol": false,
"showXAxis": true,
"showYAxis": true
},
"metrics": [
"meter_apisix_instance_shared_dict_free_space_bytes"
],
"metricTypes": [
"readLabeledMetricsValues"
],
"metricConfig": [
{
"calculation": "byteToMB"
}
],
"associate": [
{
"widgetId": "9"
},
{
"widgetId": "10"
}
]
},
{
"x": 12,
"y": 26,
"w": 6,
"h": 13,
"i": "11",
"type": "Widget",
"widget": {
"title": "etcd indexes"
},
"graph": {
"type": "Line",
"step": false,
"smooth": false,
"showSymbol": false,
"showXAxis": true,
"showYAxis": true
},
"metrics": [
"meter_apisix_instance_etcd_indexes"
],
"metricTypes": [
"readLabeledMetricsValues"
],
"associate": [
]
},
{
"x": 18,
"y": 26,
"w": 6,
"h": 13,
"i": "14",
"type": "Widget",
"widget": {
"title": "etcd latest reachability",
"tips": "0 represents etcd unreachable, 1 represents etcd connected."
},
"graph": {
"type": "Card",
"fontSize": 40,
"textAlign": "center",
"showUnit": true
},
"metrics": [
"meter_apisix_instance_etcd_reachable"
],
"metricTypes": [
"readMetricsValue"
],
"associate": [
{
"widgetId": "1"
},
{
"widgetId": "2"
},
{
"widgetId": "3"
},
{
"widgetId": "4"
},
{
"widgetId": "6"
},
{
"widgetId": "7"
},
{
"widgetId": "8"
}
]
}
],
"layer": "APISIX",
"entity": "ServiceInstance",
"name": "APISIX-Instance",
"id": "apisix-Instance",
"isRoot": false
}
}
]