Skip to content

Commit

Permalink
Added log size per topic
Browse files Browse the repository at this point in the history
  • Loading branch information
muzammil360 authored Mar 14, 2024
1 parent f352f7e commit b1efae0
Showing 1 changed file with 124 additions and 6 deletions.
130 changes: 124 additions & 6 deletions monitoring/dashboards/messaging/dashboard-kafka-topic-overview.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
Expand Down Expand Up @@ -55,6 +61,118 @@
"links": [],
"liveNow": false,
"panels": [
{
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 21,
"title": "Storage",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Gives an idea about the storage requirements for each topic",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": 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
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 24,
"x": 0,
"y": 1
},
"id": 19,
"options": {
"legend": {
"calcs": [
"min",
"max",
"mean"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(kafka_log_log_size) by (topic)",
"instant": false,
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Log size by topic",
"type": "timeseries"
},
{
"aliasColors": {},
"bars": false,
Expand All @@ -76,7 +194,7 @@
"h": 10,
"w": 10,
"x": 0,
"y": 0
"y": 6
},
"hiddenSeries": false,
"id": 14,
Expand Down Expand Up @@ -175,7 +293,7 @@
"h": 10,
"w": 10,
"x": 10,
"y": 0
"y": 6
},
"hiddenSeries": false,
"id": 12,
Expand Down Expand Up @@ -276,7 +394,7 @@
"h": 10,
"w": 10,
"x": 0,
"y": 10
"y": 16
},
"hiddenSeries": false,
"id": 16,
Expand Down Expand Up @@ -372,7 +490,7 @@
"h": 10,
"w": 10,
"x": 10,
"y": 10
"y": 16
},
"hiddenSeries": false,
"id": 18,
Expand Down Expand Up @@ -470,7 +588,7 @@
"h": 7,
"w": 20,
"x": 0,
"y": 20
"y": 26
},
"hiddenSeries": false,
"id": 8,
Expand Down Expand Up @@ -660,7 +778,7 @@
},
"timezone": "browser",
"title": "Kafka - Topic Overview",
"uid": "jwPKIsniow-00",
"uid": "jwPKIsniow-01",
"version": 1,
"weekStart": ""
}

0 comments on commit b1efae0

Please sign in to comment.