Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metrics #300

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Metrics #300

wants to merge 8 commits into from

Conversation

mpnowacki-reef
Copy link
Contributor

No description provided.

@@ -23,9 +28,25 @@ def metrics_view(request):
if os.environ.get(ENV_VAR_NAME):
registry = prometheus_client.CollectorRegistry()
RecursiveMultiProcessCollector(registry)
registry.register(CustomCeleryCollector())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why register twice?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've copied if from cookiecutter template but I see now it is redundant

@mzukowski-reef mzukowski-reef changed the base branch from celery-queues-merged to master November 7, 2024 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants