Azure / Azure-Functions

1.12k stars 199 forks source link

App Insights performance metrics are empty for Linux consumption apps. #994

Open balag0 opened 6 years ago

balag0 commented 6 years ago

Create Linux function app with app insights enabled. Browsing to app insights - performance tab doesn't show any performance metrics.

sadgit commented 6 years ago

Try clicking the run in application insights link and looking at the query. I found that the format of 'cloud_RoleName' has change and if you remove that from the where clause than brings back results based only on the function name | where cloud_RoleName =~ 'your-role' and name == 'your-function' | to | where name == 'your-function' |

ColbyTresness commented 6 years ago

@dariagrigoriu is this a known issue?

balag0 commented 6 years ago

It is not clear if there is an issue here. When i looked at the aggregate data, we had similar data for windows and linux consumption. performance tab was empty for my test apps (both windows and linux). May be i am not testing the right scenarios.