https://ip-address:port/metrics
I can see the metrics. The job that I have added in the prometheus.yml configuration is:
- job_name: 'test-jvm-metrics'
scheme: https
static_configs:
- targets: ['ip:port']
When i restart the prometheus I can see error on my target that says:
context deadline exceeded
I have read that maybe the scrape_timeout is the problem, but I have set it to 50 sec and still the same problem.
What can cause this problem and how to fix it? Thank you!
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/d4158d57-19ae-46e1-8f34-176e0174568a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Can you curl that metrics endpoint from the same machine / container in which Prometheus is running? Sounds like Prometheus might be running into some network issues that cause a timeout.
On Mon, Apr 16, 2018 at 8:11 AM, <bamb...@gmail.com> wrote:
I have prometheus configuration with many jobs where i am scraping metrics over http. But I have one job where i need to scrape the metrics over https.When i access:https://ip-address:port/metrics
I can see the metrics. The job that I have added in the prometheus.yml configuration is:
- job_name: 'test-jvm-metrics' scheme: https static_configs: - targets: ['ip:port']When i restart the prometheus I can see error on my target that says:
context deadline exceeded
I have read that maybe the scrape_timeout is the problem, but I have set it to 50 sec and still the same problem.
What can cause this problem and how to fix it? Thank you!
--
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-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/659561f1-4a97-407d-b7c6-3d692e34385b%40googlegroups.com.To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.