-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Tablet throttler multi-metrics incremental PR: introducing metric names and scopes #16041
Conversation
…es and scopes Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.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
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## throttler-multi-metrics-incremental #16041 +/- ##
=======================================================================
- Coverage 68.61% 68.26% -0.36%
=======================================================================
Files 1562 1562
Lines 201191 197374 -3817
=======================================================================
- Hits 138047 134733 -3314
+ Misses 63144 62641 -503 ☔ View full report in Codecov by Sentry. |
We ended up deciding to review #15988 as a whole. Closing this PR to avoid confusion. |
Description
Incremental PR in the Tablet Throttler multi-metric series of PRs as per #16012 and merging into #16012.
This PR merely introduces (and does not use yet) two noteworthy types:
MetricName
- a formalized name of a metric (lag
,threads_running
, etc.). There is a limited known set of names, though these are easily expandable programmatically.Scope
- the range of tablets for which a metric is collected. This is either he local tablet (self
) or the entire shard (shard
). When we speak of "the entire shard" we only regard the list of tables that participate in throttler activity. By default those areprimary
andreplica
.This PR merges into
vitessio:throttler-multi-metrics-incremental
, which is a Draft PR, and not intomain
.https://github.com/planetscale/vitess/compare/vitessio:vitess:throttler-multi-metrics-incremental...planetscale:vitess:throttler-multi-metrics-incremental-metric-names?expand=1
Related Issue(s)
#15624
Checklist
Deployment Notes