Skip to content

Conversation

muffl0n
Copy link
Contributor

@muffl0n muffl0n commented May 29, 2024

I was wondering how one can get the password from an environment variable. As there is no documentation I had to dig through the code to find out how to do this.

This PR adds a minimal example that shows how to get a value from an environment variable.

@muffl0n muffl0n force-pushed the get-password-from-environment branch from 33771ab to 66206f4 Compare May 29, 2024 11:57
@cropalato
Copy link

Why don't you put that in the README.md file? Maybe with a quick explanation. That should be nice.

Copy link

@cropalato cropalato left a comment

Choose a reason for hiding this comment

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

simple and direct.

Copy link
Member

@bwplotka bwplotka left a comment

Choose a reason for hiding this comment

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

Thanks!

Added to docs too.

@bwplotka bwplotka merged commit 0426fd3 into prometheus-community:master May 23, 2025
2 checks passed
12ushan pushed a commit to giffgaff/jiralert that referenced this pull request Sep 16, 2025
* get password in example from environment

Signed-off-by: Sven Schliesing <[email protected]>

* Updared README and grammar.

Signed-off-by: bwplotka <[email protected]>

---------

Signed-off-by: Sven Schliesing <[email protected]>
Signed-off-by: bwplotka <[email protected]>
Co-authored-by: bwplotka <[email protected]>
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