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

instr(kafka): More broker stats #3349

Merged
merged 2 commits into from
Mar 28, 2024
Merged

instr(kafka): More broker stats #3349

merged 2 commits into from
Mar 28, 2024

Conversation

jjbayer
Copy link
Member

@jjbayer jjbayer commented Mar 27, 2024

Follow-up to #3315: Also emit int_latency and outbuf_latency metrics.

#skip-changelog

@jjbayer jjbayer marked this pull request as ready for review March 28, 2024 07:37
@jjbayer jjbayer requested a review from a team as a code owner March 28, 2024 07:37
@jjbayer jjbayer enabled auto-merge (squash) March 28, 2024 07:37
@@ -20,7 +20,7 @@ impl ClientContext for Context {
relay_statsd::metric!(gauge(KafkaGauges::MessageSize) = statistics.msg_size);
relay_statsd::metric!(gauge(KafkaGauges::MessageSizeMax) = statistics.msg_size_max);

for broker in statistics.brokers.values() {
for (_, broker) in statistics.brokers {
Copy link
Member

Choose a reason for hiding this comment

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

Why this change?

Copy link
Member Author

Choose a reason for hiding this comment

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

It was either this or if let Some(int_latency) = &broker.int_latency {, and I thought this function might as well consume the object.

@jjbayer jjbayer merged commit 58f978a into master Mar 28, 2024
22 checks passed
@jjbayer jjbayer deleted the instra/kafka-more-metrics branch March 28, 2024 07:46
jan-auer added a commit that referenced this pull request Mar 28, 2024
* master:
  ref(cardinality): Pipeline Redis script invocations (#3321)
  ref(normalization): Remove StoreProcessor (#3097)
  feat(cardinality): Implement name based cardinality limits (#3313)
  instr(kafka): Tag existing metrics with variant (#3352)
  instr(kafka): More broker stats (#3349)
  instr(kafka): Improve produce error handling (#3351)
  feat(schema): Allow integers as username (#3328)
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