File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
api/Elastic.Documentation.Api.Infrastructure
tooling/docs-builder/Http Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ public static TBuilder AddDocsApiOpenTelemetry<TBuilder>(
2727 SkipOtlpExporter = true , // Disable OTLP exporter
2828 SkipInstrumentationAssemblyScanning = true // Disable instrumentation assembly scanning for AOT
2929 } ;
30+
3031 _ = builder . AddElasticOpenTelemetry ( options , edotBuilder =>
3132 {
3233 _ = edotBuilder
Original file line number Diff line number Diff line change @@ -46,11 +46,6 @@ IConfigurationContext configurationContext
4646 _ = builder . AddDocumentationServiceDefaults ( ) ;
4747
4848#if DEBUG
49- // Add Elastic OpenTelemetry for local development
50- // Set OTEL_EXPORTER_OTLP_ENDPOINT environment variable to send to local Elasticsearch
51- // Example: export OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:8200
52- _ = builder . AddDocsApiOpenTelemetry ( ) ;
53-
5449 builder . Services . AddElasticDocsApiUsecases ( "dev" ) ;
5550#endif
5651
You can’t perform that action at this time.
0 commit comments