-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[receiver/kafkametrics] Kafka consumer offset gives a random value instead of an actual offset #33309
Labels
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
an-mmx
changed the title
[receiver/kafkametricsreceiver] Kafka consumer offset gives a random value instead of an actual offset
[receiver/kafkametrics] Kafka consumer offset gives a random value instead of an actual offset
Jun 3, 2024
This was referenced Jun 5, 2024
This was referenced Jun 19, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Component(s)
receiver/kafkametrics
What happened?
Description
It seems there is an issue in the code:
https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/receiver/kafkametricsreceiver/consumer_scraper.go#L145
For the consumer offset (
RecordKafkaConsumerGroupOffsetDataPoint
) it should sendconsumerOffset
instead ofoffsetSum
.Steps to Reproduce
Expected Result
The Kafka consumer offset represent actual consumer offset value
Actual Result
We can see that consumer offset value doesn't match with the actual value from Kafka ui.
Collector version
v0.101.0
Environment information
Environment
Any
OpenTelemetry Collector configuration
No response
Log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: