please add prometheus as a scale-in-and-out components
Open
@qqqdan is already working on this.
Since May 16, 2022.
- Dominant language
- Python
- Stars
- 1.8k
- Forks
- 1.2k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 31
Description
File: /release-5.4/scale-tidb-using-tiup.md
please include prometheus as a formal scale components. for example, sometimes user would like to clean monitor data through scale in and out.
steps is as follows:
######缩容prometheus
tiup cluster scale-in tidb-test --node 172.16.116.232:9090
tiup cluster scale-out tidb-test /home/tidb/prometheus.toml
#####prometheus.toml
monitoring_servers:
- host: 172.16.116.232
ssh_port: 22
port: 9090
ng_port: 12020
deploy_dir: /tidb-deploy/prometheus-8249
data_dir: /tidb-data/prometheus-8249
log_dir: /tidb-deploy/prometheus-8249/log
external_alertmanagers: []
arch: arm64
os: linux
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.