Open Om7771 opened 2 months ago
Pinging code owners:
exporter/kafka: @pavolloffay @MovieStoreGuy
See Adding Labels via Comments if you do not have permissions to add labels yourself.
Thanks for filing this @Om7771.
Additionally, we use SyncProducer
in the Kafka exporter, which might be causing delays due to the time taken to receive acknowledgments. We could consider adding an option for users to switch to async mode, but this decision would be up to the code owners. Let me know what do you think @pavolloffay @MovieStoreGuy?
@VihasMakwana Thanks a lot for the quick response. 1) I cannot confirm if this is regression as we have been using version 0.96.0 from beginning. 2) There are no error logs printed. The only logs generated were the traces getting printed on stdout.
Regarding exporting to Kafka using SyncProducer, we have set exporter.kafka.producer.required_acks=1. As per https://pkg.go.dev/github.com/Shopify/sarama#RequiredAcks, this means that the exporter only waits for responding broker to ack. When we set this to 0 (an unreliable delivery) this effectively becomes async. Do you mean this mode?
Component(s)
exporter/kafka
What happened?
Description
We had initiated the load of 1700 TPS towards the open telemetry collector and observed that Kafka exporter was not able to consume the whole load and stream it to Kafka topic at the same rate as were generating the load.
To debug we enabled the telemetry metrics level: detailed expecting a detailed metrices level, But observed that very few metrices are shown in the log.
The metrices shown in the logs were less than what we expected for metrices level: Basic
The Kafka exporter use this: https://gitlabce.tools.aws.vodafone.com/IOT/dsip-opentelemetry.git
The documentation refereed for metrices https://opentelemetry.io/docs/collector/internal-telemetry/
Steps to Reproduce
Expected Result
Actual Result
Collector version
0.96.0
Environment information
Environment
OS: alpine (Running as a containerized image on EKS)
OpenTelemetry Collector configuration
Log output
No response
Additional context
No response