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

[exporter/clickhouse] Fix incorrect ServiceName set for Logs Records #36350

Conversation

Fiery-Fenix
Copy link
Contributor

Description

Fixing a bug in clickhouseexporter when ServiceName field in ClickHouse for otel_logs table is set from previous Log Record, when current LogRecord doesn't have service.name set

Link to tracking issue

Fixes #36349

Testing

Respective unit test is added to code

@hanjm
Copy link
Member

hanjm commented Nov 15, 2024

LGTM

@rpsadarangani
Copy link

any plans when this will be merge, We are facing the same issue

@ChrsMark
Copy link
Member

@SpencerTorres @Frapschen could you take a look?

Copy link
Member

@SpencerTorres SpencerTorres left a comment

Choose a reason for hiding this comment

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

Nice find. I wonder if this affects other telemetry types

@Fiery-Fenix
Copy link
Contributor Author

Fiery-Fenix commented Nov 19, 2024

Nice find. I wonder if this affects other telemetry types

Other types are not affected, you can see some proofs in #36349

@rpsadarangani
Copy link

Hi @Fiery-Fenix @SpencerTorres, any idea when this will be merged and deployed?

@SpencerTorres
Copy link
Member

There's multiple approvals but we need someone with permission to merge. I cannot merge. Usually @crobert-1 or @dmitryax have access

@ChrsMark ChrsMark added the ready to merge Code review completed; ready to merge by maintainers label Nov 22, 2024
@codeboten codeboten merged commit 520716b into open-telemetry:main Nov 22, 2024
158 checks passed
@github-actions github-actions bot added this to the next release milestone Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exporter/clickhouse ready to merge Code review completed; ready to merge by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[exporter/clickhouse] Incorrect ServiceName set for Logs Records
6 participants