0

I would like to capture the metric for and EventHub, capture data backlog . Is there a rest api to get the reault . I am developing a .Net application to monitor azure resource.

HariHaran
  • 3,642
  • 2
  • 16
  • 33
jubi
  • 569
  • 1
  • 10
  • 34

1 Answers1

0

You can use the Azure Metrics Restapi or the .NET SDK. Read more about metrics in Azure Monitor Here

Github Sample for monitor-dotnet-metrics-api

HariHaran
  • 3,642
  • 2
  • 16
  • 33
  • getting not found error when i call this getapi "https://management.azure.com*******************/resourceGroups/*******/providers/microsoft.insights/metrics?api-version=2015-01-01" – jubi Aug 01 '19 at 04:52
  • i am looking for the output of a CaptureBacklog metric(count) in a rest API – jubi Aug 01 '19 at 09:44
  • Keep looking @jubi – HariHaran Aug 01 '19 at 09:45