mirror of
https://github.com/devitq/homelab.git
synced 2026-11-21 02:37:40 +00:00
2942 lines
121 KiB
YAML
2942 lines
121 KiB
YAML
apiVersion: v1
|
|
data:
|
|
cilium-envoy-overview.json: |
|
|
{
|
|
"apiVersion": "dashboard.grafana.app/v2",
|
|
"kind": "Dashboard",
|
|
"metadata": {
|
|
"name": "cilium-envoy-overview",
|
|
"namespace": "default",
|
|
"uid": "643b15c8-d5f1-4e4c-81e3-553a20c07b06",
|
|
"resourceVersion": "1788358339231006",
|
|
"generation": 1,
|
|
"creationTimestamp": "2026-09-02T14:12:19Z",
|
|
"labels": {
|
|
"grafana.app/deprecatedInternalID": "979019200385024"
|
|
},
|
|
"annotations": {
|
|
"grafana.app/createdBy": "user:cfx1picle4dmod",
|
|
"grafana.app/saved-from-ui": "Grafana v13.2.0 (f681b1359f)"
|
|
}
|
|
},
|
|
"spec": {
|
|
"annotations": [
|
|
{
|
|
"kind": "AnnotationQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "grafana",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "-- Grafana --"
|
|
},
|
|
"spec": {}
|
|
},
|
|
"enable": true,
|
|
"hide": true,
|
|
"iconColor": "rgba(0, 211, 255, 1)",
|
|
"name": "Annotations & Alerts",
|
|
"builtIn": true,
|
|
"legacyOptions": {
|
|
"type": "dashboard"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"cursorSync": "Off",
|
|
"description": "A comprehensive overview dashboard for monitoring Envoy proxy deployments. Provides high-level metrics across all upstreams and downstreams including request rates, latency percentiles, success rates, active connections, and SSL certificate expirations. Use this dashboard to identify trends, spot anomalies, and drill down into specific upstream clusters or downstream connection managers. The dashboards were generated using [envoy-mixin](https://github.com/adinhodovic/envoy-mixin). Open issues and create feature requests in the repository.",
|
|
"editable": false,
|
|
"elements": {
|
|
"panel-10": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"id": 10,
|
|
"title": "Downstream Rate by Envoy HTTP Conn Manager Prefix [1h]",
|
|
"description": "Distribution of incoming client traffic across different HTTP connection managers (listeners) over the past hour. Helps identify which ingress points receive the most traffic and validate routing configurations.",
|
|
"links": [],
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"expr": "topk(20,\n sum(\n rate(\n envoy_http_downstream_rq_total{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_http_conn_manager_prefix=~\"$envoy_http_conn_manager_prefix\"\n\n }[1h]\n )\n ) by (envoy_http_conn_manager_prefix)\n)\n",
|
|
"instant": true,
|
|
"legendFormat": "{{ envoy_http_conn_manager_prefix }}"
|
|
}
|
|
},
|
|
"refId": "A",
|
|
"hidden": false
|
|
}
|
|
}
|
|
],
|
|
"transformations": [],
|
|
"queryOptions": {}
|
|
}
|
|
},
|
|
"vizConfig": {
|
|
"kind": "VizConfig",
|
|
"group": "piechart",
|
|
"version": "v11.4.0",
|
|
"spec": {
|
|
"options": {
|
|
"displayLabels": [
|
|
"percent"
|
|
],
|
|
"legend": {
|
|
"displayMode": "table",
|
|
"placement": "right",
|
|
"showLegend": true,
|
|
"values": [
|
|
"percent"
|
|
]
|
|
},
|
|
"tooltip": {
|
|
"mode": "multi",
|
|
"sort": "desc"
|
|
}
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "reqps"
|
|
},
|
|
"overrides": []
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"panel-11": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"id": 11,
|
|
"title": "Upstream Rate by Pod [1h]",
|
|
"description": "Distribution of upstream requests across Envoy proxy pods over the past hour. Use this to verify load balancing across proxy instances and identify if specific pods are handling disproportionate traffic, which may indicate scaling or routing issues.",
|
|
"links": [],
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"expr": "sum(\n rate(\n envoy_cluster_upstream_rq_total{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_cluster_name=~\"$envoy_cluster_name\"\n\n }[1h]\n )\n) by (pod)\n",
|
|
"instant": true,
|
|
"legendFormat": "{{ pod }}"
|
|
}
|
|
},
|
|
"refId": "A",
|
|
"hidden": false
|
|
}
|
|
}
|
|
],
|
|
"transformations": [],
|
|
"queryOptions": {}
|
|
}
|
|
},
|
|
"vizConfig": {
|
|
"kind": "VizConfig",
|
|
"group": "piechart",
|
|
"version": "v11.4.0",
|
|
"spec": {
|
|
"options": {
|
|
"displayLabels": [
|
|
"percent"
|
|
],
|
|
"legend": {
|
|
"displayMode": "table",
|
|
"placement": "right",
|
|
"showLegend": true,
|
|
"values": [
|
|
"percent"
|
|
]
|
|
},
|
|
"tooltip": {
|
|
"mode": "multi",
|
|
"sort": "desc"
|
|
}
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "reqps"
|
|
},
|
|
"overrides": []
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"panel-13": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"id": 13,
|
|
"title": "Upstream Rate",
|
|
"description": "Aggregated upstream request rate across all selected clusters over time. Shows overall backend traffic volume. Sudden drops may indicate upstream failures or circuit breaker activations. Spikes could indicate retry storms or traffic surges.",
|
|
"links": [],
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"exemplar": false,
|
|
"expr": "sum(\n rate(\n envoy_cluster_upstream_rq_total{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_cluster_name=~\"$envoy_cluster_name\"\n\n }[$__rate_interval]\n )\n)\n",
|
|
"legendFormat": "Upstream"
|
|
}
|
|
},
|
|
"refId": "A",
|
|
"hidden": false
|
|
}
|
|
}
|
|
],
|
|
"transformations": [],
|
|
"queryOptions": {}
|
|
}
|
|
},
|
|
"vizConfig": {
|
|
"kind": "VizConfig",
|
|
"group": "timeseries",
|
|
"version": "v11.4.0",
|
|
"spec": {
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [
|
|
"mean",
|
|
"max"
|
|
],
|
|
"displayMode": "table",
|
|
"placement": "right",
|
|
"showLegend": true,
|
|
"sortBy": "mean",
|
|
"sortDesc": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "multi",
|
|
"sort": "desc"
|
|
}
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "reqps",
|
|
"custom": {
|
|
"axisSoftMin": 0,
|
|
"fillOpacity": 100,
|
|
"lineWidth": 1,
|
|
"stacking": {
|
|
"mode": "normal"
|
|
}
|
|
}
|
|
},
|
|
"overrides": []
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"panel-14": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"id": 14,
|
|
"title": "Upstream Latency",
|
|
"description": "Upstream request latency percentiles (P50, P95, P99) measured from Envoy to backend services. Includes connection establishment, request transmission, backend processing, and response receipt. Increasing P95/P99 often indicates backend degradation before P50 is affected. Use exemplars to trace high-latency requests.",
|
|
"links": [],
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"exemplar": false,
|
|
"expr": "histogram_quantile(\n 0.5,\n sum(\n rate(\n envoy_cluster_upstream_rq_time_bucket{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_cluster_name=~\"$envoy_cluster_name\"\n\n }[$__rate_interval]\n )\n ) by (le)\n)\n",
|
|
"legendFormat": "P50"
|
|
}
|
|
},
|
|
"refId": "A",
|
|
"hidden": false
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"exemplar": false,
|
|
"expr": "histogram_quantile(\n 0.95,\n sum(\n rate(\n envoy_cluster_upstream_rq_time_bucket{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_cluster_name=~\"$envoy_cluster_name\"\n\n }[$__rate_interval]\n )\n ) by (le)\n)\n",
|
|
"legendFormat": "P95"
|
|
}
|
|
},
|
|
"refId": "B",
|
|
"hidden": false
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"exemplar": true,
|
|
"expr": "histogram_quantile(\n 0.99,\n sum(\n rate(\n envoy_cluster_upstream_rq_time_bucket{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_cluster_name=~\"$envoy_cluster_name\"\n\n }[$__rate_interval]\n )\n ) by (le)\n)\n",
|
|
"legendFormat": "P99"
|
|
}
|
|
},
|
|
"refId": "C",
|
|
"hidden": false
|
|
}
|
|
}
|
|
],
|
|
"transformations": [],
|
|
"queryOptions": {}
|
|
}
|
|
},
|
|
"vizConfig": {
|
|
"kind": "VizConfig",
|
|
"group": "timeseries",
|
|
"version": "v11.4.0",
|
|
"spec": {
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [
|
|
"mean",
|
|
"max"
|
|
],
|
|
"displayMode": "table",
|
|
"placement": "right",
|
|
"showLegend": true,
|
|
"sortBy": "mean",
|
|
"sortDesc": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "multi",
|
|
"sort": "desc"
|
|
}
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "ms",
|
|
"custom": {
|
|
"fillOpacity": 10
|
|
}
|
|
},
|
|
"overrides": []
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"panel-15": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"id": 15,
|
|
"title": "Upstream Success Rate (Excluding 4xx errors)",
|
|
"description": "Percentage of successful upstream requests (non-5xx responses). This metric treats 4xx errors as successful since they typically indicate client issues, not backend failures. Values below 99.9% may indicate backend health problems. Correlate drops with circuit breaker openings and health check failures.",
|
|
"links": [],
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"exemplar": false,
|
|
"expr": "sum(\n rate(\n envoy_cluster_upstream_rq_xx{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_cluster_name=~\"$envoy_cluster_name\"\n,\n envoy_response_code_class!=\"5\"\n }[$__rate_interval]\n )\n)\n/\nsum(\n rate(\n envoy_cluster_upstream_rq_xx{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_cluster_name=~\"$envoy_cluster_name\"\n\n }[$__rate_interval]\n )\n)\n* 100\n",
|
|
"legendFormat": "Success Rate"
|
|
}
|
|
},
|
|
"refId": "A",
|
|
"hidden": false
|
|
}
|
|
}
|
|
],
|
|
"transformations": [],
|
|
"queryOptions": {}
|
|
}
|
|
},
|
|
"vizConfig": {
|
|
"kind": "VizConfig",
|
|
"group": "timeseries",
|
|
"version": "v11.4.0",
|
|
"spec": {
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [
|
|
"mean",
|
|
"max"
|
|
],
|
|
"displayMode": "table",
|
|
"placement": "right",
|
|
"showLegend": true,
|
|
"sortBy": "mean",
|
|
"sortDesc": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "multi",
|
|
"sort": "desc"
|
|
}
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "percent",
|
|
"custom": {
|
|
"axisSoftMax": 100,
|
|
"axisSoftMin": 0,
|
|
"fillOpacity": 100,
|
|
"lineWidth": 1,
|
|
"stacking": {
|
|
"mode": "normal"
|
|
}
|
|
}
|
|
},
|
|
"overrides": []
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"panel-16": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"id": 16,
|
|
"title": "Upstream Success Rate (Including 4xx errors)",
|
|
"description": "Percentage of successful upstream requests (non-4xx/5xx responses). This stricter metric counts both client errors (4xx) and server errors (5xx) as failures. Use this to assess overall request success from an end-user perspective. Lower rates may indicate API contract issues, authentication problems, or backend failures.",
|
|
"links": [],
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"exemplar": false,
|
|
"expr": "sum(\n rate(\n envoy_cluster_upstream_rq_xx{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_cluster_name=~\"$envoy_cluster_name\"\n,\n envoy_response_code_class!~\"4|5\"\n }[$__rate_interval]\n )\n)\n/\nsum(\n rate(\n envoy_cluster_upstream_rq_xx{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_cluster_name=~\"$envoy_cluster_name\"\n\n }[$__rate_interval]\n )\n)\n* 100\n",
|
|
"legendFormat": "Success Rate"
|
|
}
|
|
},
|
|
"refId": "A",
|
|
"hidden": false
|
|
}
|
|
}
|
|
],
|
|
"transformations": [],
|
|
"queryOptions": {}
|
|
}
|
|
},
|
|
"vizConfig": {
|
|
"kind": "VizConfig",
|
|
"group": "timeseries",
|
|
"version": "v11.4.0",
|
|
"spec": {
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [
|
|
"mean",
|
|
"max"
|
|
],
|
|
"displayMode": "table",
|
|
"placement": "right",
|
|
"showLegend": true,
|
|
"sortBy": "mean",
|
|
"sortDesc": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "multi",
|
|
"sort": "desc"
|
|
}
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "percent",
|
|
"custom": {
|
|
"axisSoftMax": 100,
|
|
"axisSoftMin": 0,
|
|
"fillOpacity": 100,
|
|
"lineWidth": 1,
|
|
"stacking": {
|
|
"mode": "normal"
|
|
}
|
|
}
|
|
},
|
|
"overrides": []
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"panel-17": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"id": 17,
|
|
"title": "Upstream Overview [1h]",
|
|
"description": "An overview table showing various upstream metrics by Envoy cluster name [1h].",
|
|
"links": [],
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"expr": "topk(40,\n sum(\n rate(\n envoy_cluster_upstream_rq_total{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_cluster_name=~\"$envoy_cluster_name\"\n\n }[1h]\n )\n ) by (envoy_cluster_name)\n)\n",
|
|
"format": "table",
|
|
"instant": true
|
|
}
|
|
},
|
|
"refId": "A",
|
|
"hidden": false
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"expr": "sum(\n rate(\n envoy_cluster_upstream_rq_xx{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_cluster_name=~\"$envoy_cluster_name\"\n,\n envoy_response_code_class!=\"5\"\n }[1h]\n )\n) by (job, envoy_cluster_name)\n/\nsum(\n rate(\n envoy_cluster_upstream_rq_xx{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_cluster_name=~\"$envoy_cluster_name\"\n\n }[1h]\n )\n) by (job, envoy_cluster_name)\n* 100\nand on (envoy_cluster_name) (\n topk(40,\n sum(\n rate(\n envoy_cluster_upstream_rq_total{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_cluster_name=~\"$envoy_cluster_name\"\n\n }[1h]\n )\n ) by (envoy_cluster_name)\n)\n\n)\n\n",
|
|
"format": "table",
|
|
"instant": true
|
|
}
|
|
},
|
|
"refId": "B",
|
|
"hidden": false
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"expr": "sum(\n rate(\n envoy_cluster_upstream_rq_xx{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_cluster_name=~\"$envoy_cluster_name\"\n,\n envoy_response_code_class!~\"4|5\"\n }[1h]\n )\n) by (job, envoy_cluster_name)\n/\nsum(\n rate(\n envoy_cluster_upstream_rq_xx{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_cluster_name=~\"$envoy_cluster_name\"\n\n }[1h]\n )\n) by (job, envoy_cluster_name)\n* 100\nand on (envoy_cluster_name) (\n topk(40,\n sum(\n rate(\n envoy_cluster_upstream_rq_total{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_cluster_name=~\"$envoy_cluster_name\"\n\n }[1h]\n )\n ) by (envoy_cluster_name)\n)\n\n)\n\n",
|
|
"format": "table",
|
|
"instant": true
|
|
}
|
|
},
|
|
"refId": "C",
|
|
"hidden": false
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"expr": "histogram_quantile(\n 0.5,\n sum(\n rate(\n envoy_cluster_upstream_rq_time_bucket{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_cluster_name=~\"$envoy_cluster_name\"\n\n }[1h]\n )\n ) by (le, job, envoy_cluster_name)\n)\nand on (envoy_cluster_name) (\n topk(40,\n sum(\n rate(\n envoy_cluster_upstream_rq_total{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_cluster_name=~\"$envoy_cluster_name\"\n\n }[1h]\n )\n ) by (envoy_cluster_name)\n)\n\n)\n\n",
|
|
"format": "table",
|
|
"instant": true
|
|
}
|
|
},
|
|
"refId": "D",
|
|
"hidden": false
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"expr": "histogram_quantile(\n 0.95,\n sum(\n rate(\n envoy_cluster_upstream_rq_time_bucket{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_cluster_name=~\"$envoy_cluster_name\"\n\n }[1h]\n )\n ) by (le, job, envoy_cluster_name)\n)\nand on (envoy_cluster_name) (\n topk(40,\n sum(\n rate(\n envoy_cluster_upstream_rq_total{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_cluster_name=~\"$envoy_cluster_name\"\n\n }[1h]\n )\n ) by (envoy_cluster_name)\n)\n\n)\n\n",
|
|
"format": "table",
|
|
"instant": true
|
|
}
|
|
},
|
|
"refId": "E",
|
|
"hidden": false
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"expr": "sum(\n avg_over_time(\n envoy_cluster_upstream_cx_active{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_cluster_name=~\"$envoy_cluster_name\"\n\n }[1h]\n )\n) by (job, envoy_cluster_name)\nand on (envoy_cluster_name) (\n topk(40,\n sum(\n rate(\n envoy_cluster_upstream_rq_total{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_cluster_name=~\"$envoy_cluster_name\"\n\n }[1h]\n )\n ) by (envoy_cluster_name)\n)\n\n)\n\n",
|
|
"format": "table",
|
|
"instant": true
|
|
}
|
|
},
|
|
"refId": "F",
|
|
"hidden": false
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"expr": "sum(\n increase(\n envoy_cluster_upstream_cx_destroy{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_cluster_name=~\"$envoy_cluster_name\"\n\n }[1h]\n )\n) by (job, envoy_cluster_name)\nand on (envoy_cluster_name) (\n topk(40,\n sum(\n rate(\n envoy_cluster_upstream_rq_total{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_cluster_name=~\"$envoy_cluster_name\"\n\n }[1h]\n )\n ) by (envoy_cluster_name)\n)\n\n)\n\n",
|
|
"format": "table",
|
|
"instant": true
|
|
}
|
|
},
|
|
"refId": "G",
|
|
"hidden": false
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"expr": "sum(\n envoy_cluster_membership_healthy{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_cluster_name=~\"$envoy_cluster_name\"\n\n }\n) by (job, envoy_cluster_name)\n/\nsum(\n envoy_cluster_membership_total{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_cluster_name=~\"$envoy_cluster_name\"\n\n }\n) by (job, envoy_cluster_name)\n* 100\nand on (envoy_cluster_name) (\n topk(40,\n sum(\n rate(\n envoy_cluster_upstream_rq_total{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_cluster_name=~\"$envoy_cluster_name\"\n\n }[1h]\n )\n ) by (envoy_cluster_name)\n)\n\n)\n\n",
|
|
"format": "table",
|
|
"instant": true
|
|
}
|
|
},
|
|
"refId": "H",
|
|
"hidden": false
|
|
}
|
|
}
|
|
],
|
|
"transformations": [
|
|
{
|
|
"kind": "Transformation",
|
|
"group": "merge",
|
|
"spec": {
|
|
"options": null
|
|
}
|
|
},
|
|
{
|
|
"kind": "Transformation",
|
|
"group": "organize",
|
|
"spec": {
|
|
"options": {
|
|
"excludeByName": {
|
|
"Time": true
|
|
},
|
|
"indexByName": {
|
|
"Value #A": 2,
|
|
"Value #B": 3,
|
|
"Value #C": 4,
|
|
"Value #D": 5,
|
|
"Value #E": 6,
|
|
"Value #F": 7,
|
|
"Value #G": 8,
|
|
"Value #H": 9,
|
|
"Value #I": 10,
|
|
"envoy_cluster_name": 0,
|
|
"job": 1
|
|
},
|
|
"renameByName": {
|
|
"Value #A": "Request Rate",
|
|
"Value #B": "Success Rate (5xx)",
|
|
"Value #C": "Success Rate (4xx & 5xx)",
|
|
"Value #D": "P50 Latency",
|
|
"Value #E": "P95 Latency",
|
|
"Value #F": "Active Connections",
|
|
"Value #G": "Destroyed Connections",
|
|
"Value #H": "Healthy Cluster Percent",
|
|
"envoy_cluster_name": "Envoy Cluster Name",
|
|
"job": "Job"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {}
|
|
}
|
|
},
|
|
"vizConfig": {
|
|
"kind": "VizConfig",
|
|
"group": "table",
|
|
"version": "v11.4.0",
|
|
"spec": {
|
|
"options": {
|
|
"footer": {
|
|
"enablePagination": true
|
|
},
|
|
"sortBy": [
|
|
{
|
|
"desc": true,
|
|
"displayName": "Request Rate"
|
|
}
|
|
]
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "short",
|
|
"thresholds": {
|
|
"mode": "",
|
|
"steps": []
|
|
},
|
|
"links": [
|
|
{
|
|
"targetBlank": true,
|
|
"title": "Go To Upstream",
|
|
"type": "dashboard",
|
|
"url": "/d/envoy-upstream-skj2/envoy-upstream?&var-envoy_cluster_name=${__data.fields.Envoy Cluster Name}"
|
|
}
|
|
]
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "SSL Expirations"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "dateTimeFromNow"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "P50 Latency"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "ms"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "P95 Latency"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "ms"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Request Rate"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "reqps"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Success Rate (5xx)"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "percent"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Success Rate (4xx & 5xx)"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "percent"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Healthy Cluster Percent"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "percent"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"panel-19": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"id": 19,
|
|
"title": "Downstream Rate by Envoy HTTP Conn Manager Prefix",
|
|
"description": "Client request rate by HTTP connection manager (listener) over time. Shows top 20 busiest ingress points. Use this to identify traffic patterns, detect sudden spikes that may indicate attacks, or validate that traffic is being distributed as expected across listeners.",
|
|
"links": [],
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"exemplar": false,
|
|
"expr": "topk(20,\n sum(\n rate(\n envoy_http_downstream_rq_total{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_http_conn_manager_prefix=~\"$envoy_http_conn_manager_prefix\"\n\n }[$__rate_interval]\n )\n ) by (envoy_http_conn_manager_prefix)\n)\n",
|
|
"legendFormat": "{{ envoy_http_conn_manager_prefix }}"
|
|
}
|
|
},
|
|
"refId": "A",
|
|
"hidden": false
|
|
}
|
|
}
|
|
],
|
|
"transformations": [],
|
|
"queryOptions": {}
|
|
}
|
|
},
|
|
"vizConfig": {
|
|
"kind": "VizConfig",
|
|
"group": "timeseries",
|
|
"version": "v11.4.0",
|
|
"spec": {
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [
|
|
"mean",
|
|
"max"
|
|
],
|
|
"displayMode": "table",
|
|
"placement": "right",
|
|
"showLegend": true,
|
|
"sortBy": "mean",
|
|
"sortDesc": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "multi",
|
|
"sort": "desc"
|
|
}
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "reqps",
|
|
"custom": {
|
|
"axisSoftMin": 0,
|
|
"fillOpacity": 100,
|
|
"lineWidth": 1,
|
|
"stacking": {
|
|
"mode": "normal"
|
|
}
|
|
}
|
|
},
|
|
"overrides": []
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"panel-2": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"id": 2,
|
|
"title": "Envoy Pods",
|
|
"description": "Total number of Envoy proxy pods currently being monitored. A sudden drop may indicate pod crashes or deployment issues, while increases should align with scaling events.",
|
|
"links": [],
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"expr": "count(\n count (\n envoy_cluster_upstream_rq_total{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n\n }\n ) by (pod)\n)\n"
|
|
}
|
|
},
|
|
"refId": "A",
|
|
"hidden": false
|
|
}
|
|
}
|
|
],
|
|
"transformations": [],
|
|
"queryOptions": {}
|
|
}
|
|
},
|
|
"vizConfig": {
|
|
"kind": "VizConfig",
|
|
"group": "stat",
|
|
"version": "v11.4.0",
|
|
"spec": {
|
|
"options": {
|
|
"graphMode": "area",
|
|
"percentChangeColorMode": "standard",
|
|
"showPercentChange": false
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "short",
|
|
"thresholds": {
|
|
"mode": "",
|
|
"steps": [
|
|
{
|
|
"value": 0,
|
|
"color": "green"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"panel-20": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"id": 20,
|
|
"title": "Downstream Latency",
|
|
"description": "End-to-end request latency percentiles (P50, P95, P99) as experienced by clients. Includes time from request receipt to response completion. Rising P95/P99 indicates degraded user experience - investigate upstream latency, connection issues, or resource constraints. Use exemplars to trace slow requests.",
|
|
"links": [],
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"exemplar": false,
|
|
"expr": "histogram_quantile(\n 0.5,\n sum(\n rate(\n envoy_http_downstream_rq_time_bucket{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_http_conn_manager_prefix=~\"$envoy_http_conn_manager_prefix\"\n\n }[$__rate_interval]\n )\n ) by (le)\n)\n",
|
|
"legendFormat": "P50"
|
|
}
|
|
},
|
|
"refId": "A",
|
|
"hidden": false
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"exemplar": false,
|
|
"expr": "histogram_quantile(\n 0.95,\n sum(\n rate(\n envoy_http_downstream_rq_time_bucket{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_http_conn_manager_prefix=~\"$envoy_http_conn_manager_prefix\"\n\n }[$__rate_interval]\n )\n ) by (le)\n)\n",
|
|
"legendFormat": "P95"
|
|
}
|
|
},
|
|
"refId": "B",
|
|
"hidden": false
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"exemplar": true,
|
|
"expr": "histogram_quantile(\n 0.99,\n sum(\n rate(\n envoy_http_downstream_rq_time_bucket{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_http_conn_manager_prefix=~\"$envoy_http_conn_manager_prefix\"\n\n }[$__rate_interval]\n )\n ) by (le)\n)\n",
|
|
"legendFormat": "P99"
|
|
}
|
|
},
|
|
"refId": "C",
|
|
"hidden": false
|
|
}
|
|
}
|
|
],
|
|
"transformations": [],
|
|
"queryOptions": {}
|
|
}
|
|
},
|
|
"vizConfig": {
|
|
"kind": "VizConfig",
|
|
"group": "timeseries",
|
|
"version": "v11.4.0",
|
|
"spec": {
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [
|
|
"mean",
|
|
"max"
|
|
],
|
|
"displayMode": "table",
|
|
"placement": "right",
|
|
"showLegend": true,
|
|
"sortBy": "mean",
|
|
"sortDesc": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "multi",
|
|
"sort": "desc"
|
|
}
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "ms",
|
|
"custom": {
|
|
"fillOpacity": 10
|
|
}
|
|
},
|
|
"overrides": []
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"panel-21": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"id": 21,
|
|
"title": "Downstream Success Rate (Excluding 4xx errors)",
|
|
"description": "Percentage of successful client requests (non-5xx responses). Treats 4xx as successful since they indicate client errors, not service failures. Values below 99.9% indicate problems with backends or Envoy itself. Correlate with upstream metrics and error logs to diagnose issues.",
|
|
"links": [],
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"exemplar": false,
|
|
"expr": "sum(\n rate(\n envoy_http_downstream_rq_xx{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_http_conn_manager_prefix=~\"$envoy_http_conn_manager_prefix\"\n,\n envoy_response_code_class!=\"5\"\n }[$__rate_interval]\n )\n)\n/\nsum(\n rate(\n envoy_http_downstream_rq_xx{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_http_conn_manager_prefix=~\"$envoy_http_conn_manager_prefix\"\n\n }[$__rate_interval]\n )\n)\n* 100\n",
|
|
"legendFormat": "Success Rate"
|
|
}
|
|
},
|
|
"refId": "A",
|
|
"hidden": false
|
|
}
|
|
}
|
|
],
|
|
"transformations": [],
|
|
"queryOptions": {}
|
|
}
|
|
},
|
|
"vizConfig": {
|
|
"kind": "VizConfig",
|
|
"group": "timeseries",
|
|
"version": "v11.4.0",
|
|
"spec": {
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [
|
|
"mean",
|
|
"max"
|
|
],
|
|
"displayMode": "table",
|
|
"placement": "right",
|
|
"showLegend": true,
|
|
"sortBy": "mean",
|
|
"sortDesc": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "multi",
|
|
"sort": "desc"
|
|
}
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "percent",
|
|
"custom": {
|
|
"axisSoftMax": 100,
|
|
"axisSoftMin": 0,
|
|
"fillOpacity": 100,
|
|
"lineWidth": 1,
|
|
"stacking": {
|
|
"mode": "normal"
|
|
}
|
|
}
|
|
},
|
|
"overrides": []
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"panel-22": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"id": 22,
|
|
"title": "Downstream Success Rate (Including 4xx errors)",
|
|
"description": "Percentage of successful client requests (non-4xx/5xx responses). Stricter metric counting both client and server errors as failures. Reflects actual user experience - drops indicate authentication issues, invalid requests, or backend failures. Use to assess overall API health from client perspective.",
|
|
"links": [],
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"exemplar": false,
|
|
"expr": "sum(\n rate(\n envoy_http_downstream_rq_xx{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_http_conn_manager_prefix=~\"$envoy_http_conn_manager_prefix\"\n,\n envoy_response_code_class!~\"4|5\"\n }[$__rate_interval]\n )\n)\n/\nsum(\n rate(\n envoy_http_downstream_rq_xx{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_http_conn_manager_prefix=~\"$envoy_http_conn_manager_prefix\"\n\n }[$__rate_interval]\n )\n)\n* 100\n",
|
|
"legendFormat": "Success Rate"
|
|
}
|
|
},
|
|
"refId": "A",
|
|
"hidden": false
|
|
}
|
|
}
|
|
],
|
|
"transformations": [],
|
|
"queryOptions": {}
|
|
}
|
|
},
|
|
"vizConfig": {
|
|
"kind": "VizConfig",
|
|
"group": "timeseries",
|
|
"version": "v11.4.0",
|
|
"spec": {
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [
|
|
"mean",
|
|
"max"
|
|
],
|
|
"displayMode": "table",
|
|
"placement": "right",
|
|
"showLegend": true,
|
|
"sortBy": "mean",
|
|
"sortDesc": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "multi",
|
|
"sort": "desc"
|
|
}
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "percent",
|
|
"custom": {
|
|
"axisSoftMax": 100,
|
|
"axisSoftMin": 0,
|
|
"fillOpacity": 100,
|
|
"lineWidth": 1,
|
|
"stacking": {
|
|
"mode": "normal"
|
|
}
|
|
}
|
|
},
|
|
"overrides": []
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"panel-23": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"id": 23,
|
|
"title": "Downstream Overview [1h]",
|
|
"description": "An overview table showing various downstream metrics by Envoy HTTP connection manager prefix [1h].",
|
|
"links": [],
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"expr": "topk(40,\n sum(\n rate(\n envoy_http_downstream_rq_total{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_http_conn_manager_prefix=~\"$envoy_http_conn_manager_prefix\"\n\n }[1h]\n )\n ) by (envoy_http_conn_manager_prefix)\n)\n",
|
|
"format": "table",
|
|
"instant": true
|
|
}
|
|
},
|
|
"refId": "A",
|
|
"hidden": false
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"expr": "sum(\n rate(\n envoy_http_downstream_rq_xx{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_http_conn_manager_prefix=~\"$envoy_http_conn_manager_prefix\"\n,\n envoy_response_code_class!=\"5\"\n }[1h]\n )\n) by (job, envoy_http_conn_manager_prefix)\n/\nsum(\n rate(\n envoy_http_downstream_rq_xx{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_http_conn_manager_prefix=~\"$envoy_http_conn_manager_prefix\"\n\n }[1h]\n )\n) by (job, envoy_http_conn_manager_prefix)\n* 100\nand on (envoy_http_conn_manager_prefix) (\n topk(40,\n sum(\n rate(\n envoy_http_downstream_rq_total{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_http_conn_manager_prefix=~\"$envoy_http_conn_manager_prefix\"\n\n }[1h]\n )\n ) by (envoy_http_conn_manager_prefix)\n)\n\n)\n\n",
|
|
"format": "table",
|
|
"instant": true
|
|
}
|
|
},
|
|
"refId": "B",
|
|
"hidden": false
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"expr": "sum(\n rate(\n envoy_http_downstream_rq_xx{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_http_conn_manager_prefix=~\"$envoy_http_conn_manager_prefix\"\n,\n envoy_response_code_class!~\"4|5\"\n }[1h]\n )\n) by (job, envoy_http_conn_manager_prefix)\n/\nsum(\n rate(\n envoy_http_downstream_rq_xx{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_http_conn_manager_prefix=~\"$envoy_http_conn_manager_prefix\"\n\n }[1h]\n )\n) by (job, envoy_http_conn_manager_prefix)\n* 100\nand on (envoy_http_conn_manager_prefix) (\n topk(40,\n sum(\n rate(\n envoy_http_downstream_rq_total{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_http_conn_manager_prefix=~\"$envoy_http_conn_manager_prefix\"\n\n }[1h]\n )\n ) by (envoy_http_conn_manager_prefix)\n)\n\n)\n\n",
|
|
"format": "table",
|
|
"instant": true
|
|
}
|
|
},
|
|
"refId": "C",
|
|
"hidden": false
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"expr": "histogram_quantile(\n 0.5,\n sum(\n rate(\n envoy_http_downstream_rq_time_bucket{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_http_conn_manager_prefix=~\"$envoy_http_conn_manager_prefix\"\n\n }[1h]\n )\n ) by (le, job, envoy_http_conn_manager_prefix)\n)\nand on (envoy_http_conn_manager_prefix) (\n topk(40,\n sum(\n rate(\n envoy_http_downstream_rq_total{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_http_conn_manager_prefix=~\"$envoy_http_conn_manager_prefix\"\n\n }[1h]\n )\n ) by (envoy_http_conn_manager_prefix)\n)\n\n)\n\n",
|
|
"format": "table",
|
|
"instant": true
|
|
}
|
|
},
|
|
"refId": "D",
|
|
"hidden": false
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"expr": "histogram_quantile(\n 0.95,\n sum(\n rate(\n envoy_http_downstream_rq_time_bucket{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_http_conn_manager_prefix=~\"$envoy_http_conn_manager_prefix\"\n\n }[1h]\n )\n ) by (le, job, envoy_http_conn_manager_prefix)\n)\nand on (envoy_http_conn_manager_prefix) (\n topk(40,\n sum(\n rate(\n envoy_http_downstream_rq_total{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_http_conn_manager_prefix=~\"$envoy_http_conn_manager_prefix\"\n\n }[1h]\n )\n ) by (envoy_http_conn_manager_prefix)\n)\n\n)\n\n",
|
|
"format": "table",
|
|
"instant": true
|
|
}
|
|
},
|
|
"refId": "E",
|
|
"hidden": false
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"expr": "sum(\n avg_over_time(\n envoy_http_downstream_cx_active{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_http_conn_manager_prefix=~\"$envoy_http_conn_manager_prefix\"\n\n }[1h]\n )\n) by (job, envoy_http_conn_manager_prefix)\nand on (envoy_http_conn_manager_prefix) (\n topk(40,\n sum(\n rate(\n envoy_http_downstream_rq_total{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_http_conn_manager_prefix=~\"$envoy_http_conn_manager_prefix\"\n\n }[1h]\n )\n ) by (envoy_http_conn_manager_prefix)\n)\n\n)\n\n",
|
|
"format": "table",
|
|
"instant": true
|
|
}
|
|
},
|
|
"refId": "F",
|
|
"hidden": false
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"expr": "sum(\n increase(\n envoy_http_downstream_cx_destroy{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_http_conn_manager_prefix=~\"$envoy_http_conn_manager_prefix\"\n\n }[1h]\n )\n) by (job, envoy_http_conn_manager_prefix)\nand on (envoy_http_conn_manager_prefix) (\n topk(40,\n sum(\n rate(\n envoy_http_downstream_rq_total{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_http_conn_manager_prefix=~\"$envoy_http_conn_manager_prefix\"\n\n }[1h]\n )\n ) by (envoy_http_conn_manager_prefix)\n)\n\n)\n\n",
|
|
"format": "table",
|
|
"instant": true
|
|
}
|
|
},
|
|
"refId": "G",
|
|
"hidden": false
|
|
}
|
|
}
|
|
],
|
|
"transformations": [
|
|
{
|
|
"kind": "Transformation",
|
|
"group": "merge",
|
|
"spec": {
|
|
"options": null
|
|
}
|
|
},
|
|
{
|
|
"kind": "Transformation",
|
|
"group": "organize",
|
|
"spec": {
|
|
"options": {
|
|
"excludeByName": {
|
|
"Time": true
|
|
},
|
|
"indexByName": {
|
|
"Value #A": 2,
|
|
"Value #B": 3,
|
|
"Value #C": 4,
|
|
"Value #D": 5,
|
|
"Value #E": 6,
|
|
"Value #F": 7,
|
|
"Value #G": 8,
|
|
"envoy_http_conn_manager_prefix": 0,
|
|
"job": 1
|
|
},
|
|
"renameByName": {
|
|
"Value #A": "Request Rate",
|
|
"Value #B": "Success Rate (5xx)",
|
|
"Value #C": "Success Rate (4xx & 5xx)",
|
|
"Value #D": "P50 Latency",
|
|
"Value #E": "P95 Latency",
|
|
"Value #F": "Active Connections",
|
|
"Value #G": "Destroyed Connections",
|
|
"envoy_http_conn_manager_prefix": "Envoy HTTP Conn Manager Prefix",
|
|
"job": "Job"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {}
|
|
}
|
|
},
|
|
"vizConfig": {
|
|
"kind": "VizConfig",
|
|
"group": "table",
|
|
"version": "v11.4.0",
|
|
"spec": {
|
|
"options": {
|
|
"footer": {
|
|
"enablePagination": true
|
|
},
|
|
"sortBy": [
|
|
{
|
|
"desc": true,
|
|
"displayName": "Request Rate"
|
|
}
|
|
]
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "short",
|
|
"thresholds": {
|
|
"mode": "",
|
|
"steps": []
|
|
},
|
|
"links": [
|
|
{
|
|
"targetBlank": true,
|
|
"title": "Go To Downstream",
|
|
"type": "dashboard",
|
|
"url": "/d/envoy-downstream-skj2/envoy-downstream?var-envoy_http_conn_manager_prefix=${__data.fields.Envoy HTTP Conn Manager Prefix}"
|
|
}
|
|
]
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "P50 Latency"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "ms"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "P95 Latency"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "ms"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Request Rate"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "reqps"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Success Rate (5xx)"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "percent"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Success Rate (4xx & 5xx)"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "percent"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"panel-25": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"id": 25,
|
|
"title": "HTTP/2 Outbound Flood",
|
|
"description": "Rate of connections terminated due to outbound HTTP/2 frame flood protection. Outbound Flood = total outbound frame queue (DATA, HEADERS, etc.) exceeded max_outbound_frames. Outbound Control Flood = control frame queue (PING, SETTINGS, RST_STREAM) exceeded max_outbound_control_frames. Non-zero values indicate slow or unresponsive clients unable to consume frames fast enough, or misconfigured flood limits.",
|
|
"links": [],
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"exemplar": false,
|
|
"expr": "sum(\n rate(\n envoy_http2_outbound_flood{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n\n }[$__rate_interval]\n )\n)\n",
|
|
"legendFormat": "Outbound Flood"
|
|
}
|
|
},
|
|
"refId": "A",
|
|
"hidden": false
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"exemplar": false,
|
|
"expr": "sum(\n rate(\n envoy_http2_outbound_control_flood{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n\n }[$__rate_interval]\n )\n)\n",
|
|
"legendFormat": "Outbound Control Flood"
|
|
}
|
|
},
|
|
"refId": "B",
|
|
"hidden": false
|
|
}
|
|
}
|
|
],
|
|
"transformations": [],
|
|
"queryOptions": {}
|
|
}
|
|
},
|
|
"vizConfig": {
|
|
"kind": "VizConfig",
|
|
"group": "timeseries",
|
|
"version": "v11.4.0",
|
|
"spec": {
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [
|
|
"mean",
|
|
"max"
|
|
],
|
|
"displayMode": "table",
|
|
"placement": "right",
|
|
"showLegend": true,
|
|
"sortBy": "mean",
|
|
"sortDesc": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "multi",
|
|
"sort": "desc"
|
|
}
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "reqps",
|
|
"custom": {
|
|
"axisSoftMin": 0,
|
|
"fillOpacity": 100,
|
|
"lineWidth": 1,
|
|
"stacking": {
|
|
"mode": "normal"
|
|
}
|
|
}
|
|
},
|
|
"overrides": []
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"panel-26": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"id": 26,
|
|
"title": "HTTP/2 Inbound Flood",
|
|
"description": "Rate of connections terminated due to inbound HTTP/2 frame flood protection. Empty Frames = consecutive frames with empty payload exceeded max_consecutive_inbound_frames_with_empty_payload. Priority Frames = PRIORITY frame flood exceeded max_inbound_priority_frames_per_stream. Window Update Frames = WINDOW_UPDATE flood exceeded max_inbound_window_update_frames_per_data_frame_sent. Any non-zero rate signals a potential HTTP/2 denial-of-service attack or severely misbehaving client.",
|
|
"links": [],
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"exemplar": false,
|
|
"expr": "sum(\n rate(\n envoy_http2_inbound_empty_frames_flood{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n\n }[$__rate_interval]\n )\n)\n",
|
|
"legendFormat": "Empty Frames"
|
|
}
|
|
},
|
|
"refId": "A",
|
|
"hidden": false
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"exemplar": false,
|
|
"expr": "sum(\n rate(\n envoy_http2_inbound_priority_frames_flood{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n\n }[$__rate_interval]\n )\n)\n",
|
|
"legendFormat": "Priority Frames"
|
|
}
|
|
},
|
|
"refId": "B",
|
|
"hidden": false
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"exemplar": false,
|
|
"expr": "sum(\n rate(\n envoy_http2_inbound_window_update_frames_flood{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n\n }[$__rate_interval]\n )\n)\n",
|
|
"legendFormat": "Window Update Frames"
|
|
}
|
|
},
|
|
"refId": "C",
|
|
"hidden": false
|
|
}
|
|
}
|
|
],
|
|
"transformations": [],
|
|
"queryOptions": {}
|
|
}
|
|
},
|
|
"vizConfig": {
|
|
"kind": "VizConfig",
|
|
"group": "timeseries",
|
|
"version": "v11.4.0",
|
|
"spec": {
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [
|
|
"mean",
|
|
"max"
|
|
],
|
|
"displayMode": "table",
|
|
"placement": "right",
|
|
"showLegend": true,
|
|
"sortBy": "mean",
|
|
"sortDesc": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "multi",
|
|
"sort": "desc"
|
|
}
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "reqps",
|
|
"custom": {
|
|
"axisSoftMin": 0,
|
|
"fillOpacity": 100,
|
|
"lineWidth": 1,
|
|
"stacking": {
|
|
"mode": "normal"
|
|
}
|
|
}
|
|
},
|
|
"overrides": []
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"panel-28": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"id": 28,
|
|
"title": "SSL Expirations by Envoy TLS Certificate",
|
|
"description": "SSL/TLS certificate expiration dates for each certificate loaded by Envoy listeners. Displays minimum expiration time to highlight the most urgent renewal needed. Monitor this panel to prevent service disruptions due to expired certificates. Set up alerts for certificates expiring within 30 days.",
|
|
"links": [],
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"exemplar": false,
|
|
"expr": "min(\n envoy_listener_ssl_certificate_expiration_unix_time_seconds{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n\n }\n) by (job, envoy_tls_certificate)\n* 1000\n",
|
|
"legendFormat": "{{ envoy_tls_certificate }}"
|
|
}
|
|
},
|
|
"refId": "A",
|
|
"hidden": false
|
|
}
|
|
}
|
|
],
|
|
"transformations": [],
|
|
"queryOptions": {}
|
|
}
|
|
},
|
|
"vizConfig": {
|
|
"kind": "VizConfig",
|
|
"group": "timeseries",
|
|
"version": "v11.4.0",
|
|
"spec": {
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [
|
|
"min"
|
|
],
|
|
"displayMode": "table",
|
|
"placement": "right",
|
|
"showLegend": true,
|
|
"sortBy": "min",
|
|
"sortDesc": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "multi",
|
|
"sort": "desc"
|
|
}
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "dateTimeAsIso",
|
|
"custom": {
|
|
"fillOpacity": 10
|
|
}
|
|
},
|
|
"overrides": []
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"panel-3": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"id": 3,
|
|
"title": "Upstreams",
|
|
"description": "Total count of unique upstream clusters (backend services) configured across all Envoy proxies. Changes in this metric indicate service discovery updates or configuration changes.",
|
|
"links": [],
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"expr": "count(\n count(\n envoy_cluster_upstream_rq_total{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n\n }\n ) by (envoy_cluster_name)\n)\n"
|
|
}
|
|
},
|
|
"refId": "A",
|
|
"hidden": false
|
|
}
|
|
}
|
|
],
|
|
"transformations": [],
|
|
"queryOptions": {}
|
|
}
|
|
},
|
|
"vizConfig": {
|
|
"kind": "VizConfig",
|
|
"group": "stat",
|
|
"version": "v11.4.0",
|
|
"spec": {
|
|
"options": {
|
|
"graphMode": "area",
|
|
"percentChangeColorMode": "standard",
|
|
"showPercentChange": false
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "short",
|
|
"thresholds": {
|
|
"mode": "",
|
|
"steps": [
|
|
{
|
|
"value": 0,
|
|
"color": "green"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"panel-4": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"id": 4,
|
|
"title": "Downstreams",
|
|
"description": "Total count of downstream HTTP connection managers (ingress listeners) across all Envoy proxies. Represents the number of distinct entry points accepting client traffic.",
|
|
"links": [],
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"expr": "count(\n count(\n envoy_http_downstream_rq_total{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n\n }\n ) by (envoy_http_conn_manager_prefix)\n)\n"
|
|
}
|
|
},
|
|
"refId": "A",
|
|
"hidden": false
|
|
}
|
|
}
|
|
],
|
|
"transformations": [],
|
|
"queryOptions": {}
|
|
}
|
|
},
|
|
"vizConfig": {
|
|
"kind": "VizConfig",
|
|
"group": "stat",
|
|
"version": "v11.4.0",
|
|
"spec": {
|
|
"options": {
|
|
"graphMode": "area",
|
|
"percentChangeColorMode": "standard",
|
|
"showPercentChange": false
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "short",
|
|
"thresholds": {
|
|
"mode": "",
|
|
"steps": [
|
|
{
|
|
"value": 0,
|
|
"color": "green"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"panel-5": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"id": 5,
|
|
"title": "Upstream Active Connections",
|
|
"description": "Current number of active TCP connections from Envoy proxies to upstream services. High values may indicate connection pooling issues or slow backend responses. Compare with request rate to assess connection efficiency.",
|
|
"links": [],
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"expr": "sum(\n envoy_cluster_upstream_cx_active{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n\n }\n)\n"
|
|
}
|
|
},
|
|
"refId": "A",
|
|
"hidden": false
|
|
}
|
|
}
|
|
],
|
|
"transformations": [],
|
|
"queryOptions": {}
|
|
}
|
|
},
|
|
"vizConfig": {
|
|
"kind": "VizConfig",
|
|
"group": "stat",
|
|
"version": "v11.4.0",
|
|
"spec": {
|
|
"options": {
|
|
"graphMode": "area",
|
|
"percentChangeColorMode": "standard",
|
|
"showPercentChange": false
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "short",
|
|
"thresholds": {
|
|
"mode": "",
|
|
"steps": [
|
|
{
|
|
"value": 0,
|
|
"color": "green"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"panel-6": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"id": 6,
|
|
"title": "Downstream Active Connections",
|
|
"description": "Current number of active TCP connections from clients to Envoy proxies. Sudden spikes may indicate traffic surges or slow request processing. Monitor alongside request rates to identify connection leaks.",
|
|
"links": [],
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"expr": "sum(\n envoy_http_downstream_cx_active{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n\n }\n)\n"
|
|
}
|
|
},
|
|
"refId": "A",
|
|
"hidden": false
|
|
}
|
|
}
|
|
],
|
|
"transformations": [],
|
|
"queryOptions": {}
|
|
}
|
|
},
|
|
"vizConfig": {
|
|
"kind": "VizConfig",
|
|
"group": "stat",
|
|
"version": "v11.4.0",
|
|
"spec": {
|
|
"options": {
|
|
"graphMode": "area",
|
|
"percentChangeColorMode": "standard",
|
|
"showPercentChange": false
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "short",
|
|
"thresholds": {
|
|
"mode": "",
|
|
"steps": [
|
|
{
|
|
"value": 0,
|
|
"color": "green"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"panel-7": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"id": 7,
|
|
"title": "Membership Healthy Percent",
|
|
"description": "Percentage of healthy upstream endpoints across all clusters based on active health checks. Values below 100% indicate failing health checks - investigate unhealthy hosts immediately as this impacts traffic distribution and availability.",
|
|
"links": [],
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"expr": "sum(\n envoy_cluster_membership_healthy{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n\n }\n)\n/\nsum(\n envoy_cluster_membership_total{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n\n }\n)\n* 100\n"
|
|
}
|
|
},
|
|
"refId": "A",
|
|
"hidden": false
|
|
}
|
|
}
|
|
],
|
|
"transformations": [],
|
|
"queryOptions": {}
|
|
}
|
|
},
|
|
"vizConfig": {
|
|
"kind": "VizConfig",
|
|
"group": "stat",
|
|
"version": "v11.4.0",
|
|
"spec": {
|
|
"options": {
|
|
"graphMode": "area",
|
|
"percentChangeColorMode": "standard",
|
|
"showPercentChange": false
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "percent",
|
|
"thresholds": {
|
|
"mode": "",
|
|
"steps": [
|
|
{
|
|
"value": 0,
|
|
"color": "green"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"panel-8": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"id": 8,
|
|
"title": "Upstream Rate by Envoy Cluster Name [1h]",
|
|
"description": "Distribution of upstream request traffic across backend clusters over the past hour. Shows which services receive the most traffic. Use this to identify hot spots, validate load distribution, and detect unexpected traffic patterns to specific backends.",
|
|
"links": [],
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"expr": "topk(20,\n sum(\n rate(\n envoy_cluster_upstream_rq_total{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_cluster_name=~\"$envoy_cluster_name\"\n\n }[1h]\n )\n ) by (envoy_cluster_name)\n)\n",
|
|
"instant": true,
|
|
"legendFormat": "{{ envoy_cluster_name }}"
|
|
}
|
|
},
|
|
"refId": "A",
|
|
"hidden": false
|
|
}
|
|
}
|
|
],
|
|
"transformations": [],
|
|
"queryOptions": {}
|
|
}
|
|
},
|
|
"vizConfig": {
|
|
"kind": "VizConfig",
|
|
"group": "piechart",
|
|
"version": "v11.4.0",
|
|
"spec": {
|
|
"options": {
|
|
"displayLabels": [
|
|
"percent"
|
|
],
|
|
"legend": {
|
|
"displayMode": "table",
|
|
"placement": "right",
|
|
"showLegend": true,
|
|
"values": [
|
|
"percent"
|
|
]
|
|
},
|
|
"tooltip": {
|
|
"mode": "multi",
|
|
"sort": "desc"
|
|
}
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "reqps"
|
|
},
|
|
"overrides": []
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"panel-9": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"id": 9,
|
|
"title": "Upstream Rate by Code Class [1h]",
|
|
"description": "Breakdown of upstream responses by HTTP status code class (2xx, 3xx, 4xx, 5xx) over the past hour. High proportions of 4xx may indicate client errors or misconfigurations, while 5xx indicates backend failures requiring immediate attention.",
|
|
"links": [],
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "$datasource"
|
|
},
|
|
"spec": {
|
|
"expr": "sum(\n rate(\n envoy_cluster_upstream_rq_xx{\n cluster=\"$cluster\",\nnamespace=~\"$namespace\",\njob=~\"$job\",\npod=~\"$pod\"\n\n,\nenvoy_cluster_name=~\"$envoy_cluster_name\"\n\n }[1h]\n )\n) by (envoy_response_code_class)\n",
|
|
"instant": true,
|
|
"legendFormat": "{{ envoy_response_code_class }}xx"
|
|
}
|
|
},
|
|
"refId": "A",
|
|
"hidden": false
|
|
}
|
|
}
|
|
],
|
|
"transformations": [],
|
|
"queryOptions": {}
|
|
}
|
|
},
|
|
"vizConfig": {
|
|
"kind": "VizConfig",
|
|
"group": "piechart",
|
|
"version": "v11.4.0",
|
|
"spec": {
|
|
"options": {
|
|
"displayLabels": [
|
|
"percent"
|
|
],
|
|
"legend": {
|
|
"displayMode": "table",
|
|
"placement": "right",
|
|
"showLegend": true,
|
|
"values": [
|
|
"percent"
|
|
]
|
|
},
|
|
"tooltip": {
|
|
"mode": "multi",
|
|
"sort": "desc"
|
|
}
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "reqps"
|
|
},
|
|
"overrides": []
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"layout": {
|
|
"kind": "RowsLayout",
|
|
"spec": {
|
|
"rows": [
|
|
{
|
|
"kind": "RowsLayoutRow",
|
|
"spec": {
|
|
"title": "Summary",
|
|
"collapse": false,
|
|
"layout": {
|
|
"kind": "GridLayout",
|
|
"spec": {
|
|
"items": [
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"width": 4,
|
|
"height": 4,
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-2"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"x": 4,
|
|
"y": 0,
|
|
"width": 4,
|
|
"height": 4,
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-3"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"x": 8,
|
|
"y": 0,
|
|
"width": 4,
|
|
"height": 4,
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-4"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"x": 12,
|
|
"y": 0,
|
|
"width": 4,
|
|
"height": 4,
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-5"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"x": 16,
|
|
"y": 0,
|
|
"width": 4,
|
|
"height": 4,
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-6"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"x": 20,
|
|
"y": 0,
|
|
"width": 4,
|
|
"height": 4,
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-7"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"x": 0,
|
|
"y": 4,
|
|
"width": 6,
|
|
"height": 6,
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-8"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"x": 6,
|
|
"y": 4,
|
|
"width": 6,
|
|
"height": 6,
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-9"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"x": 12,
|
|
"y": 4,
|
|
"width": 6,
|
|
"height": 6,
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-10"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"x": 18,
|
|
"y": 4,
|
|
"width": 6,
|
|
"height": 6,
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-11"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "RowsLayoutRow",
|
|
"spec": {
|
|
"title": "Upstream",
|
|
"collapse": false,
|
|
"layout": {
|
|
"kind": "GridLayout",
|
|
"spec": {
|
|
"items": [
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"width": 12,
|
|
"height": 8,
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-13"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"x": 12,
|
|
"y": 0,
|
|
"width": 12,
|
|
"height": 8,
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-14"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"x": 0,
|
|
"y": 8,
|
|
"width": 12,
|
|
"height": 8,
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-15"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"x": 12,
|
|
"y": 8,
|
|
"width": 12,
|
|
"height": 8,
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-16"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"x": 0,
|
|
"y": 16,
|
|
"width": 24,
|
|
"height": 12,
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-17"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "RowsLayoutRow",
|
|
"spec": {
|
|
"title": "Downstream",
|
|
"collapse": false,
|
|
"layout": {
|
|
"kind": "GridLayout",
|
|
"spec": {
|
|
"items": [
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"width": 12,
|
|
"height": 8,
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-19"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"x": 12,
|
|
"y": 0,
|
|
"width": 12,
|
|
"height": 8,
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-20"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"x": 0,
|
|
"y": 8,
|
|
"width": 12,
|
|
"height": 8,
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-21"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"x": 12,
|
|
"y": 8,
|
|
"width": 12,
|
|
"height": 8,
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-22"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"x": 0,
|
|
"y": 16,
|
|
"width": 24,
|
|
"height": 12,
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-23"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "RowsLayoutRow",
|
|
"spec": {
|
|
"title": "HTTP/2",
|
|
"collapse": false,
|
|
"layout": {
|
|
"kind": "GridLayout",
|
|
"spec": {
|
|
"items": [
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"width": 12,
|
|
"height": 8,
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-25"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"x": 12,
|
|
"y": 0,
|
|
"width": 12,
|
|
"height": 8,
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-26"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "RowsLayoutRow",
|
|
"spec": {
|
|
"title": "SSL",
|
|
"collapse": false,
|
|
"layout": {
|
|
"kind": "GridLayout",
|
|
"spec": {
|
|
"items": [
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"width": 24,
|
|
"height": 8,
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-28"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"links": [
|
|
{
|
|
"title": "Envoy",
|
|
"type": "dashboards",
|
|
"icon": "",
|
|
"tooltip": "",
|
|
"tags": [
|
|
"envoy",
|
|
"envoy-mixin",
|
|
"gateway"
|
|
],
|
|
"asDropdown": true,
|
|
"targetBlank": true,
|
|
"includeVars": false,
|
|
"keepTime": true
|
|
}
|
|
],
|
|
"liveNow": false,
|
|
"preload": false,
|
|
"tags": [
|
|
"envoy",
|
|
"envoy-mixin",
|
|
"gateway"
|
|
],
|
|
"timeSettings": {
|
|
"timezone": "utc",
|
|
"from": "now-6h",
|
|
"to": "now",
|
|
"autoRefresh": "",
|
|
"autoRefreshIntervals": [
|
|
"5s",
|
|
"10s",
|
|
"30s",
|
|
"1m",
|
|
"5m",
|
|
"15m",
|
|
"30m",
|
|
"1h",
|
|
"2h",
|
|
"1d"
|
|
],
|
|
"hideTimepicker": false,
|
|
"fiscalYearStartMonth": 0
|
|
},
|
|
"title": "Cilium / Envoy / Overview",
|
|
"variables": [
|
|
{
|
|
"kind": "DatasourceVariable",
|
|
"spec": {
|
|
"name": "datasource",
|
|
"pluginId": "prometheus",
|
|
"refresh": "never",
|
|
"regex": "",
|
|
"current": {
|
|
"text": "default",
|
|
"value": "default"
|
|
},
|
|
"options": [],
|
|
"multi": false,
|
|
"includeAll": false,
|
|
"label": "Data source",
|
|
"hide": "dontHide",
|
|
"skipUrlSync": false,
|
|
"allowCustomValue": true
|
|
}
|
|
},
|
|
{
|
|
"kind": "QueryVariable",
|
|
"spec": {
|
|
"name": "cluster",
|
|
"current": {
|
|
"text": "",
|
|
"value": ""
|
|
},
|
|
"label": "Cluster",
|
|
"hide": "hideVariable",
|
|
"refresh": "onTimeRangeChanged",
|
|
"skipUrlSync": false,
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "${datasource}"
|
|
},
|
|
"spec": {
|
|
"__legacyStringValue": "label_values(envoy_cluster_upstream_rq_xx{}, cluster)"
|
|
}
|
|
},
|
|
"regex": "",
|
|
"sort": "alphabeticalAsc",
|
|
"options": [],
|
|
"multi": false,
|
|
"includeAll": false,
|
|
"allowCustomValue": true
|
|
}
|
|
},
|
|
{
|
|
"kind": "QueryVariable",
|
|
"spec": {
|
|
"name": "namespace",
|
|
"current": {
|
|
"text": "",
|
|
"value": ""
|
|
},
|
|
"label": "Namespace",
|
|
"hide": "dontHide",
|
|
"refresh": "onTimeRangeChanged",
|
|
"skipUrlSync": false,
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "${datasource}"
|
|
},
|
|
"spec": {
|
|
"__legacyStringValue": "label_values(envoy_cluster_upstream_rq_xx{cluster=\"$cluster\"}, namespace)"
|
|
}
|
|
},
|
|
"regex": "",
|
|
"sort": "alphabeticalAsc",
|
|
"options": [],
|
|
"multi": true,
|
|
"includeAll": true,
|
|
"allowCustomValue": true
|
|
}
|
|
},
|
|
{
|
|
"kind": "QueryVariable",
|
|
"spec": {
|
|
"name": "job",
|
|
"current": {
|
|
"text": "",
|
|
"value": ""
|
|
},
|
|
"label": "Job",
|
|
"hide": "dontHide",
|
|
"refresh": "onTimeRangeChanged",
|
|
"skipUrlSync": false,
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "${datasource}"
|
|
},
|
|
"spec": {
|
|
"__legacyStringValue": "label_values(envoy_cluster_upstream_rq_xx{cluster=\"$cluster\", namespace=~\"$namespace\"}, job)"
|
|
}
|
|
},
|
|
"regex": "",
|
|
"sort": "alphabeticalAsc",
|
|
"options": [],
|
|
"multi": true,
|
|
"includeAll": true,
|
|
"allowCustomValue": true
|
|
}
|
|
},
|
|
{
|
|
"kind": "QueryVariable",
|
|
"spec": {
|
|
"name": "envoy_cluster_name",
|
|
"current": {
|
|
"text": "",
|
|
"value": ""
|
|
},
|
|
"label": "Envoy Cluster Name",
|
|
"hide": "dontHide",
|
|
"refresh": "onTimeRangeChanged",
|
|
"skipUrlSync": false,
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "${datasource}"
|
|
},
|
|
"spec": {
|
|
"__legacyStringValue": "label_values(envoy_cluster_upstream_rq_xx{cluster=\"$cluster\", namespace=~\"$namespace\", job=~\"$job\"}, envoy_cluster_name)"
|
|
}
|
|
},
|
|
"regex": "",
|
|
"sort": "alphabeticalAsc",
|
|
"options": [],
|
|
"multi": true,
|
|
"includeAll": true,
|
|
"allowCustomValue": true
|
|
}
|
|
},
|
|
{
|
|
"kind": "QueryVariable",
|
|
"spec": {
|
|
"name": "envoy_http_conn_manager_prefix",
|
|
"current": {
|
|
"text": "",
|
|
"value": ""
|
|
},
|
|
"label": "Envoy HTTP Conn Manager Prefix",
|
|
"hide": "dontHide",
|
|
"refresh": "onTimeRangeChanged",
|
|
"skipUrlSync": false,
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "${datasource}"
|
|
},
|
|
"spec": {
|
|
"__legacyStringValue": "label_values(envoy_http_downstream_rq_xx{cluster=\"$cluster\", namespace=~\"$namespace\", job=~\"$job\"}, envoy_http_conn_manager_prefix)"
|
|
}
|
|
},
|
|
"regex": "",
|
|
"sort": "alphabeticalAsc",
|
|
"options": [],
|
|
"multi": true,
|
|
"includeAll": true,
|
|
"allowCustomValue": true
|
|
}
|
|
},
|
|
{
|
|
"kind": "QueryVariable",
|
|
"spec": {
|
|
"name": "pod",
|
|
"current": {
|
|
"text": "",
|
|
"value": ""
|
|
},
|
|
"label": "Pod",
|
|
"hide": "dontHide",
|
|
"refresh": "onTimeRangeChanged",
|
|
"skipUrlSync": false,
|
|
"query": {
|
|
"kind": "DataQuery",
|
|
"group": "prometheus",
|
|
"version": "v0",
|
|
"datasource": {
|
|
"name": "${datasource}"
|
|
},
|
|
"spec": {
|
|
"__legacyStringValue": "label_values(envoy_listener_http_downstream_rq_xx{cluster=\"$cluster\", namespace=~\"$namespace\", job=~\"$job\"}, pod)"
|
|
}
|
|
},
|
|
"regex": "",
|
|
"sort": "alphabeticalAsc",
|
|
"options": [],
|
|
"multi": true,
|
|
"includeAll": true,
|
|
"allowCustomValue": true
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: cilium-envoy-overview-grafana-dashboard
|
|
namespace: kube-system
|
|
labels:
|
|
grafana_dashboard: "1"
|