You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
612 lines
13 KiB
612 lines
13 KiB
{ |
|
"annotations": { |
|
"list": [ |
|
{ |
|
"builtIn": 1, |
|
"datasource": "-- Grafana --", |
|
"enable": true, |
|
"hide": true, |
|
"iconColor": "rgba(0, 211, 255, 1)", |
|
"name": "Annotations & Alerts", |
|
"type": "dashboard" |
|
} |
|
] |
|
}, |
|
"description": "Kafka resource usage and throughput", |
|
"editable": true, |
|
"gnetId": 721, |
|
"graphTooltip": 0, |
|
"id": 3, |
|
"links": [], |
|
"panels": [ |
|
{ |
|
"aliasColors": { |
|
"localhost:7071": "#629E51" |
|
}, |
|
"bars": false, |
|
"dashLength": 10, |
|
"dashes": false, |
|
"datasource": "Prometheus", |
|
"editable": true, |
|
"error": false, |
|
"fill": 1, |
|
"grid": {}, |
|
"gridPos": { |
|
"h": 7, |
|
"w": 8, |
|
"x": 0, |
|
"y": 0 |
|
}, |
|
"id": 1, |
|
"isNew": true, |
|
"legend": { |
|
"avg": false, |
|
"current": false, |
|
"max": false, |
|
"min": false, |
|
"show": true, |
|
"total": false, |
|
"values": false |
|
}, |
|
"lines": true, |
|
"linewidth": 2, |
|
"links": [], |
|
"nullPointMode": "connected", |
|
"percentage": false, |
|
"pointradius": 5, |
|
"points": false, |
|
"renderer": "flot", |
|
"seriesOverrides": [], |
|
"spaceLength": 10, |
|
"stack": false, |
|
"steppedLine": false, |
|
"targets": [ |
|
{ |
|
"expr": "rate(process_cpu_seconds_total{job=~\"kafka-1|kafka-2|kafka-3\"}[1m])", |
|
"format": "time_series", |
|
"intervalFactor": 2, |
|
"legendFormat": "{{instance}}", |
|
"metric": "process_cpu_seconds_total", |
|
"refId": "A", |
|
"step": 4 |
|
} |
|
], |
|
"thresholds": [], |
|
"timeFrom": null, |
|
"timeShift": null, |
|
"title": "CPU Usage", |
|
"tooltip": { |
|
"msResolution": false, |
|
"shared": true, |
|
"sort": 0, |
|
"value_type": "cumulative" |
|
}, |
|
"type": "graph", |
|
"xaxis": { |
|
"buckets": null, |
|
"mode": "time", |
|
"name": null, |
|
"show": true, |
|
"values": [] |
|
}, |
|
"yaxes": [ |
|
{ |
|
"format": "short", |
|
"label": "Cores", |
|
"logBase": 1, |
|
"max": null, |
|
"min": null, |
|
"show": true |
|
}, |
|
{ |
|
"format": "short", |
|
"label": null, |
|
"logBase": 1, |
|
"max": null, |
|
"min": null, |
|
"show": true |
|
} |
|
], |
|
"yaxis": { |
|
"align": false, |
|
"alignLevel": null |
|
} |
|
}, |
|
{ |
|
"aliasColors": { |
|
"localhost:7071": "#BA43A9" |
|
}, |
|
"bars": false, |
|
"dashLength": 10, |
|
"dashes": false, |
|
"datasource": "Prometheus", |
|
"editable": true, |
|
"error": false, |
|
"fill": 1, |
|
"grid": {}, |
|
"gridPos": { |
|
"h": 7, |
|
"w": 8, |
|
"x": 8, |
|
"y": 0 |
|
}, |
|
"id": 2, |
|
"isNew": true, |
|
"legend": { |
|
"avg": false, |
|
"current": false, |
|
"max": false, |
|
"min": false, |
|
"show": true, |
|
"total": false, |
|
"values": false |
|
}, |
|
"lines": true, |
|
"linewidth": 2, |
|
"links": [], |
|
"nullPointMode": "connected", |
|
"percentage": false, |
|
"pointradius": 5, |
|
"points": false, |
|
"renderer": "flot", |
|
"seriesOverrides": [], |
|
"spaceLength": 10, |
|
"stack": false, |
|
"steppedLine": false, |
|
"targets": [ |
|
{ |
|
"expr": "sum without(area)(jvm_memory_bytes_used{job=~\"kafka-1|kafka-2|kafka-3\"})", |
|
"format": "time_series", |
|
"intervalFactor": 2, |
|
"legendFormat": "{{instance}}", |
|
"metric": "jvm_memory_bytes_used", |
|
"refId": "A", |
|
"step": 4 |
|
} |
|
], |
|
"thresholds": [], |
|
"timeFrom": null, |
|
"timeShift": null, |
|
"title": "JVM Memory Used", |
|
"tooltip": { |
|
"msResolution": false, |
|
"shared": true, |
|
"sort": 0, |
|
"value_type": "cumulative" |
|
}, |
|
"type": "graph", |
|
"xaxis": { |
|
"buckets": null, |
|
"mode": "time", |
|
"name": null, |
|
"show": true, |
|
"values": [] |
|
}, |
|
"yaxes": [ |
|
{ |
|
"format": "bytes", |
|
"label": "Memory", |
|
"logBase": 1, |
|
"max": null, |
|
"min": null, |
|
"show": true |
|
}, |
|
{ |
|
"format": "short", |
|
"label": null, |
|
"logBase": 1, |
|
"max": null, |
|
"min": null, |
|
"show": true |
|
} |
|
], |
|
"yaxis": { |
|
"align": false, |
|
"alignLevel": null |
|
} |
|
}, |
|
{ |
|
"aliasColors": { |
|
"localhost:7071": "#890F02" |
|
}, |
|
"bars": false, |
|
"dashLength": 10, |
|
"dashes": false, |
|
"datasource": "Prometheus", |
|
"editable": true, |
|
"error": false, |
|
"fill": 1, |
|
"grid": {}, |
|
"gridPos": { |
|
"h": 7, |
|
"w": 8, |
|
"x": 16, |
|
"y": 0 |
|
}, |
|
"id": 3, |
|
"isNew": true, |
|
"legend": { |
|
"avg": false, |
|
"current": false, |
|
"max": false, |
|
"min": false, |
|
"show": true, |
|
"total": false, |
|
"values": false |
|
}, |
|
"lines": true, |
|
"linewidth": 2, |
|
"links": [], |
|
"nullPointMode": "connected", |
|
"percentage": false, |
|
"pointradius": 5, |
|
"points": false, |
|
"renderer": "flot", |
|
"seriesOverrides": [], |
|
"spaceLength": 10, |
|
"stack": false, |
|
"steppedLine": false, |
|
"targets": [ |
|
{ |
|
"expr": "sum without(gc)(rate(jvm_gc_collection_seconds_sum{job=~\"kafka-1|kafka-2|kafka-3\"}[5m]))", |
|
"format": "time_series", |
|
"intervalFactor": 2, |
|
"legendFormat": "{{instance}}", |
|
"metric": "jvm_gc_collection_seconds_sum", |
|
"refId": "A", |
|
"step": 4 |
|
} |
|
], |
|
"thresholds": [], |
|
"timeFrom": null, |
|
"timeShift": null, |
|
"title": "Time spent in GC", |
|
"tooltip": { |
|
"msResolution": false, |
|
"shared": true, |
|
"sort": 0, |
|
"value_type": "cumulative" |
|
}, |
|
"type": "graph", |
|
"xaxis": { |
|
"buckets": null, |
|
"mode": "time", |
|
"name": null, |
|
"show": true, |
|
"values": [] |
|
}, |
|
"yaxes": [ |
|
{ |
|
"format": "percentunit", |
|
"label": "% time in GC", |
|
"logBase": 1, |
|
"max": null, |
|
"min": null, |
|
"show": true |
|
}, |
|
{ |
|
"format": "short", |
|
"label": null, |
|
"logBase": 1, |
|
"max": null, |
|
"min": null, |
|
"show": true |
|
} |
|
], |
|
"yaxis": { |
|
"align": false, |
|
"alignLevel": null |
|
} |
|
}, |
|
{ |
|
"aliasColors": {}, |
|
"bars": false, |
|
"dashLength": 10, |
|
"dashes": false, |
|
"datasource": "Prometheus", |
|
"editable": true, |
|
"error": false, |
|
"fill": 1, |
|
"grid": {}, |
|
"gridPos": { |
|
"h": 7, |
|
"w": 8, |
|
"x": 0, |
|
"y": 7 |
|
}, |
|
"id": 4, |
|
"isNew": true, |
|
"legend": { |
|
"avg": false, |
|
"current": false, |
|
"max": false, |
|
"min": false, |
|
"show": true, |
|
"total": false, |
|
"values": false |
|
}, |
|
"lines": true, |
|
"linewidth": 2, |
|
"links": [], |
|
"nullPointMode": "connected", |
|
"percentage": false, |
|
"pointradius": 5, |
|
"points": false, |
|
"renderer": "flot", |
|
"seriesOverrides": [], |
|
"spaceLength": 10, |
|
"stack": false, |
|
"steppedLine": false, |
|
"targets": [ |
|
{ |
|
"expr": "sum(\nkafka_server_brokertopicmetrics_count{\nname=\"MessagesInPerSec\",\ntopic!=\"__consumer_offsets\",\ntopic!=\"__confluent.support.metrics\",\ntopic!=\"\"\n}\n) by (topic)", |
|
"format": "time_series", |
|
"intervalFactor": 2, |
|
"legendFormat": "{{topic}}", |
|
"metric": "kafka_server_brokertopicmetrics_messagesin_total", |
|
"refId": "A", |
|
"step": 4 |
|
} |
|
], |
|
"thresholds": [], |
|
"timeFrom": null, |
|
"timeShift": null, |
|
"title": "Messages In Per Topic", |
|
"tooltip": { |
|
"msResolution": false, |
|
"shared": true, |
|
"sort": 0, |
|
"value_type": "cumulative" |
|
}, |
|
"type": "graph", |
|
"xaxis": { |
|
"buckets": null, |
|
"mode": "time", |
|
"name": null, |
|
"show": true, |
|
"values": [] |
|
}, |
|
"yaxes": [ |
|
{ |
|
"format": "short", |
|
"label": "Messages/s", |
|
"logBase": 1, |
|
"max": null, |
|
"min": null, |
|
"show": true |
|
}, |
|
{ |
|
"format": "short", |
|
"label": null, |
|
"logBase": 1, |
|
"max": null, |
|
"min": null, |
|
"show": true |
|
} |
|
], |
|
"yaxis": { |
|
"align": false, |
|
"alignLevel": null |
|
} |
|
}, |
|
{ |
|
"aliasColors": {}, |
|
"bars": false, |
|
"dashLength": 10, |
|
"dashes": false, |
|
"datasource": "Prometheus", |
|
"editable": true, |
|
"error": false, |
|
"fill": 1, |
|
"grid": {}, |
|
"gridPos": { |
|
"h": 7, |
|
"w": 8, |
|
"x": 8, |
|
"y": 7 |
|
}, |
|
"id": 5, |
|
"isNew": true, |
|
"legend": { |
|
"avg": false, |
|
"current": false, |
|
"max": false, |
|
"min": false, |
|
"show": true, |
|
"total": false, |
|
"values": false |
|
}, |
|
"lines": true, |
|
"linewidth": 2, |
|
"links": [], |
|
"nullPointMode": "connected", |
|
"percentage": false, |
|
"pointradius": 5, |
|
"points": false, |
|
"renderer": "flot", |
|
"seriesOverrides": [], |
|
"spaceLength": 10, |
|
"stack": false, |
|
"steppedLine": false, |
|
"targets": [ |
|
{ |
|
"expr": "sum without(instance)(rate(kafka_server_brokertopicmetrics_bytesin_total{job=\"kafka-1\",topic!=\"\"}[5m]))", |
|
"intervalFactor": 2, |
|
"legendFormat": "{{topic}}", |
|
"metric": "kafka_server_brokertopicmetrics_bytesin_total", |
|
"refId": "A", |
|
"step": 4 |
|
} |
|
], |
|
"thresholds": [], |
|
"timeFrom": null, |
|
"timeShift": null, |
|
"title": "Bytes In Per Topic", |
|
"tooltip": { |
|
"msResolution": false, |
|
"shared": true, |
|
"sort": 0, |
|
"value_type": "cumulative" |
|
}, |
|
"type": "graph", |
|
"xaxis": { |
|
"buckets": null, |
|
"mode": "time", |
|
"name": null, |
|
"show": true, |
|
"values": [] |
|
}, |
|
"yaxes": [ |
|
{ |
|
"format": "Bps", |
|
"label": "Bytes/s", |
|
"logBase": 1, |
|
"max": null, |
|
"min": null, |
|
"show": true |
|
}, |
|
{ |
|
"format": "short", |
|
"label": null, |
|
"logBase": 1, |
|
"max": null, |
|
"min": null, |
|
"show": true |
|
} |
|
], |
|
"yaxis": { |
|
"align": false, |
|
"alignLevel": null |
|
} |
|
}, |
|
{ |
|
"aliasColors": {}, |
|
"bars": false, |
|
"dashLength": 10, |
|
"dashes": false, |
|
"datasource": "Prometheus", |
|
"editable": true, |
|
"error": false, |
|
"fill": 1, |
|
"grid": {}, |
|
"gridPos": { |
|
"h": 7, |
|
"w": 8, |
|
"x": 16, |
|
"y": 7 |
|
}, |
|
"id": 6, |
|
"isNew": true, |
|
"legend": { |
|
"avg": false, |
|
"current": false, |
|
"max": false, |
|
"min": false, |
|
"show": true, |
|
"total": false, |
|
"values": false |
|
}, |
|
"lines": true, |
|
"linewidth": 2, |
|
"links": [], |
|
"nullPointMode": "connected", |
|
"percentage": false, |
|
"pointradius": 5, |
|
"points": false, |
|
"renderer": "flot", |
|
"seriesOverrides": [], |
|
"spaceLength": 10, |
|
"stack": false, |
|
"steppedLine": false, |
|
"targets": [ |
|
{ |
|
"expr": "sum without(instance)(rate(kafka_server_brokertopicmetrics_bytesout_total{job=\"kafka-1\",topic!=\"\"}[5m]))", |
|
"intervalFactor": 2, |
|
"legendFormat": "{{topic}}", |
|
"metric": "kafka_server_brokertopicmetrics_bytesin_total", |
|
"refId": "A", |
|
"step": 4 |
|
} |
|
], |
|
"thresholds": [], |
|
"timeFrom": null, |
|
"timeShift": null, |
|
"title": "Bytes Out Per Topic", |
|
"tooltip": { |
|
"msResolution": false, |
|
"shared": true, |
|
"sort": 0, |
|
"value_type": "cumulative" |
|
}, |
|
"type": "graph", |
|
"xaxis": { |
|
"buckets": null, |
|
"mode": "time", |
|
"name": null, |
|
"show": true, |
|
"values": [] |
|
}, |
|
"yaxes": [ |
|
{ |
|
"format": "Bps", |
|
"label": "Bytes/s", |
|
"logBase": 1, |
|
"max": null, |
|
"min": null, |
|
"show": true |
|
}, |
|
{ |
|
"format": "short", |
|
"label": null, |
|
"logBase": 1, |
|
"max": null, |
|
"min": null, |
|
"show": true |
|
} |
|
], |
|
"yaxis": { |
|
"align": false, |
|
"alignLevel": null |
|
} |
|
} |
|
], |
|
"schemaVersion": 16, |
|
"style": "dark", |
|
"tags": [], |
|
"templating": { |
|
"list": [] |
|
}, |
|
"time": { |
|
"from": "now-30m", |
|
"to": "now" |
|
}, |
|
"timepicker": { |
|
"refresh_intervals": [ |
|
"5s", |
|
"10s", |
|
"30s", |
|
"1m", |
|
"5m", |
|
"15m", |
|
"30m", |
|
"1h", |
|
"2h", |
|
"1d" |
|
], |
|
"time_options": [ |
|
"5m", |
|
"15m", |
|
"1h", |
|
"6h", |
|
"12h", |
|
"24h", |
|
"2d", |
|
"7d", |
|
"30d" |
|
] |
|
}, |
|
"timezone": "browser", |
|
"title": "Kafka Overview", |
|
"uid": "KmnO7Muiz", |
|
"version": 2 |
|
} |