Search code examples
azureazure-application-insights

What exactly is a "message" in terms of application insights data?


I'm trying to fine tune my application insights cost, it's currently about 80% of the cost of running my service. When I look at the "usage and estimated costs" charts I can see most of my data volume is "message" but I can't find any information on what this actually means.

enter image description here

My app is predominantly Azure Functions that interact with various queues, etc. I can't see a table in the Logs that represent this data so I'm a bit lost as to what this could be or how I might reduce the cost of this in app insights.

I could add samping, etc. but I'd prefer to understand the problem better before doing that.

So what exactly is a "message" in application insights and how can I view this raw data?


Solution

  • A message is the same as a Trace, example can be seen in this screenshot (source):

    enter image description here

    Azure functions generate a lot of trace telemetry. This document shows what kind of logging is send to the trace table in application insights. You can filter the telemetry but be aware that it might break some things like dependency logging. The log category list shows what is logged at what level. Use it as a guidance.