-
Notifications
You must be signed in to change notification settings - Fork 2.3k
vtorc: add keyspace/shard labels to recoveries stats
#18304
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
vtorc: add keyspace/shard labels to recoveries stats
#18304
Conversation
Signed-off-by: Tim Vaillancourt <[email protected]>
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
|
| ) | ||
|
|
||
| var ( | ||
| actionableRecoveriesNames = []string{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stats.NewCountersWithMultiLabels does not support a ...string to init with zero, so this becomes unused
Signed-off-by: Tim Vaillancourt <[email protected]>
|
Converted to draft to address e2e test failures |
Signed-off-by: Tim Vaillancourt <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #18304 +/- ##
==========================================
- Coverage 67.49% 67.49% -0.01%
==========================================
Files 1603 1603
Lines 262428 262442 +14
==========================================
+ Hits 177114 177123 +9
- Misses 85314 85319 +5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
deepthi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look fine. Do we need to add this to the release notes summary?
@deepthi thanks! Probably, because there is a minor behaviour change. Before, this metric would start with zeroed-out values for all the possible types. With MultiLabels that isn't supported, meaning the metrics are empty until something happens |
Signed-off-by: Tim Vaillancourt <[email protected]>
|
@deepthi: added changelog notes. Your feedback is appreciated! cc @GuptaManan100 for 💡/ 👀 |
Signed-off-by: Tim Vaillancourt <[email protected]>
…tests * origin/master: (32 commits) test: Fix race condition in TestStreamRowsHeartbeat (vitessio#18414) VReplication: Improve permission check logic on external tablets on SwitchTraffic (vitessio#18348) Perform post copy actions in atomic copy (vitessio#18411) Update `operator.yaml` (vitessio#18364) Feature(onlineddl): Add shard-specific completion to online ddl (vitessio#18331) Set parsed comments in operator for subqueries (vitessio#18369) `vtorc`: move shard primary timestamp to time type (vitessio#18401) `vtorc`: rename `isClusterWideRecovery` -> `isShardWideRecovery` (vitessio#18351) `vtorc`: remove dupe keyspace/shard in replication analysis (vitessio#18395) Topo: Add NamedLock test for zk2 and consul and get them passing (vitessio#18407) Handle MySQL 9.x as New Flavor in getFlavor() (vitessio#18399) Add support for sending grpc server backend metrics via ORCA (vitessio#18282) asthelpergen: add design documentation (vitessio#18403) `vtorc`: add keyspace/shard labels to recoveries stats (vitessio#18304) `vtorc`: cleanup `database_instance` location fields (vitessio#18339) avoid derived tables for UNION when possible (vitessio#18393) [Bugfix] Broken Heartbeat system in Row Streamer (vitessio#18390) Update MAINTAINERS.md (vitessio#18394) move vmg to emeritus (vitessio#18388) Make sure to check if the server is closed in etcd2topo (vitessio#18352) ...
Signed-off-by: Tim Vaillancourt <[email protected]>
Signed-off-by: Tim Vaillancourt <[email protected]> Signed-off-by: Tanjin Xu <[email protected]>
… (#740) Signed-off-by: Tim Vaillancourt <[email protected]> Signed-off-by: Tanjin Xu <[email protected]> Co-authored-by: Tim Vaillancourt <[email protected]>
… (#740) Signed-off-by: Tim Vaillancourt <[email protected]> Signed-off-by: Tanjin Xu <[email protected]> Co-authored-by: Tim Vaillancourt <[email protected]>
Description
This PR adds
KeyspaceandShardto the stats labels of VTOrc recoveriesRelated Issue(s)
Resolves #18305
Checklist
Deployment Notes