mitodl / mitodl/mit-learn

Enable celery monitoring via leek and celery-exporter

Open Beginner friendly
#757 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
3
Forks
4
Avg merge
2d 3h
Merged PRs (30d)
114

Description

Description/Context

Enable monitoring of celery tasks via leek.

Plan/Design

Add the following to the main/settings_celery.py file:

CELERY_TASK_TRACK_STARTED = get_bool("CELERY_TASK_TRACK_STARTED", True)
CELERY_TASK_SEND_SENT_EVENT = get_bool("CELERY_TASK_SEND_SENT_EVENT", True)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open main/settings_celery.py and review the existing Celery settings and get_bool usage first. Add the two monitoring-related settings from the issue, then verify that leek and celery-exporter can observe sent and started task events.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, observability
Issue type
Feature
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.