cloudposse / prometheus-to-cloudwatch

Utility for scraping Prometheus metrics from a Prometheus client endpoint and publishing them to CloudWatch
https://cloudposse.com/accelerate
Apache License 2.0
169 stars 37 forks source link

Error returned HTTP status 400 Bad Request #47

Open AleksandrBurdenko opened 4 years ago

AleksandrBurdenko commented 4 years ago

Hello! I have a problem with prometheus to cloudwatch error: returned HTTP status 400 Bad Request

My prometheus collect metrics by blackbox exporter icmp on path http://url:9115/probe but when i export PROMETHEUS_SCRAPE_URL env i receive error: prometheus-to-cloudwatch: Error: GET request for URL "http://url:9115/probe" returned HTTP status 400 Bad Request If i using http://url:9115/metrics it's work but i dont have metrics their what i need

Do you have any advice ?

Thank you