The Data Flow metrics architecture is designed around the Micrometer library, which is a vendor-neutral application metrics facade. It provides a simple facade over the instrumentation clients for the most popular monitoring systems. The Micrometer instrumentation library powers the delivery of application metrics from Spring Boot and includes metrics for message rates and errors, which is critical to the monitoring of deployed streams.
The prebuilt applications are configured to support two of the most popular monitoring systems, Prometheus and InfluxDB. You can declaratively select which monitoring system to use.
To help you get started monitoring Streams, Data Flow provides Grafana Dashboards you can install and customize for your needs.
The following image shows the general architecture of how applications are monitored:
The following image shows the creation of two streams defined with the
time | filter | log DSL expression:
The following image shows the dashboard in Grafana:
The Stream Monitoring Feature Guide contains detailed information on how to set up the monitoring infrastructure.