Skip to content

Commit

Permalink
Fix configuration documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
stevejgordon committed Aug 29, 2024
1 parent 8d8d3ba commit 81d0b24
Showing 1 changed file with 7 additions and 7 deletions.
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

0 comments on commit 81d0b24

Please sign in to comment.