Related to #4896
See: #4958 (comment)
Currently calling WithMetrics or WithLogging does NOT enable integration with the hosting pipeline (ILoggerFactory or IMetricsListener).
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 the IMetricsListener
Logging: #5072 changes WithLogging to perform services.AddLogging(builder => builder.UseOpenTelemetry())
Related to #4896
See: #4958 (comment)
Currently calling
WithMetricsorWithLoggingdoes NOT enable integration with the hosting pipeline (ILoggerFactoryorIMetricsListener).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
WithMetricsto register theIMetricsListenerLogging: #5072 changes
WithLoggingto performservices.AddLogging(builder => builder.UseOpenTelemetry())