Open mortenbock opened 3 days ago
OpenTelemetry.Instrumentation.Runtime
net8.0
When I call the .AddRuntimeInstrumentation() extension method, there is an overload that takes an action for RuntimeInstrumentationOptions.
.AddRuntimeInstrumentation()
RuntimeInstrumentationOptions
However, when I examine the options object, it has no properties.
Add the following code to a dotnet 8 web api project:
builder.Services .AddOpenTelemetry() .UseAzureMonitor() .WithMetrics(providerBuilder => { providerBuilder.AddRuntimeInstrumentation(options => { // Try to set options options. }); });
Properties allowing me to configure the metrics collected
No properties exist on the options object.
No response
Component
OpenTelemetry.Instrumentation.Runtime
Package Version
Runtime Version
net8.0
Description
When I call the
.AddRuntimeInstrumentation()
extension method, there is an overload that takes an action forRuntimeInstrumentationOptions
.However, when I examine the options object, it has no properties.
Steps to Reproduce
Add the following code to a dotnet 8 web api project:
Expected Result
Properties allowing me to configure the metrics collected
Actual Result
No properties exist on the options object.
Additional Context
No response