an class="w"></span><span class="p">}</span><span class="w">
</span></span></span></code></pre></div><center><i><small>Excerpt from <a href="https://github.com/mbode/flink-prometheus-example/blob/master/src/main/java/com/github/mbode/flink_prometheus_example/FlinkMetricsExposingMapFunction.java">FlinkMetricsExposingMapFunction.java</a> demonstrating custom Flink metric.</small></i></center>
<h2 id="configuring-prometheus-with-flink">
  Configuring Prometheus with Flink
  <a class="anchor" href="#configuring