Fixed furumi dashboard
This commit is contained in:
@@ -57,7 +57,7 @@ data:
|
|||||||
"type": "prometheus",
|
"type": "prometheus",
|
||||||
"uid": "${datasource}"
|
"uid": "${datasource}"
|
||||||
},
|
},
|
||||||
"expr": "furumi_active_streams",
|
"expr": "sum(furumi_active_streams)",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -91,7 +91,7 @@ data:
|
|||||||
"type": "prometheus",
|
"type": "prometheus",
|
||||||
"uid": "${datasource}"
|
"uid": "${datasource}"
|
||||||
},
|
},
|
||||||
"expr": "rate(furumi_bytes_read_total[$__rate_interval])",
|
"expr": "sum(rate(furumi_bytes_read_total[$__rate_interval]))",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -431,188 +431,202 @@ data:
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"collapsed": true,
|
||||||
"gridPos": {
|
"gridPos": {
|
||||||
"h": 8,
|
"h": 1,
|
||||||
"w": 12,
|
"w": 24,
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 12
|
"y": 12
|
||||||
},
|
},
|
||||||
"id": 7,
|
"id": 99,
|
||||||
"options": {
|
"panels": [
|
||||||
"legend": {
|
|
||||||
"calcs": [],
|
|
||||||
"displayMode": "list",
|
|
||||||
"placement": "bottom",
|
|
||||||
"showLegend": true
|
|
||||||
},
|
|
||||||
"tooltip": {
|
|
||||||
"mode": "single",
|
|
||||||
"sort": "none"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"pluginVersion": "10.0.0",
|
|
||||||
"targets": [
|
|
||||||
{
|
{
|
||||||
"datasource": {
|
"gridPos": {
|
||||||
"type": "prometheus",
|
"h": 8,
|
||||||
"uid": "${datasource}"
|
"w": 12,
|
||||||
|
"x": 0,
|
||||||
|
"y": 13
|
||||||
},
|
},
|
||||||
"expr": "process_resident_memory_bytes / 1024 / 1024",
|
"id": 7,
|
||||||
"legendFormat": "Resident Memory",
|
"options": {
|
||||||
"refId": "A"
|
"legend": {
|
||||||
},
|
"calcs": [],
|
||||||
{
|
"displayMode": "list",
|
||||||
"datasource": {
|
"placement": "bottom",
|
||||||
"type": "prometheus",
|
"showLegend": true
|
||||||
"uid": "${datasource}"
|
|
||||||
},
|
|
||||||
"expr": "process_virtual_memory_bytes / 1024 / 1024",
|
|
||||||
"legendFormat": "Virtual Memory",
|
|
||||||
"refId": "B"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"title": "Process Memory Usage",
|
|
||||||
"type": "timeseries",
|
|
||||||
"fieldConfig": {
|
|
||||||
"defaults": {
|
|
||||||
"color": {
|
|
||||||
"mode": "palette-classic"
|
|
||||||
},
|
|
||||||
"custom": {
|
|
||||||
"axisBorderShow": false,
|
|
||||||
"axisCenteredZero": false,
|
|
||||||
"axisColorMode": "text",
|
|
||||||
"axisLabel": "",
|
|
||||||
"axisPlacement": "auto",
|
|
||||||
"barAlignment": 0,
|
|
||||||
"drawStyle": "line",
|
|
||||||
"fillOpacity": 15,
|
|
||||||
"gradientMode": "none",
|
|
||||||
"hideFrom": {
|
|
||||||
"legend": false,
|
|
||||||
"tooltip": false,
|
|
||||||
"viz": false
|
|
||||||
},
|
},
|
||||||
"insertNulls": false,
|
"tooltip": {
|
||||||
"lineInterpolation": "linear",
|
"mode": "single",
|
||||||
"lineWidth": 2,
|
"sort": "none"
|
||||||
"pointSize": 5,
|
|
||||||
"scaleDistribution": {
|
|
||||||
"type": "linear"
|
|
||||||
},
|
|
||||||
"showPoints": "auto",
|
|
||||||
"spanNulls": false,
|
|
||||||
"stacking": {
|
|
||||||
"group": "A",
|
|
||||||
"mode": "none"
|
|
||||||
},
|
|
||||||
"thresholdsStyle": {
|
|
||||||
"mode": "off"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"mappings": [],
|
"pluginVersion": "10.0.0",
|
||||||
"thresholds": {
|
"targets": [
|
||||||
"mode": "absolute",
|
{
|
||||||
"steps": [
|
"datasource": {
|
||||||
{ "color": "green", "value": null }
|
"type": "prometheus",
|
||||||
]
|
"uid": "${datasource}"
|
||||||
},
|
},
|
||||||
"unit": "megbytes"
|
"expr": "process_resident_memory_bytes / 1024 / 1024",
|
||||||
},
|
"legendFormat": "Resident Memory",
|
||||||
"overrides": []
|
"refId": "A"
|
||||||
}
|
},
|
||||||
},
|
{
|
||||||
{
|
"datasource": {
|
||||||
"gridPos": {
|
"type": "prometheus",
|
||||||
"h": 8,
|
"uid": "${datasource}"
|
||||||
"w": 12,
|
},
|
||||||
"x": 12,
|
"expr": "process_virtual_memory_bytes / 1024 / 1024",
|
||||||
"y": 12
|
"legendFormat": "Virtual Memory",
|
||||||
},
|
"refId": "B"
|
||||||
"id": 8,
|
}
|
||||||
"options": {
|
],
|
||||||
"legend": {
|
"title": "Process Memory Usage",
|
||||||
"calcs": [],
|
"type": "timeseries",
|
||||||
"displayMode": "list",
|
"fieldConfig": {
|
||||||
"placement": "bottom",
|
"defaults": {
|
||||||
"showLegend": true
|
"color": {
|
||||||
},
|
"mode": "palette-classic"
|
||||||
"tooltip": {
|
},
|
||||||
"mode": "single",
|
"custom": {
|
||||||
"sort": "none"
|
"axisBorderShow": false,
|
||||||
}
|
"axisCenteredZero": false,
|
||||||
},
|
"axisColorMode": "text",
|
||||||
"pluginVersion": "10.0.0",
|
"axisLabel": "",
|
||||||
"targets": [
|
"axisPlacement": "auto",
|
||||||
{
|
"barAlignment": 0,
|
||||||
"datasource": {
|
"drawStyle": "line",
|
||||||
"type": "prometheus",
|
"fillOpacity": 15,
|
||||||
"uid": "${datasource}"
|
"gradientMode": "none",
|
||||||
},
|
"hideFrom": {
|
||||||
"expr": "process_open_fds",
|
"legend": false,
|
||||||
"legendFormat": "Open FDs",
|
"tooltip": false,
|
||||||
"refId": "A"
|
"viz": false
|
||||||
|
},
|
||||||
|
"insertNulls": false,
|
||||||
|
"lineInterpolation": "linear",
|
||||||
|
"lineWidth": 2,
|
||||||
|
"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 }
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"unit": "megbytes"
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"datasource": {
|
"gridPos": {
|
||||||
"type": "prometheus",
|
"h": 8,
|
||||||
"uid": "${datasource}"
|
"w": 12,
|
||||||
|
"x": 12,
|
||||||
|
"y": 13
|
||||||
},
|
},
|
||||||
"expr": "process_max_fds",
|
"id": 8,
|
||||||
"legendFormat": "Max FDs",
|
"options": {
|
||||||
"refId": "B"
|
"legend": {
|
||||||
|
"calcs": [],
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom",
|
||||||
|
"showLegend": true
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "single",
|
||||||
|
"sort": "none"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"pluginVersion": "10.0.0",
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "${datasource}"
|
||||||
|
},
|
||||||
|
"expr": "process_open_fds",
|
||||||
|
"legendFormat": "Open FDs",
|
||||||
|
"refId": "A"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "${datasource}"
|
||||||
|
},
|
||||||
|
"expr": "process_max_fds",
|
||||||
|
"legendFormat": "Max FDs",
|
||||||
|
"refId": "B"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Process File Descriptors",
|
||||||
|
"type": "timeseries",
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "palette-classic"
|
||||||
|
},
|
||||||
|
"custom": {
|
||||||
|
"axisBorderShow": false,
|
||||||
|
"axisCenteredZero": false,
|
||||||
|
"axisColorMode": "text",
|
||||||
|
"axisLabel": "",
|
||||||
|
"axisPlacement": "auto",
|
||||||
|
"barAlignment": 0,
|
||||||
|
"drawStyle": "line",
|
||||||
|
"fillOpacity": 10,
|
||||||
|
"gradientMode": "none",
|
||||||
|
"hideFrom": {
|
||||||
|
"legend": false,
|
||||||
|
"tooltip": false,
|
||||||
|
"viz": false
|
||||||
|
},
|
||||||
|
"insertNulls": false,
|
||||||
|
"lineInterpolation": "linear",
|
||||||
|
"lineWidth": 2,
|
||||||
|
"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 }
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"unit": "short"
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"title": "Process File Descriptors",
|
"title": "Process Metrics (Memory, FDs)",
|
||||||
"type": "timeseries",
|
"type": "row"
|
||||||
"fieldConfig": {
|
|
||||||
"defaults": {
|
|
||||||
"color": {
|
|
||||||
"mode": "palette-classic"
|
|
||||||
},
|
|
||||||
"custom": {
|
|
||||||
"axisBorderShow": false,
|
|
||||||
"axisCenteredZero": false,
|
|
||||||
"axisColorMode": "text",
|
|
||||||
"axisLabel": "",
|
|
||||||
"axisPlacement": "auto",
|
|
||||||
"barAlignment": 0,
|
|
||||||
"drawStyle": "line",
|
|
||||||
"fillOpacity": 10,
|
|
||||||
"gradientMode": "none",
|
|
||||||
"hideFrom": {
|
|
||||||
"legend": false,
|
|
||||||
"tooltip": false,
|
|
||||||
"viz": false
|
|
||||||
},
|
|
||||||
"insertNulls": false,
|
|
||||||
"lineInterpolation": "linear",
|
|
||||||
"lineWidth": 2,
|
|
||||||
"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 }
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"unit": "short"
|
|
||||||
},
|
|
||||||
"overrides": []
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"refresh": "10s",
|
"refresh": "10s",
|
||||||
|
|||||||
Reference in New Issue
Block a user