-
Notifications
You must be signed in to change notification settings - Fork 193
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
Document environment variables alongside relevant config #245
Comments
Moved to backlog. This is a future fix once higher priority doc fixes are in-place |
This issue has not had any activity in the past 30 days, so the |
@ptodev Where can I find the env vars we use? |
There isn't an easy way to find them. Unlike cmd args, env vars could be referenced anywhere in the code, including in libraries which we import. This is what makes having a doc page important :) It's not necessary to have an exhaustive list. The main goals are:
|
GODEBUG env vars here: https://pkg.go.dev/runtime?utm_source=godoc#hdr-Environment_Variab |
Request
There are various environment variables (mostly from Go) which can affect the Agent's behaviour. Currently, those are not documented anywhere. It would be nice to add them in a new section in the Command-line interface docs. Component reference docs such as tls config block can then point to relevant sections of that env var doc.
Use case
For example:
GODEBUG=x509usefallbackroots=1
which was added in feat(cmd/agent): add fallback X.509 trusted roots agent#6340HTTP_PROXY
GODEBUG
use casesThe text was updated successfully, but these errors were encountered: