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

Allow set of prometheus collector addr as env var #3

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

agershman
Copy link
Contributor

@agershman agershman commented Dec 15, 2023

Looking to allow setting of the prometheus collector address string as an environment variable. This is useful in certain contexts where configuration is more environment variable driven than command and argument driven.

@mardiros mardiros merged commit 4d57701 into Gandi:main Dec 20, 2023
1 check passed
@mardiros
Copy link
Member

@agershman

I've release 1.1.0 of celery-prometheus at the moment.

I've added a commit to get it working with celery 5. 5f7f233

I guess click already handle env vars for that but I've never use click elsewhere and did not read its docs.

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