mirror of
https://github.com/fluencelabs/node-distro
synced 2024-12-13 11:15:35 +00:00
2e9337ea3f
* Rename rust-peer to nox * Fix * Fix
2039 lines
54 KiB
JSON
2039 lines
54 KiB
JSON
{
|
|
"annotations": {
|
|
"list": [
|
|
{
|
|
"builtIn": 1,
|
|
"datasource": {
|
|
"type": "datasource",
|
|
"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": 192,
|
|
"links": [],
|
|
"liveNow": false,
|
|
"panels": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"fixedColor": "text",
|
|
"mode": "continuous-GrYlRd"
|
|
},
|
|
"custom": {
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"drawStyle": "bars",
|
|
"fillOpacity": 80,
|
|
"gradientMode": "scheme",
|
|
"hideFrom": {
|
|
"legend": false,
|
|
"tooltip": false,
|
|
"viz": false
|
|
},
|
|
"lineInterpolation": "linear",
|
|
"lineStyle": {
|
|
"fill": "solid"
|
|
},
|
|
"lineWidth": 1,
|
|
"pointSize": 1,
|
|
"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": 1000
|
|
}
|
|
]
|
|
},
|
|
"unit": "short"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"id": 24,
|
|
"maxDataPoints": 100,
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [
|
|
"min",
|
|
"max",
|
|
"mean",
|
|
"lastNotNull"
|
|
],
|
|
"displayMode": "list",
|
|
"placement": "bottom",
|
|
"showLegend": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "multi",
|
|
"sort": "none"
|
|
}
|
|
},
|
|
"pluginVersion": "9.4.3",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "sum(services_services_count{env=~\"$env\",instance=~\"$instance\"})",
|
|
"format": "time_series",
|
|
"instant": false,
|
|
"interval": "",
|
|
"legendFormat": "Services",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Total number of services",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {
|
|
"hideFrom": {
|
|
"legend": false,
|
|
"tooltip": false,
|
|
"viz": false
|
|
},
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
}
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 0
|
|
},
|
|
"id": 30,
|
|
"maxDataPoints": 100,
|
|
"options": {
|
|
"calculate": false,
|
|
"cellGap": 1,
|
|
"cellValues": {
|
|
"unit": "short"
|
|
},
|
|
"color": {
|
|
"exponent": 0.5,
|
|
"fill": "blue",
|
|
"min": 0,
|
|
"mode": "opacity",
|
|
"reverse": false,
|
|
"scale": "exponential",
|
|
"scheme": "Oranges",
|
|
"steps": 64
|
|
},
|
|
"exemplars": {
|
|
"color": "rgba(255,0,255,0.7)"
|
|
},
|
|
"filterValues": {
|
|
"le": 1e-9
|
|
},
|
|
"legend": {
|
|
"show": true
|
|
},
|
|
"rowsFrame": {
|
|
"layout": "auto",
|
|
"value": "Services"
|
|
},
|
|
"tooltip": {
|
|
"show": true,
|
|
"yHistogram": false
|
|
},
|
|
"yAxis": {
|
|
"axisPlacement": "left",
|
|
"reverse": false
|
|
}
|
|
},
|
|
"pluginVersion": "9.5.2",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "sum by (instance,env) (services_services_count{env=~\"$env\",instance=~\"$instance\"})",
|
|
"format": "time_series",
|
|
"instant": false,
|
|
"interval": "",
|
|
"legendFormat": "{{ instance }}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Number of services by host",
|
|
"type": "heatmap"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {
|
|
"hideFrom": {
|
|
"legend": false,
|
|
"tooltip": false,
|
|
"viz": false
|
|
},
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
}
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 8
|
|
},
|
|
"id": 379,
|
|
"maxDataPoints": 100,
|
|
"options": {
|
|
"calculate": false,
|
|
"cellGap": 1,
|
|
"cellValues": {
|
|
"unit": "short"
|
|
},
|
|
"color": {
|
|
"exponent": 0.5,
|
|
"fill": "light-purple",
|
|
"min": 0,
|
|
"mode": "opacity",
|
|
"reverse": false,
|
|
"scale": "exponential",
|
|
"scheme": "RdBu",
|
|
"steps": 52
|
|
},
|
|
"exemplars": {
|
|
"color": "rgba(255,0,255,0.7)"
|
|
},
|
|
"filterValues": {
|
|
"le": 1e-9
|
|
},
|
|
"legend": {
|
|
"show": true
|
|
},
|
|
"rowsFrame": {
|
|
"layout": "auto",
|
|
"value": "Worker-spells"
|
|
},
|
|
"tooltip": {
|
|
"show": true,
|
|
"yHistogram": false
|
|
},
|
|
"yAxis": {
|
|
"axisPlacement": "left",
|
|
"reverse": false
|
|
}
|
|
},
|
|
"pluginVersion": "9.5.2",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "sum by (instance,env) (services_services_count{env=~\"$env\",instance=~\"$instance\", service_type=\"worker-spell\"})",
|
|
"format": "time_series",
|
|
"instant": false,
|
|
"interval": "",
|
|
"legendFormat": "{{ instance }}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Number of worker-spells by host",
|
|
"type": "heatmap"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {
|
|
"hideFrom": {
|
|
"legend": false,
|
|
"tooltip": false,
|
|
"viz": false
|
|
},
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
}
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 8
|
|
},
|
|
"id": 380,
|
|
"maxDataPoints": 100,
|
|
"options": {
|
|
"calculate": false,
|
|
"cellGap": 1,
|
|
"cellValues": {
|
|
"unit": "short"
|
|
},
|
|
"color": {
|
|
"exponent": 0.5,
|
|
"fill": "super-light-green",
|
|
"min": 0,
|
|
"mode": "opacity",
|
|
"reverse": false,
|
|
"scale": "exponential",
|
|
"scheme": "RdBu",
|
|
"steps": 47
|
|
},
|
|
"exemplars": {
|
|
"color": "rgba(255,0,255,0.7)"
|
|
},
|
|
"filterValues": {
|
|
"le": 1e-9
|
|
},
|
|
"legend": {
|
|
"show": true
|
|
},
|
|
"rowsFrame": {
|
|
"layout": "auto",
|
|
"value": "Spells"
|
|
},
|
|
"tooltip": {
|
|
"show": true,
|
|
"yHistogram": false
|
|
},
|
|
"yAxis": {
|
|
"axisPlacement": "left",
|
|
"reverse": false
|
|
}
|
|
},
|
|
"pluginVersion": "9.5.2",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "sum by (instance,env) (services_services_count{env=~\"$env\",instance=~\"$instance\", service_type=\"spell\"})",
|
|
"format": "time_series",
|
|
"instant": false,
|
|
"interval": "",
|
|
"legendFormat": "{{ instance }}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Number of other spells by host",
|
|
"type": "heatmap"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 16
|
|
},
|
|
"id": 140,
|
|
"panels": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {
|
|
"hideFrom": {
|
|
"legend": false,
|
|
"tooltip": false,
|
|
"viz": false
|
|
},
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
}
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 11,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 17
|
|
},
|
|
"id": 23,
|
|
"options": {
|
|
"calculate": false,
|
|
"cellGap": 0,
|
|
"cellValues": {
|
|
"unit": "bytes"
|
|
},
|
|
"color": {
|
|
"exponent": 1,
|
|
"fill": "orange",
|
|
"min": 0,
|
|
"mode": "scheme",
|
|
"reverse": false,
|
|
"scale": "exponential",
|
|
"scheme": "PuBu",
|
|
"steps": 10
|
|
},
|
|
"exemplars": {
|
|
"color": "rgba(255,0,255,0.7)"
|
|
},
|
|
"filterValues": {
|
|
"le": 1e-9
|
|
},
|
|
"legend": {
|
|
"show": true
|
|
},
|
|
"rowsFrame": {
|
|
"layout": "auto",
|
|
"value": "Memory"
|
|
},
|
|
"tooltip": {
|
|
"show": true,
|
|
"yHistogram": false
|
|
},
|
|
"yAxis": {
|
|
"axisPlacement": "left",
|
|
"reverse": true
|
|
}
|
|
},
|
|
"pluginVersion": "9.5.2",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "sum (services_mem_used_total_bytes{env=~\"$env\",instance=~\"$instance\"}) by (env,instance)",
|
|
"format": "time_series",
|
|
"interval": "",
|
|
"legendFormat": "{{ instance }}",
|
|
"range": true,
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Total used memory",
|
|
"type": "heatmap"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"drawStyle": "bars",
|
|
"fillOpacity": 0,
|
|
"gradientMode": "none",
|
|
"hideFrom": {
|
|
"legend": false,
|
|
"tooltip": false,
|
|
"viz": false
|
|
},
|
|
"lineInterpolation": "linear",
|
|
"lineWidth": 1,
|
|
"pointSize": 1,
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
},
|
|
"showPoints": "auto",
|
|
"spanNulls": false,
|
|
"stacking": {
|
|
"group": "A",
|
|
"mode": "normal"
|
|
},
|
|
"thresholdsStyle": {
|
|
"mode": "off"
|
|
}
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green"
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "bytes"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 11,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 28
|
|
},
|
|
"id": 108,
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [
|
|
"mean",
|
|
"lastNotNull"
|
|
],
|
|
"displayMode": "table",
|
|
"placement": "right",
|
|
"showLegend": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "multi",
|
|
"sort": "none"
|
|
}
|
|
},
|
|
"pluginVersion": "9.4.3",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "sum(services_mem_used_total_bytes{env=~\"$env\",instance=~\"$instance\"}) by (service_type)",
|
|
"interval": "",
|
|
"legendFormat": "{{ service_type }} ",
|
|
"range": true,
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Total used memory by service types",
|
|
"transformations": [],
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"description": "Configured maximum for services.",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "continuous-BlYlRd",
|
|
"seriesBy": "last"
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 5,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 39
|
|
},
|
|
"id": 38,
|
|
"options": {
|
|
"displayMode": "gradient",
|
|
"minVizHeight": 10,
|
|
"minVizWidth": 0,
|
|
"orientation": "auto",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showUnfilled": true,
|
|
"valueMode": "color"
|
|
},
|
|
"pluginVersion": "9.5.2",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "sum (services_mem_max_per_module_bytes_bucket{env=~\"$env\",instance=~\"$instance\"}) by (le)",
|
|
"format": "heatmap",
|
|
"legendFormat": "{{le}}",
|
|
"range": true,
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Available memory per modules, total",
|
|
"transformations": [
|
|
{
|
|
"id": "organize",
|
|
"options": {
|
|
"excludeByName": {},
|
|
"indexByName": {},
|
|
"renameByName": {
|
|
"1048576.0": "1 MiB",
|
|
"10485760.0": "10 MiB",
|
|
"104857600.0": "100 MiB",
|
|
"1073741824.0": "1 GiB",
|
|
"209715200.0": "200 MiB",
|
|
"2147483648.0": "2 GiB",
|
|
"26214400.0": "25 MiB",
|
|
"3221225472.0": "3 GiB",
|
|
"4294967296.0": "4 GiB",
|
|
"5242880.0": "5 MiB",
|
|
"52428800.0": "50 MiB",
|
|
"524288000.0": "500 MiB"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": "bargauge"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"description": "Configured maximum for services.",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "continuous-BlYlRd",
|
|
"seriesBy": "last"
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 5,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 39
|
|
},
|
|
"id": 318,
|
|
"options": {
|
|
"displayMode": "gradient",
|
|
"minVizHeight": 10,
|
|
"minVizWidth": 0,
|
|
"orientation": "auto",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showUnfilled": true,
|
|
"valueMode": "color"
|
|
},
|
|
"pluginVersion": "9.5.2",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "sum (services_mem_max_bytes_bucket{env=~\"$env\",instance=~\"$instance\"}) by (le)",
|
|
"format": "heatmap",
|
|
"legendFormat": "{{le}}",
|
|
"range": true,
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Available memory per services, total",
|
|
"transformations": [
|
|
{
|
|
"id": "organize",
|
|
"options": {
|
|
"excludeByName": {},
|
|
"indexByName": {},
|
|
"renameByName": {
|
|
"1048576.0": "1 MiB",
|
|
"10485760.0": "10 MiB",
|
|
"104857600.0": "100 MiB",
|
|
"1073741824.0": "1 GiB",
|
|
"209715200.0": "200 MiB",
|
|
"2147483648.0": "2 GiB",
|
|
"26214400.0": "25 MiB",
|
|
"3221225472.0": "3 GiB",
|
|
"4294967296.0": "4 GiB",
|
|
"5242880.0": "5 MiB",
|
|
"52428800.0": "50 MiB",
|
|
"524288000.0": "500 MiB"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": "bargauge"
|
|
}
|
|
],
|
|
"title": "Memory usage",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 17
|
|
},
|
|
"id": 268,
|
|
"panels": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"fillOpacity": 80,
|
|
"gradientMode": "none",
|
|
"hideFrom": {
|
|
"legend": false,
|
|
"tooltip": false,
|
|
"viz": false
|
|
},
|
|
"lineWidth": 1,
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
},
|
|
"thresholdsStyle": {
|
|
"mode": "off"
|
|
}
|
|
},
|
|
"mappings": [],
|
|
"noValue": "0",
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green"
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "short"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Value #A (last)"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "displayName",
|
|
"value": "success"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Value #B (last)"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "displayName",
|
|
"value": "failed"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 45
|
|
},
|
|
"id": 64,
|
|
"options": {
|
|
"barRadius": 0,
|
|
"barWidth": 0.97,
|
|
"fullHighlight": false,
|
|
"groupWidth": 0.7,
|
|
"legend": {
|
|
"calcs": [],
|
|
"displayMode": "list",
|
|
"placement": "right",
|
|
"showLegend": false
|
|
},
|
|
"orientation": "horizontal",
|
|
"showValue": "never",
|
|
"stacking": "normal",
|
|
"tooltip": {
|
|
"mode": "multi",
|
|
"sort": "asc"
|
|
},
|
|
"xTickLabelRotation": 0,
|
|
"xTickLabelSpacing": 0
|
|
},
|
|
"pluginVersion": "9.1.6",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"editorMode": "code",
|
|
"expr": "sum(services_call_success_count_total{env=~\"$env\",instance=~\"$instance\"}) by (service_type)",
|
|
"format": "table",
|
|
"legendFormat": "success",
|
|
"range": true,
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "sum(services_call_failed_count_total{env=~\"$env\",instance=~\"$instance\"}) by (service_type)",
|
|
"format": "table",
|
|
"hide": false,
|
|
"legendFormat": "failed",
|
|
"range": true,
|
|
"refId": "B"
|
|
}
|
|
],
|
|
"title": "Succeeded/failed calls",
|
|
"transformations": [
|
|
{
|
|
"id": "merge",
|
|
"options": {}
|
|
},
|
|
{
|
|
"id": "groupBy",
|
|
"options": {
|
|
"fields": {
|
|
"Value #A": {
|
|
"aggregations": [
|
|
"last"
|
|
],
|
|
"operation": "aggregate"
|
|
},
|
|
"Value #B": {
|
|
"aggregations": [
|
|
"last"
|
|
],
|
|
"operation": "aggregate"
|
|
},
|
|
"service_type": {
|
|
"aggregations": [],
|
|
"operation": "groupby"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": "barchart"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"description": "",
|
|
"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"
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 45
|
|
},
|
|
"id": 41,
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [
|
|
"max",
|
|
"lastNotNull"
|
|
],
|
|
"displayMode": "table",
|
|
"placement": "right",
|
|
"showLegend": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "multi",
|
|
"sort": "none"
|
|
}
|
|
},
|
|
"pluginVersion": "9.4.3",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "sum(increase(services_creation_count_total{env=~\"$env\",instance=~\"$instance\"}[$__rate_interval]))",
|
|
"instant": false,
|
|
"interval": "",
|
|
"legendFormat": "Created",
|
|
"range": true,
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"editorMode": "code",
|
|
"expr": "sum(increase(services_removal_count_total{env=~\"$env\"}[$__rate_interval]))",
|
|
"hide": false,
|
|
"legendFormat": "Removed",
|
|
"range": true,
|
|
"refId": "B"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"editorMode": "code",
|
|
"expr": "sum(increase(services_creation_failure_count_total{env=~\"$env\"}[$__rate_interval]))",
|
|
"hide": false,
|
|
"legendFormat": "Failed to create",
|
|
"range": true,
|
|
"refId": "C"
|
|
}
|
|
],
|
|
"title": "Created/removed/failed to create servies",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"cards": {},
|
|
"color": {
|
|
"cardColor": "#b4ff00",
|
|
"colorScale": "sqrt",
|
|
"colorScheme": "interpolateCool",
|
|
"exponent": 0.5,
|
|
"mode": "spectrum"
|
|
},
|
|
"dataFormat": "tsbuckets",
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {
|
|
"hideFrom": {
|
|
"legend": false,
|
|
"tooltip": false,
|
|
"viz": false
|
|
},
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
}
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 53
|
|
},
|
|
"heatmap": {},
|
|
"hideZeroBuckets": true,
|
|
"highlightCards": true,
|
|
"id": 22,
|
|
"legend": {
|
|
"show": true
|
|
},
|
|
"maxDataPoints": 100,
|
|
"options": {
|
|
"calculate": false,
|
|
"calculation": {},
|
|
"cellGap": 2,
|
|
"cellValues": {},
|
|
"color": {
|
|
"exponent": 0.5,
|
|
"fill": "#b4ff00",
|
|
"mode": "scheme",
|
|
"reverse": false,
|
|
"scale": "exponential",
|
|
"scheme": "Cool",
|
|
"steps": 128
|
|
},
|
|
"exemplars": {
|
|
"color": "rgba(255,0,255,0.7)"
|
|
},
|
|
"filterValues": {
|
|
"le": 1e-9
|
|
},
|
|
"legend": {
|
|
"show": true
|
|
},
|
|
"rowsFrame": {
|
|
"layout": "auto"
|
|
},
|
|
"showValue": "never",
|
|
"tooltip": {
|
|
"show": true,
|
|
"yHistogram": false
|
|
},
|
|
"yAxis": {
|
|
"axisPlacement": "left",
|
|
"max": "120",
|
|
"min": "0",
|
|
"reverse": false,
|
|
"unit": "dtdurations"
|
|
}
|
|
},
|
|
"pluginVersion": "9.5.2",
|
|
"reverseYBuckets": false,
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "sum(increase(services_creation_time_msec_bucket{env=~\"$env\",instance=~\"$instance\"}[$__rate_interval])) by (le)",
|
|
"format": "heatmap",
|
|
"instant": false,
|
|
"interval": "1m",
|
|
"legendFormat": "{{le}}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Service creation time",
|
|
"tooltip": {
|
|
"show": true,
|
|
"showHistogram": false
|
|
},
|
|
"type": "heatmap",
|
|
"xAxis": {
|
|
"show": true
|
|
},
|
|
"yAxis": {
|
|
"format": "dtdurations",
|
|
"logBase": 2,
|
|
"max": "120",
|
|
"min": "0",
|
|
"show": true
|
|
},
|
|
"yBucketBound": "auto"
|
|
},
|
|
{
|
|
"cards": {},
|
|
"color": {
|
|
"cardColor": "#b4ff00",
|
|
"colorScale": "sqrt",
|
|
"colorScheme": "interpolateCool",
|
|
"exponent": 0.5,
|
|
"mode": "spectrum"
|
|
},
|
|
"dataFormat": "tsbuckets",
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {
|
|
"hideFrom": {
|
|
"legend": false,
|
|
"tooltip": false,
|
|
"viz": false
|
|
},
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
}
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 53
|
|
},
|
|
"heatmap": {},
|
|
"hideZeroBuckets": true,
|
|
"highlightCards": true,
|
|
"id": 11,
|
|
"legend": {
|
|
"show": true
|
|
},
|
|
"maxDataPoints": 100,
|
|
"options": {
|
|
"calculate": false,
|
|
"calculation": {},
|
|
"cellGap": 2,
|
|
"cellValues": {},
|
|
"color": {
|
|
"exponent": 0.5,
|
|
"fill": "#b4ff00",
|
|
"mode": "scheme",
|
|
"reverse": false,
|
|
"scale": "exponential",
|
|
"scheme": "Cool",
|
|
"steps": 128
|
|
},
|
|
"exemplars": {
|
|
"color": "rgba(255,0,255,0.7)"
|
|
},
|
|
"filterValues": {
|
|
"le": 1e-9
|
|
},
|
|
"legend": {
|
|
"show": true
|
|
},
|
|
"rowsFrame": {
|
|
"layout": "auto"
|
|
},
|
|
"showValue": "never",
|
|
"tooltip": {
|
|
"show": true,
|
|
"yHistogram": false
|
|
},
|
|
"yAxis": {
|
|
"axisPlacement": "left",
|
|
"max": "120",
|
|
"min": "0",
|
|
"reverse": false,
|
|
"unit": "dtdurations"
|
|
}
|
|
},
|
|
"pluginVersion": "9.5.2",
|
|
"reverseYBuckets": false,
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"exemplar": false,
|
|
"expr": "sum(increase(services_removal_time_msec_bucket{env =~ \"$env\"}[5m])) by (le)",
|
|
"format": "heatmap",
|
|
"interval": "1m",
|
|
"legendFormat": "{{le}}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Service removal time",
|
|
"tooltip": {
|
|
"show": true,
|
|
"showHistogram": false
|
|
},
|
|
"type": "heatmap",
|
|
"xAxis": {
|
|
"show": true
|
|
},
|
|
"yAxis": {
|
|
"format": "dtdurations",
|
|
"logBase": 2,
|
|
"max": "120",
|
|
"min": "0",
|
|
"show": true
|
|
},
|
|
"yBucketBound": "auto"
|
|
}
|
|
],
|
|
"title": "Stats",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 18
|
|
},
|
|
"id": 124,
|
|
"panels": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"hideFrom": {
|
|
"legend": false,
|
|
"tooltip": false,
|
|
"viz": false
|
|
}
|
|
},
|
|
"mappings": [],
|
|
"unit": "short"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "failed"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "red",
|
|
"mode": "fixed"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 4,
|
|
"x": 0,
|
|
"y": 62
|
|
},
|
|
"id": 45,
|
|
"options": {
|
|
"displayLabels": [
|
|
"value"
|
|
],
|
|
"legend": {
|
|
"displayMode": "list",
|
|
"placement": "bottom",
|
|
"showLegend": false
|
|
},
|
|
"pieType": "pie",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"tooltip": {
|
|
"mode": "multi",
|
|
"sort": "none"
|
|
}
|
|
},
|
|
"pluginVersion": "9.1.6",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"editorMode": "code",
|
|
"expr": "sum(services_call_success_count_total{env=~\"$env\",instance=~\"$instance\",service_type=~\"$service_type\"}) by (service_type)",
|
|
"legendFormat": "success",
|
|
"range": true,
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"editorMode": "code",
|
|
"expr": "sum(services_call_failed_count_total{env=~\"$env\",instance=~\"$instance\",service_type=~\"$service_type\"}) by (service_type)",
|
|
"hide": false,
|
|
"legendFormat": "failed",
|
|
"range": true,
|
|
"refId": "B"
|
|
}
|
|
],
|
|
"title": "Service calls",
|
|
"transformations": [],
|
|
"transparent": true,
|
|
"type": "piechart"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"description": "",
|
|
"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"
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "short"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "failed"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "red",
|
|
"mode": "fixed"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 10,
|
|
"x": 4,
|
|
"y": 62
|
|
},
|
|
"id": 92,
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [
|
|
"max",
|
|
"lastNotNull"
|
|
],
|
|
"displayMode": "table",
|
|
"placement": "right",
|
|
"showLegend": true,
|
|
"sortBy": "Last *",
|
|
"sortDesc": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "multi",
|
|
"sort": "none"
|
|
}
|
|
},
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"editorMode": "code",
|
|
"expr": "sum by(service_type) (increase(services_call_success_count_total{env=~\"$env\",instance=~\"$instance\",service_type=~\"$service_type\"}[$__rate_interval]))",
|
|
"legendFormat": "success",
|
|
"range": true,
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"editorMode": "code",
|
|
"expr": "sum by(service_type) (increase(services_call_failed_count_total{env=~\"$env\",instance=~\"$instance\",service_type=~\"$service_type\"}[$__rate_interval]))",
|
|
"hide": false,
|
|
"legendFormat": "failed",
|
|
"range": true,
|
|
"refId": "B"
|
|
}
|
|
],
|
|
"title": "Rate of service calls ",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"description": "Percentage from total service calls",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"mappings": [],
|
|
"max": 1,
|
|
"min": 0,
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green"
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "percentunit"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "failed"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "dark-red",
|
|
"mode": "fixed"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 10,
|
|
"x": 14,
|
|
"y": 62
|
|
},
|
|
"id": 43,
|
|
"options": {
|
|
"displayMode": "gradient",
|
|
"minVizHeight": 10,
|
|
"minVizWidth": 0,
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showUnfilled": true,
|
|
"valueMode": "color"
|
|
},
|
|
"pluginVersion": "9.5.2",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"editorMode": "code",
|
|
"expr": "sum (services_call_success_count_total{env=~\"$env\",instance=~\"$instance\",service_type=~\"$service_type\"})\n/\nsum (services_call_success_count_total{env=~\"$env\",instance=~\"$instance\"})",
|
|
"legendFormat": "success",
|
|
"range": true,
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"editorMode": "code",
|
|
"expr": "sum (services_call_failed_count_total{env=~\"$env\",instance=~\"$instance\",service_type=~\"$service_type\"})\n/\nsum (services_call_failed_count_total{env=~\"$env\",instance=~\"$instance\"})",
|
|
"hide": false,
|
|
"legendFormat": "failed",
|
|
"range": true,
|
|
"refId": "B"
|
|
}
|
|
],
|
|
"title": "Service calls total",
|
|
"type": "bargauge"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {
|
|
"hideFrom": {
|
|
"legend": false,
|
|
"tooltip": false,
|
|
"viz": false
|
|
},
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
}
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 10,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 71
|
|
},
|
|
"id": 49,
|
|
"options": {
|
|
"calculate": false,
|
|
"cellGap": 1,
|
|
"cellValues": {
|
|
"unit": "short"
|
|
},
|
|
"color": {
|
|
"exponent": 1,
|
|
"fill": "dark-orange",
|
|
"mode": "scheme",
|
|
"reverse": false,
|
|
"scale": "exponential",
|
|
"scheme": "Plasma",
|
|
"steps": 10
|
|
},
|
|
"exemplars": {
|
|
"color": "rgba(255,0,255,0.7)"
|
|
},
|
|
"filterValues": {
|
|
"le": 1e-9
|
|
},
|
|
"legend": {
|
|
"show": true
|
|
},
|
|
"rowsFrame": {
|
|
"layout": "auto",
|
|
"value": "Calls"
|
|
},
|
|
"tooltip": {
|
|
"show": true,
|
|
"yHistogram": false
|
|
},
|
|
"yAxis": {
|
|
"axisPlacement": "left",
|
|
"reverse": false,
|
|
"unit": "dtdurations"
|
|
}
|
|
},
|
|
"pluginVersion": "9.5.2",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "sum(increase(services_call_time_msec_bucket{env=~\"$env\",instance=~\"$instance\",service_type=\"$service_type\"}[$__rate_interval])) by (le)",
|
|
"format": "heatmap",
|
|
"instant": false,
|
|
"interval": "1m",
|
|
"legendFormat": "{{le}}",
|
|
"range": true,
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Service call time",
|
|
"type": "heatmap"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {
|
|
"hideFrom": {
|
|
"legend": false,
|
|
"tooltip": false,
|
|
"viz": false
|
|
},
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
}
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 11,
|
|
"x": 0,
|
|
"y": 81
|
|
},
|
|
"id": 19,
|
|
"options": {
|
|
"calculate": false,
|
|
"cellGap": 0,
|
|
"cellValues": {
|
|
"unit": "bytes"
|
|
},
|
|
"color": {
|
|
"exponent": 0.5,
|
|
"fill": "dark-orange",
|
|
"mode": "scheme",
|
|
"reverse": true,
|
|
"scale": "exponential",
|
|
"scheme": "PuBu",
|
|
"steps": 10
|
|
},
|
|
"exemplars": {
|
|
"color": "rgba(255,0,255,0.7)"
|
|
},
|
|
"filterValues": {
|
|
"le": 1e-9
|
|
},
|
|
"legend": {
|
|
"show": true
|
|
},
|
|
"rowsFrame": {
|
|
"layout": "auto",
|
|
"value": "Memory"
|
|
},
|
|
"tooltip": {
|
|
"show": true,
|
|
"yHistogram": false
|
|
},
|
|
"yAxis": {
|
|
"axisPlacement": "left",
|
|
"reverse": false
|
|
}
|
|
},
|
|
"pluginVersion": "9.5.2",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "sum by (instance) (services_mem_used_total_bytes{env=~\"$env\",instance=~\"$instance\",service_type=\"$service_type\"}) / sum by (instance) (services_services_count{env=~\"$env\",instance=~\"$instance\"})",
|
|
"hide": false,
|
|
"interval": "",
|
|
"legendFormat": "{{instance}}",
|
|
"range": true,
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Average memory usage by $service_type",
|
|
"type": "heatmap"
|
|
},
|
|
{
|
|
"cards": {},
|
|
"color": {
|
|
"cardColor": "#b4ff00",
|
|
"colorScale": "sqrt",
|
|
"colorScheme": "interpolateSpectral",
|
|
"exponent": 0.5,
|
|
"mode": "spectrum"
|
|
},
|
|
"dataFormat": "tsbuckets",
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {
|
|
"hideFrom": {
|
|
"legend": false,
|
|
"tooltip": false,
|
|
"viz": false
|
|
},
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
}
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 13,
|
|
"x": 11,
|
|
"y": 81
|
|
},
|
|
"heatmap": {},
|
|
"hideZeroBuckets": true,
|
|
"highlightCards": true,
|
|
"id": 21,
|
|
"legend": {
|
|
"show": false
|
|
},
|
|
"maxDataPoints": 100,
|
|
"options": {
|
|
"calculate": false,
|
|
"calculation": {},
|
|
"cellGap": 2,
|
|
"cellValues": {
|
|
"decimals": 0,
|
|
"unit": "short"
|
|
},
|
|
"color": {
|
|
"exponent": 0.5,
|
|
"fill": "#b4ff00",
|
|
"mode": "scheme",
|
|
"reverse": false,
|
|
"scale": "exponential",
|
|
"scheme": "Spectral",
|
|
"steps": 10
|
|
},
|
|
"exemplars": {
|
|
"color": "rgba(255,0,255,0.7)"
|
|
},
|
|
"filterValues": {
|
|
"le": 1e-9
|
|
},
|
|
"legend": {
|
|
"show": true
|
|
},
|
|
"rowsFrame": {
|
|
"layout": "auto",
|
|
"value": "Count"
|
|
},
|
|
"showValue": "never",
|
|
"tooltip": {
|
|
"show": true,
|
|
"yHistogram": false
|
|
},
|
|
"yAxis": {
|
|
"axisPlacement": "left",
|
|
"reverse": false,
|
|
"unit": "bytes"
|
|
}
|
|
},
|
|
"pluginVersion": "9.5.2",
|
|
"reverseYBuckets": false,
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "sum(increase(services_mem_used_bytes_bucket{env=~\"$env\",instance=~\"$instance\",service_type=~\"$service_type\"}[$__rate_interval])) by (le)",
|
|
"format": "heatmap",
|
|
"interval": "1m",
|
|
"legendFormat": "{{le}}",
|
|
"range": true,
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Used memory distribution",
|
|
"tooltip": {
|
|
"show": true,
|
|
"showHistogram": false
|
|
},
|
|
"type": "heatmap",
|
|
"xAxis": {
|
|
"show": true
|
|
},
|
|
"yAxis": {
|
|
"format": "bytes",
|
|
"logBase": 1,
|
|
"show": true
|
|
},
|
|
"yBucketBound": "auto"
|
|
}
|
|
],
|
|
"repeat": "service_type",
|
|
"repeatDirection": "h",
|
|
"title": "Service $service_type",
|
|
"type": "row"
|
|
}
|
|
],
|
|
"refresh": "",
|
|
"revision": 1,
|
|
"schemaVersion": 38,
|
|
"style": "dark",
|
|
"tags": [
|
|
"nox"
|
|
],
|
|
"templating": {
|
|
"list": [
|
|
{
|
|
"current": {
|
|
"selected": true,
|
|
"text": [
|
|
"krasnodar"
|
|
],
|
|
"value": [
|
|
"krasnodar"
|
|
]
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"definition": "label_values(up{job=~\"fluence|rust-peer|nox\"}, env)",
|
|
"hide": 0,
|
|
"includeAll": false,
|
|
"label": "env",
|
|
"multi": false,
|
|
"name": "env",
|
|
"options": [],
|
|
"query": {
|
|
"query": "label_values(up{job=~\"fluence|rust-peer|nox\"}, env)",
|
|
"refId": "StandardVariableQuery"
|
|
},
|
|
"refresh": 1,
|
|
"regex": "",
|
|
"skipUrlSync": false,
|
|
"sort": 0,
|
|
"type": "query"
|
|
},
|
|
{
|
|
"current": {
|
|
"selected": false,
|
|
"text": "All",
|
|
"value": "$__all"
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"definition": "label_values(up{job=~\"fluence|rust-peer|nox\",env=~\"$env\"}, instance)",
|
|
"hide": 0,
|
|
"includeAll": true,
|
|
"label": "",
|
|
"multi": true,
|
|
"name": "instance",
|
|
"options": [],
|
|
"query": {
|
|
"query": "label_values(up{job=~\"fluence|rust-peer|nox\",env=~\"$env\"}, instance)",
|
|
"refId": "StandardVariableQuery"
|
|
},
|
|
"refresh": 1,
|
|
"regex": "",
|
|
"skipUrlSync": false,
|
|
"sort": 0,
|
|
"type": "query"
|
|
},
|
|
{
|
|
"current": {
|
|
"selected": false,
|
|
"text": "All",
|
|
"value": "$__all"
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PAE45454D0EDB9216"
|
|
},
|
|
"definition": "label_values(services_call_success_count_total{env=~\"$env\",instance=~\"$instance\"},service_type)",
|
|
"hide": 0,
|
|
"includeAll": true,
|
|
"label": "service type",
|
|
"multi": true,
|
|
"name": "service_type",
|
|
"options": [],
|
|
"query": {
|
|
"query": "label_values(services_call_success_count_total{env=~\"$env\",instance=~\"$instance\"},service_type)",
|
|
"refId": "StandardVariableQuery"
|
|
},
|
|
"refresh": 1,
|
|
"regex": "",
|
|
"skipUrlSync": false,
|
|
"sort": 0,
|
|
"type": "query"
|
|
}
|
|
]
|
|
},
|
|
"time": {
|
|
"from": "now-3h",
|
|
"to": "now"
|
|
},
|
|
"timepicker": {},
|
|
"timezone": "",
|
|
"title": "Service metrics",
|
|
"uid": "bKk0Bdl7Z",
|
|
"version": 38,
|
|
"weekStart": ""
|
|
}
|