kapilratnani / celery-statsd

Send data about Celery events to statsd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

celery-statsd

In your tasks.py

import celery_statsd

And in your settings file set STATSD_HOST and STATSD_PORT.

You will now have stats about your tasks in statsd.

By default stats will be published with a key prefix of "celery.". Change the CELERYD_STATS_PREFIX if you want something different.

TODO

  • Add a STATSD_DISABLE flag to disable statsd logging when needed

About

Send data about Celery events to statsd

License:GNU Lesser General Public License v3.0


Languages

Language:Python 100.0%