quo;s <em>flink-conf.yaml</em>. All job managers and task managers will expose the metrics on the configured port.</p>
<pre><code> metrics.reporters: prom
 metrics.reporter.prom.class: org.apache.flink.metrics.prometheus.PrometheusReporter
 metrics.reporter.prom.port: 9999
</code></pre>
</li>
<li>
<p>Prometheus needs to know where to scrape metrics. In a static scenario, you can simply <a href="https://prometheus.io/docs/prometheus/latest/configuration/configuration/">configure Prometheus</a> in <em>prometh