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

fix(inputs.smart): Remove parsing error message #13927

Merged
merged 1 commit into from
Sep 18, 2023

Conversation

powersj
Copy link
Contributor

@powersj powersj commented Sep 14, 2023

Rather than error out on a parsing error, ignore the error and continue on parsing other fields. This avoids tossing all the data and not returning any metrics. This is the behavior for other parsing functions and fields throughout the plugin.

fixes: #13926

Rather than error out on a parsing error, ignore the error and continue
on parsing other fields. This avoids tossing all the data and not
returning any metrics. This is the behavior for other parsing functions
and fields throughout the plugin.

fixes: influxdata#13926
@telegraf-tiger telegraf-tiger bot added area/smart fix pr to fix corresponding bug plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins labels Sep 14, 2023
@powersj powersj added the ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. label Sep 14, 2023
@powersj powersj marked this pull request as ready for review September 14, 2023 19:56
Copy link
Member

@srebhan srebhan left a comment

Choose a reason for hiding this comment

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

Question from my side...

Copy link
Member

@srebhan srebhan left a comment

Choose a reason for hiding this comment

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

Ok, fine with me then. However, hiding these will also hiding them from us as nobody will notice something is not according to expectations...

@srebhan srebhan merged commit df80446 into influxdata:master Sep 18, 2023
@github-actions github-actions bot added this to the v1.28.2 milestone Sep 18, 2023
powersj added a commit that referenced this pull request Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/smart fix pr to fix corresponding bug plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generate parsing error for smart field value "<not available>"
2 participants