pingcap / pingcap/monitoring

Grafana chart loses history when the leader changes

Open
#29 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
29
Forks
46
Avg merge
12h 51m
Merged PRs (30d)
17

Description

somewhat like #2. Grafana shows information for each PD even though it only has it for the PD leader. Then if the leader changes the chart for the new leader won't have history from the old.

It seems like a lot of our monitoring does not handle a PD leader change well.

Contributor guide

No contributing guide indexed for this repository

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

Start by reviewing the Grafana chart behavior described here and comparing it with issue #2. Trace how PD leader changes affect the displayed information and determine what monitoring behavior should preserve history across a change. Done means the chart retains the old leader's history and the monitoring behavior is verified across a PD leader change.

Written by the indexing model from the issue text.

Assessment

Tech stack
grafana
Domain
observability
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.