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

[v23.3.x] Add partition aggregation to some metrics #16100

Merged

Conversation

travisdowns
Copy link
Member

@travisdowns travisdowns commented Jan 15, 2024

Backport of PR #15966

Fixes #16093

Add a comment explaining that compaction_ratio metric cannot be
aggregated as it is a ratio, for which a sum is meaningless.

(cherry picked from commit 1ab66f9)
When metrics aggregation is turned on, we want to aggregate away the
partition labels on most metrics: this wasn't occurring in the
consensus object for two metrics: leader_for and reconfiguration
changes in progress.

This change enable aggregation on the partition label for these metrics
if aggregation is turned on.

Issue redpanda-data#15811.
Issue redpanda-data/core-internal#677.

(cherry picked from commit 04b1535)
When metrics aggregation is turned on, we want to aggregate away the
partition labels on most metrics: this wasn't occurring in the
partition probe object.

This change enable aggregation on the partition label for almost all
metrics in the partition problem, with only two excluded:

vectorized_cluster_partition_leader_id
vectorized_cluster_partition_under_replicated_replicas

Issue redpanda-data#15811.
Issue redpanda-data/core-internal#677.

(cherry picked from commit 27e6e2b)
When metrics aggregation is turned on, we want to aggregate away the
partition labels on most metrics: this wasn't occurring in the
tx metrics.

This change enable aggregation on the partition label for almost all
three metrics in this probe.

Issue redpanda-data#15811.
Issue redpanda-data/core-internal#677.

(cherry picked from commit 65c0a89)
@travisdowns travisdowns added the kind/backport PRs targeting a stable branch label Jan 15, 2024
@travisdowns travisdowns added this to the v23.1.x-next milestone Jan 15, 2024
@travisdowns
Copy link
Member Author

travisdowns commented Jan 15, 2024

Manually opened this PR using the vbot branch because @vbotbuildovich is failing (see https://redpandadata.slack.com/archives/C02LZGSS66M/p1705084266254489) before subitting the PR (but after creating the branch with the backported content).

@travisdowns travisdowns self-assigned this Jan 15, 2024
@travisdowns travisdowns removed their assignment Jan 15, 2024
@travisdowns travisdowns merged commit 213506f into redpanda-data:v23.3.x Jan 15, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/redpanda kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants