You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.WithMetrics(cfg =>
{
cfg.AddAspNetCoreInstrumentation();
cfg.AddHttpClientInstrumentation();
cfg.AddRuntimeInstrumentation();
});
but in the output i did not get http_route attribute as below:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I use below code to get metrics with OTel:
.WithMetrics(cfg =>
{
cfg.AddAspNetCoreInstrumentation();
cfg.AddHttpClientInstrumentation();
cfg.AddRuntimeInstrumentation();
});
but in the output i did not get http_route attribute as below:
http_client_request_duration_seconds_bucket{http_request_method="GET",http_response_status_code="200",network_protocol_version="1.1",server_address="****.com",url_scheme="https",le="0.5"} 0 1706514537848
Is there any way to make http_route and http_url here?
Beta Was this translation helpful? Give feedback.
All reactions