faust.sensors.metrics
Framework-neutral worker performance metrics.
-
faust.sensors.metrics.performance_metrics(app: AppT) → Mapping[str, Any][source]
Build the worker metrics payload for any web framework.
The result contains only JSON-compatible values, so frameworks can return
it directly from their own JSON response helpers.
- Return type:
_GenericAlias[str, Any]