Skip to content

Commit

Permalink
🧐 (grafana) add pub sub panel
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias-Pe committed Jul 12, 2024
1 parent 24d3de4 commit 6d115f7
Showing 1 changed file with 113 additions and 2 deletions.
115 changes: 113 additions & 2 deletions docker/grafana/dashboards/kepler-exporter.json
Original file line number Diff line number Diff line change
Expand Up @@ -1072,9 +1072,120 @@
],
"title": "Usefull Work - Service Metrics",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "P1809F7CD0C75ACF3"
},
"description": "Here you can get a feeling if the Queues are all consumed",
"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": "smooth",
"lineStyle": {
"fill": "solid"
},
"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": 6,
"w": 24,
"x": 0,
"y": 35
},
"id": 61,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right",
"showLegend": true,
"sortBy": "Range",
"sortDesc": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "P1809F7CD0C75ACF3"
},
"editorMode": "builder",
"expr": "rate(rabbitmq_published_total[1m])",
"hide": false,
"instant": false,
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "P1809F7CD0C75ACF3"
},
"editorMode": "builder",
"expr": "rate(rabbitmq_consumed_total[1m])",
"hide": false,
"instant": false,
"range": true,
"refId": "B"
}
],
"title": "Pub Sub Rate",
"type": "timeseries"
}
],
"refresh": "5s",
"refresh": "",
"schemaVersion": 38,
"style": "dark",
"tags": [],
Expand Down Expand Up @@ -1169,7 +1280,7 @@
]
},
"time": {
"from": "now-30m",
"from": "now-15m",
"to": "now"
},
"timepicker": {},
Expand Down

0 comments on commit 6d115f7

Please sign in to comment.