prometheus-community / prometheus-community/stackdriver_exporter
[Feature Request] Large number of histogram buckets
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 295
- Forks
- 117
- Avg merge
- 9d 14h
- Merged PRs (30d)
- 7
Description
When scraping the loadbalancing GCP API, it seems a very large amount of buckets are created for each endpoint. You can see an example in this unrelated PR https://github.com/frodenas/stackdriver_exporter/pull/23
If the number of endpoints is large, this results in an enormous number of metrics. It seems this bucket count is fixed and comes from the GCP API directly. Can these be reduced in some capacity with resampling or similar techniques?
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 reviewing the loadbalancing example in the linked PR and tracing how the GCP API's histogram buckets become exported metrics. Determine an acceptable resampling or reduction policy and its effect on metric output; the issue is complete only when that behavior is specified and covered by appropriate exporter tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- gcp, go, prometheus
- Domain
- cloud, observability
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100