Application Insights shows GET calls while my code does not have any such calls being made

Viewed 404

We have integrated Azure Application insights with our bot built using Azure bot framework using node.JS and typescript. Everything looks fine and we can see telemetry data flowing in.

In the failures section, we can see Operation name "GET /api/messages" showing repeated times - one failed call (405) and one success call (200).

But we have no GET operation being done on "/api/messages" in our code. We only have "POST" operations.

We are unable to understand why telemetry shows GET operation and one as failed and one as success.

Any help is appreciated.

enter image description here

1 Answers

The operation_SyntheticSource field of request telemetry is often used by microsoft / azure to indicate traffic that is generated by infrastructure or bots. Examples are health requests, keep alive traffic, spider bots.

There are options to filter out telemetry, so it is possible to filter out telemetry cause by synthetic traffic. See the docs.

Telemetry processors can be configured using DI.

Related