Skip to content

Kuzyashin/CeleryPrometheusExporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Celery-Prometheus Exporter

Usage Example

Prometheus configuration

- job_name: 'celery_exporter'
    metrics_path: /
    dns_sd_configs:
    - names:
      - 'tasks.celery_exporter' # Replace celery_exporter with your exporter service name
      type: 'A'
      port: 8100

Docker-compose

  rc_celery_exporter:
    image:  kuzyashin/celery_exporter:latest
    deploy:
      mode: replicated
      replicas: 1
    environment:
      - BROKER_USERNAME=django
      - BROKER_PASSWORD=django
      - BROKER_HOST=rc_rabbit
      - BROKER_PORT=5672