-
Notifications
You must be signed in to change notification settings - Fork 207
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
Prometheus input on On-Premise servers #214
Comments
Could you change the following line in the agent config:
to
It's recommended not to use
|
Didn't help. Also, I find it very weird that there aren't any logs about Prometheus except for the plugin load. I checked the source code for the Prometheus input plugin and it does log messages. |
I don't what was the problem but the scraping works now. I'm guessing mismatch between referring to |
Due to our bug #209 you will actually see all the metrics in agent's log ... It's fixed in main branch but the binary release is not out yet. |
The documentation doesn't talk about running CloudWatch agent with Prometheus input plugin on On-Premise servers.
I tried to use the plugin with the agent. The logs indicate that the plugin is loaded but there is nothing about Prometheus in the logs after that:
OS: Ubuntu 20.04 LTS_
CloudWatch agent version (DPKG): 1.247347.6b250880-1
There is a HTTP service running on
localhost:5000
which exports metrics in Prometheus' format.CloudWatch agent configuration:
prometheus.yaml
prometheus_sd_1.yaml
Log
The last line repeats indefinitely.
The text was updated successfully, but these errors were encountered: