azure-metrics-exporter icon indicating copy to clipboard operation
azure-metrics-exporter copied to clipboard

Metrics for Azure.DataFactory

Open dploeger opened this issue 1 year ago • 1 comments

Maybe I don't yet understand the exporter enough, but I can't seem to fetch metrics for a DataFactory. The principal I use has permissions on the Datafactory, but this call doesn't return anything:

http://localhost:8080/probe/metrics/list?name=azure-metric&template={name}_{metric}_{aggregation}_{unit}&subscription=<our subscription id>&resourceType=Microsoft.DataFactory/datafactories&metric=FailedRuns,SuccessfulRuns&interval=PT1H&timespan=PT1H&aggregation=Count&metricTop=10

(I've used the web ui to create the url)

According to the Azure metrics documentation, the metrics should be valid.

Any ideas? Thanks!

dploeger avatar Mar 19 '24 13:03 dploeger

Hm. With a different timespan, I get results:

http://localhost:8080/probe/metrics/list?name=azure-metric&template={name}_{metric}_{aggregation}_{unit}&subscription=<our subscription id>&resourceType=Microsoft.DataFactory/datafactories&metric=FailedRuns,SuccessfulRuns&interval=PT1H&timespan=PT24H&aggregation=Count&metricTop=10

However, both metrics return 0 although in the Azure portal they return 3. Strange.

dploeger avatar Apr 23 '24 10:04 dploeger