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

[pkg/stanza] Fix TimeParser unmarshaling #32568

Merged
merged 1 commit into from Apr 20, 2024

Conversation

atoulme
Copy link
Contributor

@atoulme atoulme commented Apr 19, 2024

Description:
Fix unmarshaling of TimeParser to conserve initial settings before unmarshaling.

Link to tracking Issue:
Fixes #32169

Testing:
Added the test from the issue.

For @mx-psi I could not make it so we would apply #31802 (comment) because TimeParser is reused on all operators, and therefore it becomes contentious to patch all over the place.

@djaglowski djaglowski merged commit ba91f69 into open-telemetry:main Apr 20, 2024
156 checks passed
@github-actions github-actions bot added this to the next release milestone Apr 20, 2024
LokeshOpsramp pushed a commit to opsramp/opentelemetry-collector-contrib that referenced this pull request May 5, 2024
**Description:**
Fix unmarshaling of TimeParser to conserve initial settings before
unmarshaling.

**Link to tracking Issue:**
Fixes open-telemetry#32169

**Testing:**
Added the test from the issue.

For @mx-psi I could not make it so we would apply
open-telemetry#31802 (comment)
because `TimeParser` is reused on all operators, and therefore it
becomes contentious to patch all over the place.
rimitchell pushed a commit to rimitchell/opentelemetry-collector-contrib that referenced this pull request May 8, 2024
**Description:**
Fix unmarshaling of TimeParser to conserve initial settings before
unmarshaling.

**Link to tracking Issue:**
Fixes open-telemetry#32169

**Testing:**
Added the test from the issue.

For @mx-psi I could not make it so we would apply
open-telemetry#31802 (comment)
because `TimeParser` is reused on all operators, and therefore it
becomes contentious to patch all over the place.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[pkg/stanza] TimeParser unmarshaling ignores original configuration
3 participants