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

Support for configuring prometheus metrics collector #55

Open
jompu opened this issue Jun 28, 2024 · 1 comment
Open

Support for configuring prometheus metrics collector #55

jompu opened this issue Jun 28, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@jompu
Copy link

jompu commented Jun 28, 2024

CloudWatch Agent already supports this: https://github.com/aws/amazon-cloudwatch-agent/blob/main/translator/config/schema.json#L757C13-L758C27

It should be possible to give the prometheus configuration for agent to use instead of the file pointed by "prometheus_config_path" property.

Currently one needs to deploy another CloudWatch agent just to collect Prometheus metrics.

@lisguo
Copy link
Contributor

lisguo commented Jul 12, 2024

There is a current feature gap with the amazon-cloudwatch-observability helm chart with prometheus. We are aware of the issue and are discussing it internally.

In the meantime if you wanted prometheus metrics you would have to use something like this: https://github.com/aws-samples/amazon-cloudwatch-container-insights/tree/536ba3dd2b8af060182fad4e5972568b2ee9452c/k8s-deployment-manifest-templates/deployment-mode/service/cwagent-prometheus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants