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

feat(sumologicexporter)!: remove deprecated json_logs #1452

Merged
merged 4 commits into from
Feb 16, 2024

Conversation

sumo-drosiek
Copy link
Contributor

@sumo-drosiek sumo-drosiek commented Feb 16, 2024

Fixes #1378

I removed json_logs logs, but in order to handle non-empty body, I'm writing it to log key, which was the default before the deprecation and removal

@sumo-drosiek sumo-drosiek requested a review from a team as a code owner February 16, 2024 10:43
} else {
body.CopyTo(recordCopy.Attributes().PutEmpty(s.jsonLogsConfig.LogKey))
}
body.CopyTo(recordCopy.Attributes().PutEmpty(DefaultLogKey))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We need to handle somehow non-empty body. I fallbacked to default behaviour

@sumo-drosiek sumo-drosiek enabled auto-merge (squash) February 16, 2024 11:13
@sumo-drosiek sumo-drosiek force-pushed the drosiek-remove-json-logs branch from eb6cbed to 2314020 Compare February 16, 2024 11:13
Dominik Rosiek added 4 commits February 16, 2024 12:23
Signed-off-by: Dominik Rosiek <[email protected]>
Signed-off-by: Dominik Rosiek <[email protected]>
Signed-off-by: Dominik Rosiek <[email protected]>
@sumo-drosiek sumo-drosiek force-pushed the drosiek-remove-json-logs branch from 2314020 to 19382fd Compare February 16, 2024 11:23
@sumo-drosiek sumo-drosiek merged commit ec59cdd into main Feb 16, 2024
28 checks passed
@sumo-drosiek sumo-drosiek deleted the drosiek-remove-json-logs branch February 16, 2024 11:39
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.

v0.95.0: remove json_logs
3 participants