Metrics
It is possible to export custom user metrics by adding the metrics_client
argument to the task definition constructor. Below there is an example of how to use the metrics client.
Currently, it is only possible to instantiate the metrics client from a class task definition.
Note: The metrics client uses the UDP protocol to push metrics, so if it fails during a metrics push, no exception is thrown.
Last updated