Skip to content

Adding default error_mode to jmx drop config yaml to fix unmarshalling issue - #1790

Closed
Paramadon wants to merge 5 commits into
mainfrom
paramadon/fixingJmsDropTranslator
Closed

Adding default error_mode to jmx drop config yaml to fix unmarshalling issue#1790
Paramadon wants to merge 5 commits into
mainfrom
paramadon/fixingJmsDropTranslator

Conversation

@Paramadon

Copy link
Copy Markdown
Contributor

Description of the issue

Currently there the translator for jmx drop config yaml does not have error_mode set which means that it will be set to "" by default which can cause unmarshalling issues in the agent.

Description of changes

Adding error_mode: propagate to jmx drop config yaml to make sure there are no unmarshaling issues. We have the same behavior in the metrics decorator translator code.

@Paramadon
Paramadon marked this pull request as ready for review July 23, 2025 18:56
@Paramadon
Paramadon requested a review from a team as a code owner July 23, 2025 18:56
@Paramadon Paramadon changed the title Adding default error_mode to jmx drop config yaml to fix unmarshaling issue Adding default error_mode to jmx drop config yaml to fix unmarshalling issue Jul 23, 2025
@Paramadon
Paramadon force-pushed the paramadon/fixingJmsDropTranslator branch from b7b8fbf to d9776b1 Compare July 23, 2025 19:14
metric_statements:
- context: resource
error_mode: ""
error_mode: propagate

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@github-actions

github-actions Bot commented Aug 7, 2025

Copy link
Copy Markdown
Contributor

This PR was marked stale due to lack of activity.

@github-actions github-actions Bot added the Stale label Aug 7, 2025
@Paramadon Paramadon closed this Aug 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants