Skip to content

Commit

Permalink
Fix configuration documentation (#144)
Browse files Browse the repository at this point in the history
Update the configuration documentation to use the current naming for
configuration settings.
  • Loading branch information
stevejgordon authored Aug 30, 2024
1 parent 0f9bb63 commit 5db3186
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 5db3186

Please sign in to comment.