This repository contains set of components extending functionality of the OpenTelemetry .NET SDK. Instrumentation libraries, exporters, and other components can find their home here.
Runtime instrumentation can be enabled when using DI based APIs i.e. services.AddOpenTelemetryMetrics(...) and support providing options via IConfigurationSection
What do you expect to see?
AddRuntimeInstrumentation work with IDeferredMeterProviderBuilder
Another overload
public static MeterProviderBuilder AddRuntimeInstrumentation(this MeterProviderBuilder builder, IConfigurationSection section)
What is the actual behavior?
Today it only works for non DI mode. Options can't be provided directly via configuration
Additional Context
Add any other context about the feature request here.
Issue with OpenTelemetry.Instrumentation.Runtime
Is this a feature request or a bug?
What is the expected behavior?
What do you expect to see?
AddRuntimeInstrumentation
work withIDeferredMeterProviderBuilder
What is the actual behavior?
Today it only works for non DI mode. Options can't be provided directly via configuration
Additional Context
Add any other context about the feature request here.