Skip to content
This repository was archived by the owner on Aug 14, 2023. It is now read-only.

Correct capitalization of environment variable name.#101

Merged
jchristgit merged 1 commit into
mainfrom
correct-env-var-capitalization
Sep 23, 2021
Merged

Correct capitalization of environment variable name.#101
jchristgit merged 1 commit into
mainfrom
correct-env-var-capitalization

Conversation

@jchristgit
Copy link
Copy Markdown
Contributor

When I initially deployed this, I used an uppercase variable name as
later versions of the Prometheus client library (all of which I am using
in various of my projects) switched to uppercase and deprecated the old
way of specifying this variable. Unfortunately the django-prometheus
library uses a lowercase variable to check whether the multiprocess mode
is in use, so we were collecting per-worker metrics the entire time,
which completely messed up our time series.

wathat the fuck
that is not the bug
no shot is that the bug
no FUCKING SHOT IS THAT THE BUG
i'm going to go to war

  • Joe

When I initially deployed this, I used an uppercase variable name as
later versions of the Prometheus client library (all of which I am using
in various of my projects) switched to uppercase and deprecated the old
way of specifying this variable. Unfortunately the `django-prometheus`
library uses a lowercase variable to check whether the multiprocess mode
is in use, so we were collecting per-worker metrics the entire time,
which completely messed up our time series.
@jchristgit jchristgit requested a review from a team as a code owner September 23, 2021 21:20
@jchristgit jchristgit merged commit 7a83962 into main Sep 23, 2021
@jchristgit jchristgit deleted the correct-env-var-capitalization branch September 23, 2021 21:22
@jb3
Copy link
Copy Markdown
Member

jb3 commented Oct 28, 2021

i'm still angry about this

@Xithrius
Copy link
Copy Markdown

After seeing the hook trigger in Discord, I have joined you in being angered.

@jchristgit
Copy link
Copy Markdown
Contributor Author

Fully agree. This also angers me daily.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants