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

Chore: signozkafkaexporter: ensure log body is always a string #302

Merged
merged 4 commits into from
Mar 16, 2024

Conversation

raj-k-singh
Copy link
Contributor

While it is very uncommon, log bodies are sent as bytes at times.
Most of the components used on the write path (eg: JSON parser in logtransform) expect log bodies to be string.
Also signozkafkaexporter converts log bodies to string before storing them in clickhouse.

This PR updates signozkafkaexporter to ensure log bodies exported to kafka always have string bodies, ensuring that components on the write path after signozkafkaexporter can work with string values in log bodies.

Addresses #301

@raj-k-singh raj-k-singh merged commit d70589d into main Mar 16, 2024
3 checks passed
@raj-k-singh raj-k-singh deleted the chore/bytes-to-string-in-kafka-exporter branch March 16, 2024 05:52
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