Now I'm totally lost, when I run java exporter out of docker on same EC2 it works fine. It takes same amount of time: ~69s, but it returns metrics data.

*Best Regards,*
Dmitriy Alekseev
DevOps Engineer
On 06/09/2021 15:20, Stuart Clark wrote:
On 2021-09-06 12:58, Dmitriy Alekseev wrote:
My issue now that prom/cloudwatch-exporter can't get any data from
ap-northeast-1 at all,  when it works for eu-west-1 and I don't know
where to dig.About frequency: well what the recommended interval? I
tied put 5m. But I don't understand what details level will I get then
from Prometheus. I want use CloudWatch exporter to get my logs custom
metrics counters.


You should be able to enable debug logging within the Cloudwatch Exporter right down to the API calls being made. You can then see what is being sent and the replies received, which might show some errors.

Regarding scrape intervals the maximum that can be used is generally 2-2.5 minutes, so you should reduce the interval from 5 minutes (due to staleness handling).

Have you configured the exporter with the details of what metrics you are wanting to include?


--
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/07ee4bf8-1910-74ef-2cdc-71a9286e042e%40gmail.com.

Reply via email to