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

exporter stops iterating after 500 metric types #302

Open
jotka opened this issue Feb 19, 2024 · 1 comment
Open

exporter stops iterating after 500 metric types #302

jotka opened this issue Feb 19, 2024 · 1 comment

Comments

@jotka
Copy link

jotka commented Feb 19, 2024

I was trying to debug the way exporter works. It seems that the first REST call is the authentication, then the second one is a query about the possible metrics types, and them it iterates over the list to get the metrics

The second call gives me 3382 metric types (I'm using --monitoring.metrics-type-prefixes=kubernetes.io)

But then it stops iterating after 500 metrics types, so I don't get all the metrics I need.

Is it an expected behavior or my misconfiguration?

image

@kgeckhart
Copy link
Contributor

Do you have anymore info on this? Looks like the default page size for the descriptors is going to be 10k so all of those descriptors should be passed to the callback. Is it possible that most of them are getting picked up by the deduping logic here, https://github.com/prometheus-community/stackdriver_exporter/blob/master/collectors/monitoring_collector.go#L261-L273?

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

2 participants