// This assembly is included in the following assemblies:
//
// metrics/assembly_metrics-prometheus-setup.adoc
[id='assembly-metrics-kafka-{context}']

= Exposing Prometheus metrics

{ProductName} uses the link:https://github.com/prometheus/jmx_exporter[Prometheus JMX Exporter^] to expose JMX metrics from Kafka and ZooKeeper using an HTTP endpoint, which is then scraped by the Prometheus server.

include::modules/con_metrics-kafka-options.adoc[leveloffset=+1]

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

include::modules/proc_metrics-config.adoc[leveloffset=+1]

include::modules/proc_metrics-deploying-kafka.adoc[leveloffset=+1]
