Context Deadline Exceeded - prometheus

后端 未结 8 1401
长情又很酷
长情又很酷 2021-02-12 20:07

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:

相关标签:
8条回答
  • 2021-02-12 21:06

    I had a same problem in the past. In my case the problem was with the certificates and I fixed it with adding:

     tls_config:
          insecure_skip_verify: true
    

    You can try it, maybe it will work.

    0 讨论(0)
  • 2021-02-12 21:06

    In my case I had accidentally put the wrong port on my Kubernetes Deployment manifest than what was defined in the service associated with it as well as the Prometheus target.

    0 讨论(0)
提交回复
热议问题