Skip to content
Snippets Groups Projects
Commit 4afe5c61 authored by Jan David Mol's avatar Jan David Mol
Browse files

Add SST replicator statistics to dashboard.

parent c9964b46
Branches
Tags
No related merge requests found
...@@ -957,7 +957,7 @@ ...@@ -957,7 +957,7 @@
"type": "stat" "type": "stat"
}, },
{ {
"collapsed": true, "collapsed": false,
"datasource": null, "datasource": null,
"gridPos": { "gridPos": {
"h": 1, "h": 1,
...@@ -1049,6 +1049,7 @@ ...@@ -1049,6 +1049,7 @@
"custom": { "custom": {
"axisLabel": "", "axisLabel": "",
"axisPlacement": "auto", "axisPlacement": "auto",
"axisSoftMin": 0,
"barAlignment": 0, "barAlignment": 0,
"drawStyle": "line", "drawStyle": "line",
"fillOpacity": 0, "fillOpacity": 0,
...@@ -1157,6 +1158,7 @@ ...@@ -1157,6 +1158,7 @@
"custom": { "custom": {
"axisLabel": "", "axisLabel": "",
"axisPlacement": "auto", "axisPlacement": "auto",
"axisSoftMin": 0,
"barAlignment": 0, "barAlignment": 0,
"drawStyle": "line", "drawStyle": "line",
"fillOpacity": 0, "fillOpacity": 0,
...@@ -1225,7 +1227,195 @@ ...@@ -1225,7 +1227,195 @@
"targets": [ "targets": [
{ {
"exemplar": true, "exemplar": true,
"expr": "rate(device_attribute{device=\"lts/sst/1\",name=\"nof_valid_payloads_R\"}[1m])", "expr": "sum(rate(device_attribute{device=\"lts/sst/1\",name=\"nof_valid_payloads_R\"}[1m]))",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "{{x}}",
"refId": "A"
}
],
"title": "SST packets received",
"transformations": [],
"type": "timeseries"
},
{
"datasource": "Prometheus",
"description": "Rate of SST packets replicated to connected clients.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"axisSoftMin": 0,
"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": "transparent",
"value": null
},
{
"color": "green",
"value": 50
},
{
"color": "red",
"value": 100
}
]
},
"unit": "pps"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 5,
"x": 15,
"y": 29
},
"id": 33,
"options": {
"legend": {
"calcs": [],
"displayMode": "hidden",
"placement": "bottom"
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "8.1.2",
"targets": [
{
"exemplar": true,
"expr": "rate(device_attribute{device=\"lts/sst/1\",name=\"replicator_nof_packets_sent_R\"}[1m])",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "{{x}}",
"refId": "A"
}
],
"title": "SST packets sent",
"transformations": [],
"type": "timeseries"
},
{
"datasource": "Prometheus",
"description": "Load of TCPReplicator class, which sends statistics packets to connected clients.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"axisSoftMax": 5,
"axisSoftMin": 0,
"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": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "transparent",
"value": null
},
{
"color": "green",
"value": 50
},
{
"color": "red",
"value": 100
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 3,
"x": 20,
"y": 29
},
"id": 34,
"options": {
"legend": {
"calcs": [],
"displayMode": "hidden",
"placement": "bottom"
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "8.1.2",
"targets": [
{
"exemplar": true,
"expr": "device_attribute{device=\"lts/sst/1\",name=\"replicator_nof_tasks_pending_R\"}",
"format": "time_series", "format": "time_series",
"hide": false, "hide": false,
"instant": false, "instant": false,
...@@ -1234,7 +1424,7 @@ ...@@ -1234,7 +1424,7 @@
"refId": "A" "refId": "A"
} }
], ],
"title": "SST packets", "title": "Replicator load",
"transformations": [], "transformations": [],
"type": "timeseries" "type": "timeseries"
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment