Default host behavior for OpenTelemetryBuilder With* extensions #4985
Labels
pkg:OpenTelemetry.Extensions.Hosting
Issues related to OpenTelemetry.Extensions.Hosting NuGet package
Milestone
Related to #4896
See: #4958 (comment)
Currently calling
WithMetrics
orWithLogging
does NOT enable integration with the hosting pipeline (ILoggerFactory
orIMetricsListener
).Based on discussions with @noahfalk & @samsp-msft it sounds like we want to enable those by default perhaps giving users a way to opt-out. Opening this issue to track that effort.
Updates...
Metrics: #4958 changes
WithMetrics
to register theIMetricsListener
Logging: #5072 changes
WithLogging
to performservices.AddLogging(builder => builder.UseOpenTelemetry())
The text was updated successfully, but these errors were encountered: