Skip to content

[exporter/kafka] franz-go: Exclude non-produce metrics from kafka_exporter_write_latency and kafka_exporter_latency#45258

Merged
songy23 merged 3 commits intoopen-telemetry:mainfrom
carsonip:kafkaexporter-brokere2e-metrics
Jan 7, 2026
Merged

[exporter/kafka] franz-go: Exclude non-produce metrics from kafka_exporter_write_latency and kafka_exporter_latency#45258
songy23 merged 3 commits intoopen-telemetry:mainfrom
carsonip:kafkaexporter-brokere2e-metrics

Conversation

@carsonip
Copy link
Contributor

@carsonip carsonip commented Jan 6, 2026

Description

franz-go: In OnBrokerE2E hook, exclude metrics from non-Produce requests, to avoid polluting produce metrics. This will make it consistent with Sarama implementation.

Link to tracking issue

Testing

Documentation

…orter_write_latency and kafka_exporter_latency
Copy link
Contributor

@axw axw left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @carsonip

@paulojmdias paulojmdias added the ready to merge Code review completed; ready to merge by maintainers label Jan 7, 2026
@songy23 songy23 merged commit 59a6b34 into open-telemetry:main Jan 7, 2026
205 checks passed
@github-actions github-actions bot added this to the next release milestone Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exporter/kafka ready to merge Code review completed; ready to merge by maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants