vtorc: add keyspace/shard labels to recoveries stats#18304
vtorc: add keyspace/shard labels to recoveries stats#18304GuptaManan100 merged 6 commits intovitessio:mainfrom
vtorc: add keyspace/shard labels to recoveries stats#18304Conversation
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
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.
stats.NewCountersWithMultiLabels does not support a ...string to init with zero, so this becomes unused
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
|
Converted to draft to address e2e test failures |
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
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.
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 <tim@timvaillancourt.com>
|
@deepthi: added changelog notes. Your feedback is appreciated! cc @GuptaManan100 for 💡/ 👀 |
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
…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 <tim@timvaillancourt.com>
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> Signed-off-by: Tanjin Xu <tanjin.xu@slack-corp.com>
… (#740) Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> Signed-off-by: Tanjin Xu <tanjin.xu@slack-corp.com> Co-authored-by: Tim Vaillancourt <tim@timvaillancourt.com>
… (#740) Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> Signed-off-by: Tanjin Xu <tanjin.xu@slack-corp.com> Co-authored-by: Tim Vaillancourt <tim@timvaillancourt.com>
… (#740) Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> Signed-off-by: Tanjin Xu <tanjin.xu@slack-corp.com> Co-authored-by: Tim Vaillancourt <tim@timvaillancourt.com>
Description
This PR adds
KeyspaceandShardto the stats labels of VTOrc recoveriesRelated Issue(s)
Resolves #18305
Checklist
Deployment Notes