Skip to content

Commit 2083684

Browse files
committed
Update configuration docs
1 parent 078de36 commit 2083684

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/configuration.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,13 @@ Alternatively, you can add support for additional or different configurations by
1010

1111
| Environment variable | Description | Default value |
1212
|-----------------------------|----------------------------------------------------------------------------|---------------|
13-
| `OTEL_GO_AUTO_TARGET_EXE` | Sets the binary for the Go application to be instrumented. Required. | Unset |
13+
| `OTEL_GO_AUTO_TARGET_PID` | Sets the PID for the Go application to be instrumented. As an alternative to using the environment variable, you can use the `-target-pid` CLI flag.[^1]. | Unset |
14+
| `OTEL_GO_AUTO_TARGET_EXE` | Sets the binary for the Go application to be instrumented. As an alternative to using the environment variable, you can use the `-target-exe` CLI flag.[^1]. | Unset |
1415
| `OTEL_GO_AUTO_GLOBAL` | Records telemetry from the OpenTelemetry default global implementation. As an alternative to using the environment variable, you can use the `-global-impl` CLI flag. | `false` |
1516
| `OTEL_LOG_LEVEL` | Sets the log level. Supported values: `none`, `error`, `warn`, `info`, `debug`. As an alternative to using the environment variable, you can use the `-logLevel` CLI flag. | `info` |
1617

18+
[^1]: One of `OTEL_GO_AUTO_TARGET_EXE` or `OTEL_GO_AUTO_TARGET_PID` are requried to be set, unless this information is passed directly as CLI arguments.
19+
1720

1821
## Resources
1922

0 commit comments

Comments
 (0)