pingcap / docs-tidb-operator

Documentation for TiDB on Kubernetes. TiDB is an open-source, cloud-native, distributed, MySQL-Compatible database for elastic scale and real-time analytics. Try AI-powered Chat2Query free at : https://www.pingcap.com/tidb-serverless/
https://docs.pingcap.com/tidb-in-kubernetes
Other
47 stars 120 forks source link

Add doc about usage of `spec.prometheus.config` in TidbMonitor #955

Closed DanielZhangQD closed 3 years ago

DanielZhangQD commented 3 years ago

Change Request

This repository is ONLY used to solve issues related to TiDB Operator documentation. For other issues (related to TiDB, PD, etc), please move to other repositories.

Please answer the following questions before submitting your issue. Thanks!

  1. Describe what you find is inappropriate or missing in the existing docs. spec.prometheus.config in TidbMonitor supports configuring external configmap for Prometheus and also supports customizing command options, we should add the usage in the doc. https://github.com/pingcap/tidb-operator/blob/master/pkg/apis/pingcap/v1alpha1/tidbmonitor_types.go#L115

  2. Describe your suggestion or addition.

  3. Provide some reference materials (documents, websites, etc) if you could.

DanielZhangQD commented 3 years ago

/assign @BinChenn

BinChenn commented 3 years ago

/assign @csuzhangxc