
// This assembly is included in the following assemblies:
//
// metrics/assembly-metrics-config-files.adoc

[id='ref-metrics-dashboards-{context}']
= Example Grafana dashboards

[role="_abstract"]
If you deploy Prometheus to provide metrics,
you can use the example Grafana dashboards provided with Strimzi to monitor Strimzi components.

Example dashboards are provided in the `examples/metrics/grafana-dashboards` directory as JSON files.

All dashboards provide JVM metrics, as well as metrics specific to the component.
For example, the Grafana dashboard for Strimzi operators provides information on the number of reconciliations or custom resources they are processing.

The example dashboards don't show all the metrics supported by Kafka.
The dashboards are populated with a representative set of metrics for monitoring.

.Example Grafana dashboard files
[cols="2*",options="header",stripes="none"]
|===
|Component
|Example JSON file

|Strimzi operators
|`strimzi-operators.json`

|Kafka
|`strimzi-kafka.json`

|Kafka KRaft controllers
|`strimzi-kraft.json`

|Kafka Connect
|`strimzi-kafka-connect.json`

|Kafka MirrorMaker 2
|`strimzi-kafka-mirror-maker-2.json`

|Kafka Bridge
|`strimzi-kafka-bridge.json`

|Cruise Control
|`strimzi-cruise-control.json`

|Kafka Exporter
|`strimzi-kafka-exporter.json`

|===

NOTE: When metrics are not available to the Kafka Exporter, because there is no traffic in the cluster yet, the Kafka Exporter Grafana dashboard will show `N/A` for numeric fields and `No data to show` for graphs.