Skip to content

Commit

Permalink
Merge branch 'main' into feat/fx-impl
Browse files Browse the repository at this point in the history
  • Loading branch information
kalinkrustev authored Jul 10, 2024
2 parents 1a2768f + 5df5666 commit 938a8f4
Show file tree
Hide file tree
Showing 9 changed files with 9,107 additions and 822 deletions.
4,047 changes: 4,047 additions & 0 deletions monitoring/dashboards/datastore/dashboard-mysql-exporter-quickstart.json

Large diffs are not rendered by default.

1,420 changes: 1,420 additions & 0 deletions monitoring/dashboards/datastore/dashboard-redis-exporter-quickstart.json

Large diffs are not rendered by default.

1,662 changes: 1,662 additions & 0 deletions monitoring/dashboards/infrastructure/prometheus-remote-write.json

Large diffs are not rendered by default.

170 changes: 93 additions & 77 deletions monitoring/dashboards/messaging/dashboard-kafka-topic-overview.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@
"name": "Grafana",
"version": "10.2.3"
},
{
"type": "panel",
"id": "graph",
"name": "Graph (old)",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
Expand Down Expand Up @@ -173,7 +167,7 @@
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(kafka_consumergroup_lag{instance=\"$instance\",topic=~\"$topic\"}) by (consumergroup, topic) ",
"expr": "sum(kafka_consumergroup_lag{instance=\"$instance\",topic=~\"$topic\",cluster=~\"$cluster\"}) by (consumergroup, topic) ",
"format": "time_series",
"instant": false,
"interval": "",
Expand Down Expand Up @@ -292,7 +286,7 @@
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(delta(kafka_topic_partition_current_offset{instance=~'$instance', topic=~\"$topic\"}[5m])/5) by (topic)",
"expr": "sum(delta(kafka_topic_partition_current_offset{instance=~'$instance', topic=~\"$topic\",cluster=~\"$cluster\"}[5m])/5) by (topic)",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{topic}}",
Expand Down Expand Up @@ -397,7 +391,7 @@
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(delta(kafka_consumergroup_current_offset{instance=~'$instance',topic=~\"$topic\"}[5m])/5) by (consumergroup, topic)",
"expr": "sum(delta(kafka_consumergroup_current_offset{instance=~'$instance',topic=~\"$topic\",cluster=~\"$cluster\"}[5m])/5) by (consumergroup, topic)",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{topic}}/{{consumergroup}}",
Expand Down Expand Up @@ -487,7 +481,7 @@
"calcs": [
"lastNotNull"
],
"displayMode": "list",
"displayMode": "table",
"placement": "right",
"showLegend": true
},
Expand All @@ -509,7 +503,7 @@
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(kafka_log_log_size{topic=~\"$topic\"}) by (topic)",
"expr": "sum(kafka_log_log_size{topic=~\"$topic\",cluster=~\"$cluster\"}) by (topic)",
"instant": true,
"legendFormat": "__auto",
"range": false,
Expand All @@ -533,58 +527,86 @@
"type": "row"
},
{
"aliasColors": {},
"bars": true,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"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"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 20,
"h": 5,
"w": 24,
"x": 0,
"y": 21
},
"hiddenSeries": false,
"id": 8,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"sideWidth": 420,
"total": false,
"values": true
},
"lines": false,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
"barRadius": 0,
"barWidth": 0.97,
"fullHighlight": false,
"groupWidth": 0.7,
"legend": {
"calcs": [
"lastNotNull"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"orientation": "auto",
"showValue": "auto",
"stacking": "none",
"tooltip": {
"mode": "single",
"sort": "none"
},
"xTickLabelRotation": 0,
"xTickLabelSpacing": 0
},
"percentage": false,
"pluginVersion": "10.2.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
Expand All @@ -593,7 +615,7 @@
},
"editorMode": "code",
"exemplar": false,
"expr": "sum by(topic) (kafka_topic_partitions{instance=\"$instance\",topic=~\"$topic\"})",
"expr": "sum by(topic) (kafka_topic_partitions{instance=\"$instance\",topic=~\"$topic\",cluster=~\"$cluster\"})",
"format": "time_series",
"instant": true,
"intervalFactor": 1,
Expand All @@ -602,37 +624,8 @@
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Partitions per Topic",
"tooltip": {
"shared": false,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "series",
"show": false,
"values": [
"current"
]
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
"type": "barchart"
}
],
"refresh": "",
Expand All @@ -642,6 +635,29 @@
],
"templating": {
"list": [
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(node_uname_info,cluster)",
"hide": 0,
"includeAll": false,
"multi": false,
"name": "cluster",
"options": [],
"query": {
"qryType": 1,
"query": "label_values(node_uname_info,cluster)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"current": {},
"datasource": {
Expand Down Expand Up @@ -743,7 +759,7 @@
},
"timezone": "browser",
"title": "Kafka - Topic Overview",
"uid": "jwPKIsniow-05",
"uid": "jwPKIsniow-v006",
"version": 1,
"weekStart": ""
}
Loading

0 comments on commit 938a8f4

Please sign in to comment.