This is documentation for the next version of Alloy. For the latest stable release, go to the latest version.
Environment variables
You can use environment variables to control the run-time behavior of Grafana Alloy.
The following environment variables are supported:
GODEBUG
HTTP_PROXY
Refer to the Go runtime documentation for more information about Go runtime environment variables.
Arguments
The following arguments are supported.
GODEBUG
Argument | Description | Default |
---|---|---|
x509usefallbackroots | Enforce a fallback on the X.509 trusted root certificates. Set to 1 to enable. | 0 |
netdns | Force a resolver. Set to go for a pure Go resolver. Set to cgo or win32 for a native resolver. | |
netdns | Show resolver debugging information. Set to 1 for basic information. Set to 2 for verbose. |
HTTP_PROXY
Argument | Description | Default |
---|---|---|
http://proxy.example.com | The hostname or IP address of the proxy server. |