forked from open-telemetry/opentelemetry-collector-contrib
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pkg/stanza] Allow 'parse_to' fields to accept 'attributes' and 'reso…
…urce' (open-telemetry#14089) * [pkg/stanza] Allow 'parse_to' fields to accept 'attributes' and 'resource' This change enables parsers to parse directly to 'attributes' or 'resource'. In order to allow alternate validation behavior while unmarshaling, a new RootableField struct was introduced, which wraps the Field struct.
- Loading branch information
1 parent
1434604
commit 1d620bf
Showing
19 changed files
with
346 additions
and
183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.