azure-devops-exporter
azure-devops-exporter copied to clipboard
Grafana dashboard
Few people have raised issue for grafana dashboard but it doesn't addressed clearly. Would you please clarify on this point. Do you have any grafana json for this project? It'll be really helpful to entire community on top of fetching data into prometheus. Or direct us to right link/doc.
I'm using Azure DevOps only at work, that's why it always a little bit difficult.
how about this dashboard? https://gist.github.com/mblaschke/ef86524d9350d45143cbbc5d2da674b1
@mblaschke this is a great example.
I have created one more graph using max by(name) (max_over_time(azure_devops_build_job{result="succeeded", type="duration"}[$__interval])) / 60
which shows the longest jobs based on duration. However, I'd like to somehow join it with the buildName
, so that it would be easy to find which build the job belongs to. Any idea how I could do that?
you could join it with azure_devops_build_info
based on projectID
and buildID
@mblaschke thank you for your contribution. Its a good starting point! kudos! ;)
@Shaked In response to your question, the query would be something like:
topk(1,((max_over_time(azure_devops_build_job{result="succeeded", type="duration"}[$__interval])) / 60 * on (buildID) group_left(buildName) azure_devops_build_info)) by (name)
Hope this helps.