Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

problem scraping metric : #8

Open
fas3r opened this issue Jun 22, 2018 · 1 comment
Open

problem scraping metric : #8

fas3r opened this issue Jun 22, 2018 · 1 comment

Comments

@fas3r
Copy link

fas3r commented Jun 22, 2018

Hello,

I have issue to scrape the data from the prometheus, I keep getting the following errors in prometheus :

level=debug ts=2018-06-22T13:18:17.008625038Z caller=scrape.go:703 component="scrape manager" scrape_pool=ec2_cloudwatch target="http://127.0.0.1:9042/scrape?region=eu-west-1&target=i-0123456598549&task=ec2_cloudwatch" msg="Scrape failed" err="context deadline exceeded"

you will find attach my configuration for the cloudwatch_exporter and the prometheus.

Regarding the cloudwatch_exporter I used go get to install it and for prometheus I took the latest version 2.3.1

I tried to increase the scrape time but it did not help.

Thank you by advance .

config-cloudwatchexporter.txt
prometheus-config.txt

@jangrewe
Copy link

jangrewe commented Oct 1, 2018

Is the Cloudwatch Exporter accessible on 127.0.0.1 from Prometheus? If you have two separate Docker containers, it probably isn't.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants