Menu
Grafana Cloud

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

ArgumentDescriptionDefault
x509usefallbackrootsEnforce a fallback on the X.509 trusted root certificates. Set to 1 to enable.0
netdnsForce a resolver. Set to go for a pure Go resolver. Set to cgo or win32 for a native resolver.
netdnsShow resolver debugging information. Set to 1 for basic information. Set to 2 for verbose.

HTTP_PROXY

ArgumentDescriptionDefault
http://proxy.example.comThe hostname or IP address of the proxy server.