publish_queue_stats#
- async safir.metrics.publish_queue_stats(queue, redis_settings, arq_events)#
Publish an event containing statistics about an Arq queue.
- Parameters:
queue (
str
) – The name of the Arq queue.redis_settings (
RedisSettings
) – Connection info for the redis instance containing the queue.arq_events (
ArqEvents
) – A collection of Arq metrics event publishers.
- Return type: