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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Fiery-Fenix
Copy link

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

component: clickhouseexporter

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: Fix incorrect ServiceName set for Logs Records
Copy link
Member

Choose a reason for hiding this comment

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

nit: maybe mention service.name since that's user facing message

Suggested change
note: Fix incorrect ServiceName set for Logs Records
note: Fix incorrect service.name set for Logs Records

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

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