Skip to content

[kafka-consumer] Add topic name as a tag to offset manager metrics#4951

Merged
yurishkuro merged 1 commit intojaegertracing:mainfrom
abliqo:consumer-manager-metrics
Nov 14, 2023
Merged

[kafka-consumer] Add topic name as a tag to offset manager metrics#4951
yurishkuro merged 1 commit intojaegertracing:mainfrom
abliqo:consumer-manager-metrics

Conversation

@abliqo
Copy link
Copy Markdown
Contributor

@abliqo abliqo commented Nov 14, 2023

Which problem is this PR solving?

Resolves #4950

Description of the changes

Add tag with topic name to metrics emitted by Kafka consumer offset manager.

How was this change tested?

Unit tests

…th topic name

Resolves jaegertracing#4950

Add tag with topic name to metrics emitted by Kafka consumer offset manager.

Signed-off-by: Alex Bublichenko <alexbub@uber.com>
@abliqo abliqo requested a review from a team as a code owner November 14, 2023 19:44
@abliqo abliqo requested a review from yurishkuro November 14, 2023 19:44
@codecov
Copy link
Copy Markdown

codecov bot commented Nov 14, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0bb9590) 96.45% compared to head (b90802a) 96.44%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4951      +/-   ##
==========================================
- Coverage   96.45%   96.44%   -0.02%     
==========================================
  Files         304      304              
  Lines       18045    18049       +4     
==========================================
+ Hits        17406    17408       +2     
- Misses        506      508       +2     
  Partials      133      133              
Flag Coverage Δ
unittests 96.44% <100.00%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yurishkuro yurishkuro changed the title [kafka-consumer] Consumer offset manager metrics should have a tag with topic name [kafka-consumer] Add topic name as a tag to offset manager metrics Nov 14, 2023
@yurishkuro yurishkuro merged commit ef311cf into jaegertracing:main Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Consumer offset manager metrics should have a tag with topic name

2 participants