Skip to content
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

Fix configuration documentation #144

Merged
merged 1 commit into from
Aug 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions docs/configure.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ For example, you can define the configuration for the Elastic Distribution of Op
{
"Elastic": {
"OpenTelemetry": {
"FileLogDirectory": "C:\\Logs"
"LogDirectory": "C:\\Logs"
}
}
}
Expand Down Expand Up @@ -139,7 +139,7 @@ EDOT .NET supports all configuration options listed in the [OpenTelemetry Genera

EDOT .NET supports the following Elastic-specific options.

#### `FileLogDirectory`
#### `LogDirectory`

* _Type_: String
* _Default_: `string.Empty`
Expand All @@ -150,10 +150,10 @@ specified directory.

| Configuration method | Key |
|---|---|
| Environment variable | `ELASTIC_OTEL_FILE_LOG_DIRECTORY` |
| `IConfiguration` integration | `Elastic:OpenTelemetry:FileLogDirectory` |
| Environment variable | `OTEL_DOTNET_AUTO_LOG_DIRECTORY` |
| `IConfiguration` integration | `Elastic:OpenTelemetry:LogDirectory` |

#### `FileLogLevel`
#### `LogLevel`

* _Type_: String
* _Default_: `Information`
Expand All @@ -164,8 +164,8 @@ Valid options: `Critical`, `Error`, `Warning`, `Information`, `Debug`, `Trace` a

| Configuration method | Key |
|---|---|
| Environment variable | `ELASTIC_OTEL_FILE_LOG_LEVEL` |
| `IConfiguration` integration | `Elastic:OpenTelemetry:FileLogLevel` |
| Environment variable | `OTEL_LOG_LEVEL` |
| `IConfiguration` integration | `Elastic:OpenTelemetry:LogLevel` |

#### `SkipOtlpExporter`

Expand Down