// This assembly is included in the following assemblies:
//
// deploying/deploying.adoc

[id='assembly-metrics-setup-{context}']
= Add Prometheus and Grafana

You can use Prometheus to provide monitoring data for the example Grafana dashboards provided with Strimzi.

In order to run the example Grafana dashboards, you must:

. xref:proc-metrics-kafka-deploy-options-{context}[Add metrics configuration to your Kafka cluster resource]
. xref:assembly-metrics-prometheus-{context}[Deploy Prometheus and Prometheus Alertmanager]
. xref:assembly-metrics-grafana-{context}[Deploy Grafana]

NOTE: The resources referenced in this section are intended as a starting point for setting up monitoring, but they are provided as examples only.
If you require further support on configuring and running Prometheus or Grafana in production, try reaching out to their respective communities.

include::modules/proc-metrics-kafka-deploy-options.adoc[leveloffset=+1]

include::assembly_metrics-prometheus-deploy.adoc[leveloffset=+1]

include::assembly_metrics-prometheus-alertmanager.adoc[leveloffset=+1]

include::assembly_metrics-grafana.adoc[leveloffset=+1]

ifdef::InstallationAppendix[]
include::modules/con_metrics-kafka-mini-kube.adoc[leveloffset=+1]
endif::InstallationAppendix[]
