Application Insights not logging route parameters

2024-04-03T17:51:39.34+00:00

Hi,

We are upgrading our framework from .net 4.5 to .net8. As part of upgrade we noticed difference in appinsight logging behavior for our API's . In our APIs we are using route parameters and in .net45 we can see the actual values of route parameters in operation name, while after upgrading to net8 we see only route parameter name. Any idea how to log route parameters values instead of name in Operation Name field.

Note that in URL I can see the actual values

net45

appinsightnet45

net8

appinsightnet8

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,778 questions
0 comments No comments
{count} votes