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

fix: change group name and extend CumulativeSum in ThroughputMetricsReporter #9211

Conversation

ableegoldman
Copy link
Contributor

@ableegoldman ableegoldman commented Jun 17, 2022

This PR contains two fixes:

  1. changes the group name for ksql's per-query topic-level metrics to ksql-query-throughput-metrics so that we can distinguish them from the Streams metrics they are derived from
  2. have the ThroughputTotalMetric extend the Kafka metrics class CumulativeSum so that the ce-kafka metrics reporter we integrate with will know to compute the diff and only forward the throughput deltas (see here). This is a bit of a hack but it's necessary to ensure that the downstream metrics processing will accumulate the totals correctly.

… extend CumulativeSum in ThroughputMetricsReporter
@ableegoldman ableegoldman requested a review from a team as a code owner June 17, 2022 06:17
Copy link
Contributor

@rodesai rodesai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ableegoldman ableegoldman merged commit 6bcd47f into confluentinc:master Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants