Add TabletType to prometheus vttablet_tablet_server_stat…#18451
Merged
harshit-gangal merged 1 commit intovitessio:mainfrom Aug 28, 2025
Merged
Add TabletType to prometheus vttablet_tablet_server_stat…#18451harshit-gangal merged 1 commit intovitessio:mainfrom
harshit-gangal merged 1 commit intovitessio:mainfrom
Conversation
Contributor
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
e7905aa to
a927653
Compare
a927653 to
28a2a62
Compare
28a2a62 to
919bd84
Compare
…us output The mentioned values are added to the vttablet_tablet_server_state metric as labels type, keyspace, and shard respectively. Signed-off-by: Jeremy Doupe <jeremy@doupe.com>
919bd84 to
179c918
Compare
Contributor
Author
|
I rebased this in hopes that the checks would kick off clean (and to make sure all was right with the world), but I guess all that really accomplished was to reset the need for the workflow to be reapproved. ( @harshit-gangal ) |
harshit-gangal
approved these changes
Aug 28, 2025
nickvanw
approved these changes
Aug 28, 2025
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #18451 +/- ##
==========================================
- Coverage 67.50% 67.49% -0.01%
==========================================
Files 1607 1607
Lines 263144 263153 +9
==========================================
- Hits 177644 177627 -17
- Misses 85500 85526 +26 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…e metric as type label
Description
This just adds
TabletType,TabletKeyspace, andTabletShardlabels to thevttablet_tablet_server_statemetric. These pieces of information are available via/debug/varsbut were never included in the prometheus output. Creating separate metrics for them seemed frivolous/wasteful, and therefore just added to a metric that is purely informational.Related Issue(s)
Fixes #14300
Checklist
Deployment Notes