Failed to scrape Prometheus endpoint
- Dominant language
- Mustache
- Stars
- 1.3k
- Forks
- 1.1k
- Avg merge
- 22m
- Merged PRs (30d)
- 5
Description
**Describe the bug**
After installation of the `aws-cloudwatch-agent` with `image.tag=1.300037.0b583`, the `amazon/cloudwatch-agent` fails to scrape the prometheus endpoints in the cluster, which I assume should be working?
**Steps to reproduce**
Install `aws-cloudwatch-agent`, set `image.tag=1.300037.0b583`, add `list/watch` to `services` in `ClusterRole`. The scraping doesn't succeed.
**Expected outcome**
The scraping of Prometheus metrics should work as expected out of the box.
**Environment**
* Chart name: aws-cloudwatch-metrics
* Chart version: 0.0.11
* Kubernetes version: v1.29.3-eks-adc7111
* Using EKS (yes/no), if so version? v1.29.3-eks-adc7111
**Additional Context**:
n/a
Contributor guide
Research direction
Start by reproducing the failure with the aws-cloudwatch-metrics chart at version 0.0.11, image tag 1.300037.0b583, and the stated Kubernetes version. Inspect the chart's ClusterRole configuration and Prometheus scraping behavior after adding list/watch to services; done means Prometheus metrics scrape successfully out of the box.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, helm, kubernetes, prometheus
- Domain
- devops, infrastructure, observability
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100