:_mod-docs-content-type: CONCEPT

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

[id='con-metrics-prometheus-options-{context}']

= Prometheus configuration

[role="_abstract"]
Strimzi provides xref:assembly-metrics-config-files-{context}[example configuration files for the Prometheus server].

A Prometheus YAML file is provided for deployment:

* `prometheus.yaml`

Additional Prometheus-related configuration is also provided in the following files and directories:

* `pod-monitors/*.yaml`
* `prometheus-additional.yaml`
* `prometheus-rules/*.yaml`

For Prometheus to obtain monitoring data:

* xref:proc-metrics-deploying-prometheus-operator-{context}[Deploy the Prometheus Operator]

Then use the configuration files to:

* xref:proc-metrics-deploying-prometheus-operator-{context}[Deploy Prometheus]

.Alerting rules

The `prometheus-rules` directory provides xref:ref-metrics-alertmanager-examples-{context}[example alerting rules examples for use with Alertmanager].
