Skip to content

Conversation

@mpnowacki-reef
Copy link
Contributor

No description provided.

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.

4 participants