Application Insights Operations Name - Different for same API endpoint

2024-06-19T04:49:49.47+00:00

In Application insights, I can see 2 logs for same API end point but with different operation name.

  • One is with POST api/Student
  • Second one with POST Student/Create

First one is the route name of the endpoint but not sure why its logging it for both of them.

Any help would be really appreciated.

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,957 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,327 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Deepanshukatara-6769 6,715 Reputation points
    2024-06-19T07:39:13.4433333+00:00

    Hi , Welcome to MS Q&A

    I understand your concern about seeing duplicate logs for the same API endpoint with different operation names. This can happen due to various reasons related to the Application Insights configuration and telemetry processing. Let me provide you with some insights to help you understand why this might be happening.

    It could be due to diagnostic workspace settings that may cause the duplicate requests. When its enabled/disabled it can take quite a while before the ingested telemetry reflects the changes.

    So you can basically disable it and wait for sometime , refresh and check and if you want to enable , please enable all logs and then wait for sometime and refresh and check

    I hope this information helps , please let me know if you have further questions

    Kindly accept answer if it helps

    Thanks

    Deepanshu

    0 comments No comments