Skip to content

Commit e84beaf

Browse files
Update troubleshoot/ingest/opentelemetry/edot-sdks/dotnet/index.md
Co-authored-by: Aleksandra Spilkowska <[email protected]>
1 parent a832af8 commit e84beaf

File tree

1 file changed

+1
-3
lines changed
  • troubleshoot/ingest/opentelemetry/edot-sdks/dotnet

1 file changed

+1
-3
lines changed

troubleshoot/ingest/opentelemetry/edot-sdks/dotnet/index.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,9 +235,7 @@ builder.AddElasticOpenTelemetry(new ElasticOpenTelemetryOptions() { SkipOtlpExpo
235235
.AddOtlpExporter()));
236236
```
237237

238-
The preceding code uses an overload of `AddElasticOpenTelemetry` which accepts an `ElasticOpenTelemetryOptions`
239-
instance. The code configures `SkipOtlpExporter` as `true`. If preferred, this may also be configured using the
240-
`appSettings.json` file.
238+
In this example, `SkipOtlpExporter` is set to `true` using the `ElasticOpenTelemetryOptions` overload of `AddElasticOpenTelemetry`. If preferred, this can also be configured using the `appSettings.json` file.
241239

242240
With `SkipOtlpExporter` enabled, the exporter must be added to __each__ signal that should be exported. In
243241
this example, the OTLP exporter is manually added for logs, traces and metrics. Crucially, for traces, the

0 commit comments

Comments
 (0)