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

Certain Metrics missing from export #37

Open
brittandeyoung opened this issue May 19, 2021 · 5 comments
Open

Certain Metrics missing from export #37

brittandeyoung opened this issue May 19, 2021 · 5 comments
Labels
waiting for feedback The issue is waiting for additional feedback

Comments

@brittandeyoung
Copy link

brittandeyoung commented May 19, 2021

Hello, I am currently trying to use this exporter to collect metrics for our Azure DevOps organization. I have been able to successfully collect metrics using this docker image, but certain metrics are not present. Here are example metrics I have found that is completely missing (some of these are included in the example queries):

azure_devops_agentpool_agent_info
azure_devops_agentpool_usage

Is there a setting I have wrong?

@mblaschke
Copy link
Member

Which version are you using?
Have you set AZURE_DEVOPS_FILTER_AGENTPOOL to the list of agentpool ids which you want to scrape?

Maybe this needs to be renamed to something more easier/clearer 🤔

@brittandeyoung
Copy link
Author

Setting a value for that got the metrics to populate. I made the bad assumption that if you did not set a whitelist, that it would simply collect all the metrics.

I think it would help to add in the documentation that in order to collect the agentpool data and project data that you need to populate the corresponding filter option.

@mblaschke
Copy link
Member

Will rename it to AZURE_DEVOPS_AGENTPOOL in the next release (with a panic if AZURE_DEVOPS_FILTER_AGENTPOOL is detected).

@pjmpsu
Copy link

pjmpsu commented Jun 23, 2021

Is it possible to pass in a list of IDs? I can only get it work by passing in the flag multiple times i.e.
--whitelist.agentpool=4 --whitelist.agentpool=11

@mblaschke
Copy link
Member

You can pass multiple IDs using the environment variable. It's not possible with parameters.

@mblaschke mblaschke added the waiting for feedback The issue is waiting for additional feedback label Aug 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting for feedback The issue is waiting for additional feedback
Projects
None yet
Development

No branches or pull requests

3 participants