Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Monitor of TiDB has an invalid metric about store0. #20005

Closed
superlzs0476 opened this issue Sep 15, 2020 · 4 comments · Fixed by #20023
Closed

The Monitor of TiDB has an invalid metric about store0. #20005

superlzs0476 opened this issue Sep 15, 2020 · 4 comments · Fixed by #20023
Labels

Comments

@superlzs0476
Copy link

superlzs0476 commented Sep 15, 2020

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

2. What did you expect to see? (Required)

图片

3. What did you see instead (Required)

This cluster need not store that name is 'store0‘, so I don't want to see an invalid metric.

4. What is your TiDB version? (Required)

v4.0.4

@superlzs0476 superlzs0476 added the type/bug The issue is confirmed as a bug. label Sep 15, 2020
@ZenoTan
Copy link

ZenoTan commented Sep 16, 2020

Is it store-0 a valid store in your cluster? You should be more clear about how to reproduce it.

@sre-bot
Copy link
Contributor

sre-bot commented Oct 9, 2020

Integrity check:
component RCA symptom trigger_condition affect_version fix_version fields are empty

Please comment /info to get template

@ti-srebot
Copy link
Contributor

ti-srebot commented Oct 9, 2020

Please edit this comment to complete the following information

Bug

1. Root Cause Analysis (RCA)

RPC send by the GC module does not have store id in the RPC context, so the default value 0 will be used.

2. Symptom

Periodically, store-0 related metrics appears on the monitoring panel.

3. All Trigger Conditions

na

4. Workaround (optional)

5. Affected versions

[v4.0.0:v4.0.7]

6. Fixed versions

v4.0.8

@seiya-annie
Copy link

add component/metrics based on labels in PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants