Context Deadline Exceeded - prometheus

后端 未结 8 1446
长情又很酷
长情又很酷 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.

提交回复
热议问题