prometheus-community / prometheus-community/stackdriver_exporter

exporter stops iterating after 500 metric types

Open
#302 1 comment 0 reactions 0 assignees View on GitHub

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?

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.