Flink provides a Prometheus-compatible
metrics endpoint that exposes real-time measurements,
which can be collected by Prometheus. As the industry-standard time-series database, Prometheus enables the
aggregation of multiple point-in-time metrics into time-series data. These time-series can then be visualized
using Grafana, a powerful tool for creating charts, dashboards, and alerts.
The
Stats page offers a lightweight alternative to what Prometheus and Grafana can provide.
Since Flink does not persist the metrics data from the
metrics endpoint,
this page only displays interactions recorded since the last restart of the Flink instance.