Grafana chart loses history when the leader changes

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

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

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.

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.

Dominant language
Go
Stars
29
Forks
46
Avg merge
8h 3m
Merged PRs (30d)
62

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from pingcap/monitoring

All issues in pingcap/monitoring

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.