// This assembly is included in the following assemblies:
//
// metrics/assembly_metrics-grafana.adoc

[id='proc-metrics-deploying-grafana-{context}']

= Deploying Grafana

To deploy Grafana to provide visualizations of Prometheus metrics, apply the xref:ref-metrics-config-files-{context}[example configuration file].

.Prerequisites
* xref:assembly-metrics-kafka-{context}[Metrics are configured for the Kafka cluster resource]
* xref:assembly-metrics-prometheus-{context}[Prometheus and Prometheus Alertmanager are deployed]

.Procedure

. Deploy Grafana:
+
[source,shell,subs="+quotes,attributes"]
kubectl apply -f grafana.yaml

. xref:proc-metrics-grafana-dashboard-{context}[Enable the Grafana dashboards].
