Skip to content

Set New Relic 'logtype' attribute correctly for container logs & syslogs in the same batch #844

Merged
i3149 merged 3 commits into
kentik:mainfrom
steventine:main
Sep 22, 2025
Merged

Set New Relic 'logtype' attribute correctly for container logs & syslogs in the same batch #844
i3149 merged 3 commits into
kentik:mainfrom
steventine:main

Conversation

@steventine
Copy link
Copy Markdown
Contributor

Per the discussion in #842 here is a draft PR that ensures that the logtype attribute is correctly set for container logs (aka ktranslate-health logs) vs syslogs. This is accomplished by sending the different types of logs in different batch messages as all logs in a batch message share the same set of Common.Attributes

… the container doesn't need to always be in UTC time zone
@steventine steventine marked this pull request as ready for review September 18, 2025 00:09
Copy link
Copy Markdown
Contributor

@i3149 i3149 left a comment

Choose a reason for hiding this comment

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

LGTM

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