prometheus-community / prometheus-community/stackdriver_exporter
exporter stops iterating after 500 metric types
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 295
- Forks
- 117
- Avg merge
- 9d 14h
- Merged PRs (30d)
- 7
Description
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?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the exporter with --monitoring.metrics-type-prefixes=kubernetes.io and compare the metric-type query response with the number of types processed. Trace the iteration after authentication and the metric-type REST call, then verify that processing is no longer capped at 500 and that all returned types can be exported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, google-cloud
- Domain
- observability
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100