microsoft / azure-load-testing

MIT License
22 stars 2 forks source link

Support for Azure Monitor Custom Metrics? #79

Closed jimcomiskey closed 2 years ago

jimcomiskey commented 2 years ago

We have implemented some custom metrics to help understand our load, such as Operation Count. When doing manual load testing, we can watch this custom metric and see how busy the server becomes when submitting larger requests.

When adding metrics to my Azure Load Test, I can see the "out of the box" metrics for my Application Insights instance. But, the custom metrics are not available. Would like to be able to select Custom Metrics and display them like this in the Load Testing Components.

image

ninallam commented 2 years ago

Hi @jimcomiskey you should be able to view custom metrics as well in the test run dashboard. Once you add the App insights resource to your App components, you can configure the metrics you want to see as shown below. image. Please let us know if this works for you.

jimcomiskey commented 2 years ago

Hi @ninallam , I can add App Insights to my Test, but when I go to select Metrics, I only see metrics found under Application Insights Standard Metrics. I cannot access Custom Metrics which I have developed for tracking the system load.

These are available in Azure Load Testing:

image

These custom metrics are not:

image

image

krishna1s commented 2 years ago

Hi @jimcomiskey can you share the screenshot of Configure metrics screen, are you able to see your custom metrics namespace in the Metric Namespace dropdown?

ninallam commented 2 years ago

@jimcomiskey can you please confirm the above?

ninallam commented 2 years ago

Closing this because of no response. @jimcomiskey please reopen if you are still facing this issue.