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

[internal/stanza] Add support for []string in converter.go #9887

Merged
merged 3 commits into from
May 10, 2022

Conversation

armstrmi
Copy link
Contributor

@armstrmi armstrmi commented May 9, 2022

Description:

Fixing a bug - adding string array as possible type for converting log record entries and parsing them out

Link to tracking Issue:
Currently blocking this PR #9228

Testing:

Documentation:

@armstrmi armstrmi requested a review from a team May 9, 2022 20:48
@armstrmi armstrmi requested a review from djaglowski as a code owner May 9, 2022 20:48
@armstrmi armstrmi changed the title Adding a Feature - String Slice for Converter.go on internal stanza Bug Fix - String Slice for Converter.go on internal stanza May 9, 2022
@djaglowski djaglowski changed the title Bug Fix - String Slice for Converter.go on internal stanza [internal/stanza] Add support for []string in converter.go May 10, 2022
Copy link
Member

@djaglowski djaglowski left a comment

Choose a reason for hiding this comment

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

Code looks good to me, but please update the changelog entry

CHANGELOG.md Outdated
@@ -51,6 +51,7 @@
- `tanzuobservabilityexporter`: Make metrics stanza in config be optional (#9098)
- `filelogreceiver`: Update Kubernetes examples to fix native OTel logs collection issue where 0 length logs cause errors (#9754)
- `logstransformprocessor`: Resolve node ordering to fix intermittent failures (#9761)
- `stanzaconverterfix`: Add string array as possible type for converting log record entries (#9887)
Copy link
Member

Choose a reason for hiding this comment

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

The entry needs to refer to specific components. In this case, it affects several log receivers, so those should be enumerated.

Suggested change
- `stanzaconverterfix`: Add string array as possible type for converting log record entries (#9887)
- `filelog`, `journald`, `syslog`, `tcplog`, `udplog`: Add support for []string type for converting log record entries (#9887)

@armstrmi armstrmi requested a review from djaglowski May 10, 2022 13:26
@djaglowski djaglowski merged commit e122036 into open-telemetry:main May 10, 2022
djaglowski pushed a commit to djaglowski/opentelemetry-collector-contrib that referenced this pull request May 10, 2022
…metry#9887)

* added fix to include string array type to converter

* updated changelog

* updated Changelog entry
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.

3 participants