pingcap / pingcap/tidb

Does Prometheus monitoring need to do client certificate validation?

Open
#34,435 1 comment 0 reactions 0 assignees View on GitHub
type/question
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

We’re scraping the `/metrics` of TiDB components (tikv, pd, tidb) outside of the TiDB monitor stack and found that we need to export the TLS items created by the operator to allow Prometheus to successfully scrape these components (otherwise the server rejects the request).

My understanding is that metrics run on a different port which should be safe to lower the security requirements. Is there a reason SSL verification is needed for Prometheus monitoring too?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.