Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expose tikv metrics port in tikv peer service #5970

Open
plevart opened this issue Dec 10, 2024 · 0 comments
Open

expose tikv metrics port in tikv peer service #5970

plevart opened this issue Dec 10, 2024 · 0 comments

Comments

@plevart
Copy link

plevart commented Dec 10, 2024

Feature Request

Is your feature request related to a problem? Please describe:
I'm exposing metrics to an existent prometheus-like scraping. I'm using VictoriaMetrics Operator with VMScrapeConfig CRs for that (similar to Prometheus Operator ServiceMonitor CRs). I'm using the *-peer services created as a result of TidbCluster CR since they are headless and so the VMScrapeConfig actually scrapes the underlying pods individually and doesn't load-balance scrape requests in case normal ClusterIP Services were used.

All -peer services created for pd, tidb and tiflash include ports where /metrics HTTP endpoints reside. Except the tikv-peer service. It is also not possible to add additionalPorts or similar to current TidbCluster CR to achieve that.

Describe the feature you'd like:
I would like that the metrics port of tikv peer service (20180) be exposed by default or at least through the additionalPorts in the TidbCluster CR.

Describe alternatives you've considered:
Currently I'm manually deploying an additional Service with metrics port (20180). But I'd like this to be part of TidbCluster deployment like with other services (pd, tidb, tiflash).

I'm using TiDB Operator 1.6.0 with TiDB 8.1.1

Regards, Peter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant