eus.yml</em> with the following:</p>
<pre><code> scrape_configs:
 - job_name: 'flink'
   static_configs:
   - targets: ['job-cluster:9999', 'taskmanager1:9999', 'taskmanager2:9999']
</code></pre>
<p>In more dynamic scenarios we recommend using Prometheus&rsquo; service discovery support for different platforms such as Kubernetes, AWS EC2 and more.</p>
</li>
</ol>
<p>Both custom metrics are now available in Prometheus:</p>
<center>
<img src="/img/blog/2019-03-11-prometheus-monitoring/prometheus.png" width="6