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

skip NaN value in StatsDOutputWriter #151

Merged

Conversation

zhengyd2014
Copy link
Contributor

@zhengyd2014 zhengyd2014 commented Dec 23, 2020

skip "NaN" or "INF" value in StatsDOutputWriter

this is for resolving issue when integrates jmxtrans-agent with Kafka Connect. the MBean of kafka connect sometimes emits NaN as the value for StatsDOutputWriter as the following.

can't enable for offset-commit-max-time-ms, err msg as
Invalid value "dynamostreamskafkaconector.task.offset-commit-max-time-ms,connector=firehose-connector,task=1:NaN|g" supplied (NaN or INF)

@cyrille-leclerc
Copy link
Member

Many thanks @zhengyd2014 !

@cyrille-leclerc cyrille-leclerc merged commit f5f4649 into jmxtrans:master Jan 5, 2021
@cyrille-leclerc
Copy link
Member

@zhengyd2014 can you please test https://github.com/jmxtrans/jmxtrans-agent/releases/tag/jmxtrans-agent-1.2.11-rc-1 , once you confirm it works for you, I'll cut a GA release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants