Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metrics for Azure.DataFactory #81

Open
dploeger opened this issue Mar 19, 2024 · 1 comment
Open

Metrics for Azure.DataFactory #81

dploeger opened this issue Mar 19, 2024 · 1 comment

Comments

@dploeger
Copy link

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant