Search code examples
azureeventsazure-application-insightsmetrics

Possible bug: Application Insights can't find some properties in some timeframes?


When looking at Events in Application Insights to summarize collected telemetry, it is noted that a filter property 'EmptyViewItem count' is available during the last 24 hour view, but not if the timeframe is increased to 90 days. During last 24 hours plot During last 90 days plot

Not all custom properties are accessable

This seems like there is a bug with a limitation of custom properties allowed in the UI..

It is possible to access the missing custom properties from a custom query in the console. It's only the UI in Azure that is limiting.

Increasing the during timeframe somehow magically makes some custom properties disappear from the 'Split by' list, or even if I search for it in the filter. It is noted that the custom property list is listed alphabetically and only goes to 'C'. It looks like we might have hit a maximum limit of allowed custom properties, and above that is not possible to access or even search after in filter.


Solution

  • As you pointed out, retrieving all metrics/custom properties under application insights is limited. It only displays a few of the available options. The missing metrics, telemetry data can be accessed using kql queries in the Logs console of Application insights within some timestamp and include any custom properties you choose.

    I ran a sample query to retrieve the traces logs with the given timestamp, and it worked as expected.

    You can also use where operator to add the custom property attribute to the following query, and it will obtain the specific custom Dimensions properties.

    Note: This approach may also be limited for huge data sets. You need to optimize the query and run accordingly.

    traces
    | summarize by bin(timestamp, 90d)
    

    enter image description here

    Refer MSDoc.