3.3.0-alpha02
π Performance Metrics
New artifact: :metrics is here!
With FlowMVI in just a 5 lines of code you can now set up metrics collection to understand the performance and usage patterns of your app!
FlowMVI metrics collect over 66 different stats including speed of intent handling, state updates, error frequencies, data loading delays, bootstrapping time and lifecycle events, and more, then lets you upload to any popular metrics ingestion service such as OpenTelemetry, Prometheus, OpenMetrics etc, and visualize them in dashboards:
val metrics = collectMetrics(
reportingScope = applicationScope
)
reportMetrics(
metrics = metrics,
sink = OtlpJsonSink(BackendSink()),
)
The debugger IDE plugin and desktop apps have been upgraded to support the ingestion of metrics and also visualize them in a similar way out of the box, with minimal setup required to send metrics to the debugger: