celery-exporter
A Prometheus exporter for Celery metrics
File Explorer
Download Latest Version (.zip)- ci.yml
- helm-release.yml
- helm-test.yml
- mixin.yml
- push-image-ghcr.yml
- dependabot.yml
- alerts.libsonnet
- celery-tasks-by-task.libsonnet
- celery-tasks-overview.libsonnet
- dashboards.libsonnet
- util.libsonnet
- celery-tasks-by-task.json
- celery-tasks-overview.json
- celery-tasks.json
- alerts.jsonnet
- dashboards.jsonnet
- rules.jsonnet
- rules.libsonnet
- go.mod
- go.sum
- tools.go
- tests.yaml
- .gitignore
- .lint
- .pint.hcl
- .vale.ini
- alerts.jsonnet
- config.libsonnet
- dashboards.jsonnet
- jsonnetfile.json
- jsonnetfile.lock.json
- Makefile
- mixin.libsonnet
- prometheus_alerts.yaml
- prometheus_rules.yaml
- README.md
- test-values.yaml
- test-connection.yaml
- _helpers.tpl
- deployment.yaml
- ingress.yaml
- NOTES.txt
- service.yaml
- serviceaccount.yaml
- servicemonitor.yaml
- .helmignore
- Chart.yaml
- README.md
- values.yaml
- celery-tasks-by-task.png
- celery-tasks-overview.png
- __init__.py
- cli.py
- exporter.py
- help.py
- http_server.py
- test_cli.py
- test_exporter.py
- test_http_server.py
- test_metrics.py
- celery.libsonnet
- django.libsonnet
- drone.libsonnet
- ingress.libsonnet
- lib
- .coveragerc
- .dockerignore
- .envrc
- .gitignore
- .pre-commit-config.yaml
- .pylintrc
- .python-version
- buildInstaller.sh
- cli.py
- conftest.py
- docker-compose.yml
- Dockerfile
- Dockerfile.pyinstaller
- jsonnetfile.json
- jsonnetfile.lock.json
- LICENSE.md
- poetry.lock
- pyproject.toml
- pytest.ini
- README.md
- Taskfile.yml
๐ Installation Guide
git clone https://github.com/danihodovic/celery-exporter
Downloads the entire project code from GitHub to your computer.
cd celery-exporter
Moves into the project folder you just downloaded.
2. Official Install Script
Easy Recommended- Python 3 Python is required to use pip.
pip install prometheus-exporter-celery
Installs the package published on PyPI directly โ no need to clone the source.
Pulled directly from this repo's README.
3. Docker
Easy- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker run -p 9808:9808 danihodovic/celery-exporter --broker-url=redis://redis.service.consul/1
Runs the built image as an actual container.
docker run -p 9808:9808 -e CE_BROKER_URL=redis://redis danihodovic/celery-exporter
Runs the built image as an actual container.
docker run -p 9808:9808 danihodovic/celery-exporter --broker-url=redis://redis.service.consul/1 \
Runs the built image as an actual container.
docker run -p 9808:9808 danihodovic/celery-exporter --broker-url=sentinel://sentinel.service.consul/1 \
Runs the built image as an actual container.
docker-compose up -d
Runs the command against the services defined in the compose file.
Pulled directly from this repo's README.
4. Python
Easypip install prometheus-exporter-celery
Installs the package published on PyPI directly โ no need to clone the source.
poetry install
Installs the libraries listed in pyproject.toml.
Pulled directly from this repo's README.
5. Go
Mediumcd celery-mixin/scripts
This project's files live in a subfolder, so move into it first.
go build ./...
Compiles the Go program into an executable.
go run .
Runs the Go program directly without a separate build step.
6. Make
Medium- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
cd celery-mixin
This project's files live in a subfolder, so move into it first.
make
Compiles the code based on the generated build configuration to produce an executable.
