mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2024-12-28 17:45:17 +00:00
885 lines
21 KiB
JSON
885 lines
21 KiB
JSON
|
{
|
||
|
"__inputs": [
|
||
|
{
|
||
|
"name": "DS_PROMETHEUS",
|
||
|
"label": "Prometheus",
|
||
|
"description": "",
|
||
|
"type": "datasource",
|
||
|
"pluginId": "prometheus",
|
||
|
"pluginName": "Prometheus"
|
||
|
}
|
||
|
],
|
||
|
"__elements": {},
|
||
|
"__requires": [
|
||
|
{
|
||
|
"type": "grafana",
|
||
|
"id": "grafana",
|
||
|
"name": "Grafana",
|
||
|
"version": "9.3.6"
|
||
|
},
|
||
|
{
|
||
|
"type": "panel",
|
||
|
"id": "piechart",
|
||
|
"name": "Pie chart",
|
||
|
"version": ""
|
||
|
},
|
||
|
{
|
||
|
"type": "datasource",
|
||
|
"id": "prometheus",
|
||
|
"name": "Prometheus",
|
||
|
"version": "1.0.0"
|
||
|
},
|
||
|
{
|
||
|
"type": "panel",
|
||
|
"id": "stat",
|
||
|
"name": "Stat",
|
||
|
"version": ""
|
||
|
},
|
||
|
{
|
||
|
"type": "panel",
|
||
|
"id": "timeseries",
|
||
|
"name": "Time series",
|
||
|
"version": ""
|
||
|
}
|
||
|
],
|
||
|
"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"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"editable": true,
|
||
|
"fiscalYearStartMonth": 0,
|
||
|
"graphTooltip": 0,
|
||
|
"id": null,
|
||
|
"links": [],
|
||
|
"liveNow": false,
|
||
|
"panels": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "palette-classic"
|
||
|
},
|
||
|
"custom": {
|
||
|
"axisCenteredZero": false,
|
||
|
"axisColorMode": "text",
|
||
|
"axisLabel": "",
|
||
|
"axisPlacement": "auto",
|
||
|
"barAlignment": 0,
|
||
|
"drawStyle": "line",
|
||
|
"fillOpacity": 0,
|
||
|
"gradientMode": "none",
|
||
|
"hideFrom": {
|
||
|
"legend": false,
|
||
|
"tooltip": false,
|
||
|
"viz": 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",
|
||
|
"value": null
|
||
|
},
|
||
|
{
|
||
|
"color": "red",
|
||
|
"value": 80
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 9,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 0
|
||
|
},
|
||
|
"id": 2,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [],
|
||
|
"displayMode": "list",
|
||
|
"placement": "bottom",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "multi",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"editorMode": "code",
|
||
|
"expr": "increase(libp2p_identify_identify_pushes_triggered_total{instance=~\"$instance\"}[$__rate_interval])",
|
||
|
"legendFormat": "{{trigger}}",
|
||
|
"range": true,
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"title": "Pushes triggered",
|
||
|
"type": "timeseries"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "palette-classic"
|
||
|
},
|
||
|
"custom": {
|
||
|
"axisCenteredZero": false,
|
||
|
"axisColorMode": "text",
|
||
|
"axisLabel": "",
|
||
|
"axisPlacement": "auto",
|
||
|
"barAlignment": 0,
|
||
|
"drawStyle": "line",
|
||
|
"fillOpacity": 0,
|
||
|
"gradientMode": "none",
|
||
|
"hideFrom": {
|
||
|
"legend": false,
|
||
|
"tooltip": false,
|
||
|
"viz": 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",
|
||
|
"value": null
|
||
|
},
|
||
|
{
|
||
|
"color": "red",
|
||
|
"value": 80
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 9,
|
||
|
"w": 12,
|
||
|
"x": 12,
|
||
|
"y": 0
|
||
|
},
|
||
|
"id": 4,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [],
|
||
|
"displayMode": "list",
|
||
|
"placement": "bottom",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "multi",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"editorMode": "code",
|
||
|
"expr": "rate(libp2p_identify_identify_total{instance=~\"$instance\"}[$__rate_interval])",
|
||
|
"legendFormat": "{{dir}}",
|
||
|
"range": true,
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"title": "Identify Messages",
|
||
|
"type": "timeseries"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "thresholds"
|
||
|
},
|
||
|
"mappings": [],
|
||
|
"min": 0,
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unit": "none"
|
||
|
},
|
||
|
"overrides": [
|
||
|
{
|
||
|
"matcher": {
|
||
|
"id": "byName",
|
||
|
"options": "address count"
|
||
|
},
|
||
|
"properties": [
|
||
|
{
|
||
|
"id": "color",
|
||
|
"value": {
|
||
|
"fixedColor": "blue",
|
||
|
"mode": "fixed"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 6,
|
||
|
"x": 0,
|
||
|
"y": 9
|
||
|
},
|
||
|
"id": 9,
|
||
|
"options": {
|
||
|
"colorMode": "value",
|
||
|
"graphMode": "area",
|
||
|
"justifyMode": "auto",
|
||
|
"orientation": "auto",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"lastNotNull"
|
||
|
],
|
||
|
"fields": "",
|
||
|
"values": false
|
||
|
},
|
||
|
"textMode": "auto"
|
||
|
},
|
||
|
"pluginVersion": "9.3.6",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"editorMode": "code",
|
||
|
"exemplar": false,
|
||
|
"expr": "libp2p_identify_addrs_count{instance=~\"$instance\"}",
|
||
|
"legendFormat": "address count",
|
||
|
"range": true,
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"title": "Outgoing Address Count",
|
||
|
"type": "stat"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "thresholds"
|
||
|
},
|
||
|
"mappings": [],
|
||
|
"min": 0,
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"overrides": [
|
||
|
{
|
||
|
"matcher": {
|
||
|
"id": "byName",
|
||
|
"options": "protocols count"
|
||
|
},
|
||
|
"properties": [
|
||
|
{
|
||
|
"id": "color",
|
||
|
"value": {
|
||
|
"fixedColor": "purple",
|
||
|
"mode": "fixed"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 6,
|
||
|
"x": 6,
|
||
|
"y": 9
|
||
|
},
|
||
|
"id": 17,
|
||
|
"options": {
|
||
|
"colorMode": "value",
|
||
|
"graphMode": "area",
|
||
|
"justifyMode": "auto",
|
||
|
"orientation": "auto",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"lastNotNull"
|
||
|
],
|
||
|
"fields": "",
|
||
|
"values": false
|
||
|
},
|
||
|
"textMode": "auto"
|
||
|
},
|
||
|
"pluginVersion": "9.3.6",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"editorMode": "code",
|
||
|
"expr": "libp2p_identify_protocols_count{instance=~\"$instance\"}",
|
||
|
"legendFormat": "protocols count",
|
||
|
"range": true,
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"title": "Outgoing Protocols Count",
|
||
|
"type": "stat"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "palette-classic"
|
||
|
},
|
||
|
"custom": {
|
||
|
"axisCenteredZero": false,
|
||
|
"axisColorMode": "text",
|
||
|
"axisLabel": "",
|
||
|
"axisPlacement": "auto",
|
||
|
"barAlignment": 0,
|
||
|
"drawStyle": "line",
|
||
|
"fillOpacity": 0,
|
||
|
"gradientMode": "none",
|
||
|
"hideFrom": {
|
||
|
"legend": false,
|
||
|
"tooltip": false,
|
||
|
"viz": 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",
|
||
|
"value": null
|
||
|
},
|
||
|
{
|
||
|
"color": "red",
|
||
|
"value": 80
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 12,
|
||
|
"y": 9
|
||
|
},
|
||
|
"id": 5,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [],
|
||
|
"displayMode": "list",
|
||
|
"placement": "bottom",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "multi",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"editorMode": "code",
|
||
|
"expr": "rate(libp2p_identify_identify_push_total{instance=~\"$instance\"}[$__rate_interval])",
|
||
|
"legendFormat": "{{dir}}",
|
||
|
"range": true,
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"title": "Identify Push Messages",
|
||
|
"type": "timeseries"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "palette-classic"
|
||
|
},
|
||
|
"custom": {
|
||
|
"axisCenteredZero": false,
|
||
|
"axisColorMode": "text",
|
||
|
"axisLabel": "",
|
||
|
"axisPlacement": "auto",
|
||
|
"barAlignment": 0,
|
||
|
"drawStyle": "line",
|
||
|
"fillOpacity": 0,
|
||
|
"gradientMode": "none",
|
||
|
"hideFrom": {
|
||
|
"legend": false,
|
||
|
"tooltip": false,
|
||
|
"viz": 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",
|
||
|
"value": null
|
||
|
},
|
||
|
{
|
||
|
"color": "red",
|
||
|
"value": 80
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"overrides": [
|
||
|
{
|
||
|
"matcher": {
|
||
|
"id": "byName",
|
||
|
"options": "address count"
|
||
|
},
|
||
|
"properties": [
|
||
|
{
|
||
|
"id": "color",
|
||
|
"value": {
|
||
|
"fixedColor": "blue",
|
||
|
"mode": "fixed"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 17
|
||
|
},
|
||
|
"id": 11,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [],
|
||
|
"displayMode": "list",
|
||
|
"placement": "bottom",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "single",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"editorMode": "code",
|
||
|
"expr": "histogram_quantile(0.5, sum(rate(libp2p_identify_addrs_received_bucket{instance=~\"$instance\"}[$__rate_interval])) by (le))",
|
||
|
"legendFormat": "50th percentile",
|
||
|
"range": true,
|
||
|
"refId": "A"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"editorMode": "code",
|
||
|
"expr": "histogram_quantile(0.90, sum(rate(libp2p_identify_addrs_received_bucket{instance=~\"$instance\"}[$__rate_interval])) by (le))",
|
||
|
"hide": false,
|
||
|
"legendFormat": "90th percentile",
|
||
|
"range": true,
|
||
|
"refId": "B"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"editorMode": "code",
|
||
|
"expr": "histogram_quantile(0.99, sum(rate(libp2p_identify_addrs_received_bucket{instance=~\"$instance\"}[$__rate_interval])) by (le))",
|
||
|
"hide": false,
|
||
|
"legendFormat": "99 percentile",
|
||
|
"range": true,
|
||
|
"refId": "C"
|
||
|
}
|
||
|
],
|
||
|
"title": "Incoming Address Count (Avg)",
|
||
|
"type": "timeseries"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "palette-classic"
|
||
|
},
|
||
|
"custom": {
|
||
|
"axisCenteredZero": false,
|
||
|
"axisColorMode": "text",
|
||
|
"axisLabel": "",
|
||
|
"axisPlacement": "auto",
|
||
|
"barAlignment": 0,
|
||
|
"drawStyle": "line",
|
||
|
"fillOpacity": 0,
|
||
|
"gradientMode": "none",
|
||
|
"hideFrom": {
|
||
|
"legend": false,
|
||
|
"tooltip": false,
|
||
|
"viz": 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",
|
||
|
"value": null
|
||
|
},
|
||
|
{
|
||
|
"color": "red",
|
||
|
"value": 80
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"overrides": [
|
||
|
{
|
||
|
"matcher": {
|
||
|
"id": "byName",
|
||
|
"options": "protocols count"
|
||
|
},
|
||
|
"properties": [
|
||
|
{
|
||
|
"id": "color",
|
||
|
"value": {
|
||
|
"fixedColor": "purple",
|
||
|
"mode": "fixed"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 12,
|
||
|
"y": 17
|
||
|
},
|
||
|
"id": 13,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [],
|
||
|
"displayMode": "list",
|
||
|
"placement": "bottom",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "single",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"editorMode": "code",
|
||
|
"expr": "histogram_quantile(0.5, sum(rate(libp2p_identify_protocols_received_bucket{instance=~\"$instance\"}[$__rate_interval])) by (le))",
|
||
|
"legendFormat": "50th percentile",
|
||
|
"range": true,
|
||
|
"refId": "A"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"editorMode": "code",
|
||
|
"expr": "histogram_quantile(0.90, sum(rate(libp2p_identify_protocols_received_bucket{instance=~\"$instance\"}[$__rate_interval])) by (le))",
|
||
|
"hide": false,
|
||
|
"legendFormat": "90th percentile",
|
||
|
"range": true,
|
||
|
"refId": "B"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"editorMode": "code",
|
||
|
"expr": "histogram_quantile(0.99, sum(rate(libp2p_identify_protocols_received_bucket{instance=~\"$instance\"}[$__rate_interval])) by (le))",
|
||
|
"hide": false,
|
||
|
"legendFormat": "99th percentile",
|
||
|
"range": true,
|
||
|
"refId": "C"
|
||
|
}
|
||
|
],
|
||
|
"title": "Incoming Protocols Count (Avg)",
|
||
|
"type": "timeseries"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "palette-classic"
|
||
|
},
|
||
|
"custom": {
|
||
|
"hideFrom": {
|
||
|
"legend": false,
|
||
|
"tooltip": false,
|
||
|
"viz": false
|
||
|
}
|
||
|
},
|
||
|
"mappings": []
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 25
|
||
|
},
|
||
|
"id": 15,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"displayMode": "list",
|
||
|
"placement": "bottom",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"pieType": "pie",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"lastNotNull"
|
||
|
],
|
||
|
"fields": "",
|
||
|
"values": false
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "single",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"editorMode": "code",
|
||
|
"expr": "increase(libp2p_identify_conn_push_support_total{instance=~\"$instance\"}[$__rate_interval])",
|
||
|
"legendFormat": "{{support}}",
|
||
|
"range": true,
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"title": "New Connections: Push Support",
|
||
|
"type": "piechart"
|
||
|
}
|
||
|
],
|
||
|
"schemaVersion": 37,
|
||
|
"style": "dark",
|
||
|
"tags": [],
|
||
|
"templating": {
|
||
|
"list": [
|
||
|
{
|
||
|
"hide": 0,
|
||
|
"label": "datasource",
|
||
|
"name": "DS_PROMETHEUS",
|
||
|
"options": [],
|
||
|
"query": "prometheus",
|
||
|
"refresh": 1,
|
||
|
"regex": "",
|
||
|
"type": "datasource"
|
||
|
},
|
||
|
{
|
||
|
"current": {},
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"definition": "label_values(up, instance)",
|
||
|
"hide": 0,
|
||
|
"includeAll": true,
|
||
|
"multi": true,
|
||
|
"name": "instance",
|
||
|
"options": [],
|
||
|
"query": {
|
||
|
"query": "label_values(up, instance)",
|
||
|
"refId": "StandardVariableQuery"
|
||
|
},
|
||
|
"refresh": 1,
|
||
|
"skipUrlSync": false,
|
||
|
"sort": 0,
|
||
|
"type": "query"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"time": {
|
||
|
"from": "now-15m",
|
||
|
"to": "now"
|
||
|
},
|
||
|
"timepicker": {},
|
||
|
"timezone": "",
|
||
|
"title": "libp2p Identify",
|
||
|
"uid": "0NDzQQ0Vz",
|
||
|
"version": 2,
|
||
|
"weekStart": ""
|
||
|
}
|