Skip to content

variable SQLEXPORTER_TARGET_DSN #444

Closed Answered by burningalchemist
atchaikovski asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @atchaikovski, the connection string can be configured in sql_exporter.yml file, or via the mentioned environment variable. 👍

If used as a container image, users are expected to mount the configuration file next to the binary or use command line flags.

Here's some info on the available env variables: #430

Hope it helps, let me know if you have any issues. 👍

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by burningalchemist
Comment options

You must be logged in to vote
1 reply
@burningalchemist
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants