Skip to content
This repository was archived by the owner on Jul 31, 2019. It is now read-only.

brandedme/celerymon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker image to track celery tasks directly into InfluxDB

Required environment variables:

  • INFLUXDB_DSN - dns for influxdb (influxdb://<username>:<password>@<host>:<port>/<db>). If mising, will use next ones:
  • INFLUXDB_HOST
  • INFLUXDB_PORT
  • INFLUXDB_USERNAME
  • INFLUXDB_PASSWORD
  • INFLUXDB_DATABASE
  • CELERY_BROKER_URL - Broker url as expected by selery. You want it to be the same as your main app
  • FREQUENCY - frequency which app is taking snapshots of celery state

Next series are created:

  • celery_tasks: Tags:

    • name
    • worker
    • state

    Fields:

    • avg_exec_in_millis
    • avg_wait_in_millis
    • count
    • max_exec_in_millis
    • max_wait_in_millis
  • celery_queue: Tags:

    • name

    Fields:

    • count

About

Track celery tasks stats directly into influxdb

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.4%
  • Dockerfile 1.6%