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

[pdata] Allow strict enforcement of json payloads. #5935

Open
TylerHelmuth opened this issue Aug 18, 2022 · 0 comments
Open

[pdata] Allow strict enforcement of json payloads. #5935

TylerHelmuth opened this issue Aug 18, 2022 · 0 comments
Labels
area:pdata pdata module related issues enhancement New feature or request

Comments

@TylerHelmuth
Copy link
Member

Is your feature request related to a problem? Please describe.
To enable the collector to receive json payloads from new/old otel exports, the collector was changed to skip unknown fields instead of error (#5312, #5931). This is a proper default behavior, but there may be situations where users rely on the collector strictly enforcing json payload structure. It would be nice if the collector provided the option to enable strict enforcement of json payloads.

Describe the solution you'd like
Maybe a startup option for the collector? Or something in the collector config's service section.

Describe alternatives you've considered
Pushing responsibility to receivers. This is possible, but would require individual receivers to make changes/choices, versus the collector enforcing the structure for all incoming data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:pdata pdata module related issues enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants