pingcap / pingcap/docs

pd_cluster_status doesn't have the instance filter

Open
#17,980 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
617
Forks
724
Avg merge
2d 10h
Merged PRs (30d)
223

Description

File: /release-8.1/alert-rules.md

PD_cluster_down_store_nums
Alert rule:

(sum(pd_cluster_status{type="store_down_count"}) by (instance) > 0) and (sum(etcd_server_is_leader) by (instance) > 0)

The pd_cluster_status only have the following filters:

pd_cluster_status{instance="", job="pd", type=""}

Modify the document to update the metrics


Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open release-8.1/alert-rules.md and inspect the PD_cluster_down_store_nums section, including its alert expression and pd_cluster_status example. Compare the documented metric filters with the issue's requested instance filter; done means the alert-rule documentation accurately reflects the metric usage.

Written by the indexing model from the issue text.

Assessment

Tech stack
prometheus
Domain
documentation, observability
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.