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

Convert boolean metric values to float. More verbose message when failing to build a metric #3804

Merged
merged 1 commit into from
Feb 21, 2018

Conversation

r4um
Copy link
Contributor

@r4um r4um commented Feb 18, 2018

Boolean metric values from plugins converted to float for datadog output. For example health_ok in
smart plugin.

Added more verbose error logging to make it easier to debug, sample error output

2018-02-18T17:14:41Z I! unable to build Metric for smart_device due to error 'unable to extract value from Fields health_ok error undeterminable type', skipping

Required for all PRs:

  • Signed CLA.
  • Associated README.md updated.
  • Has appropriate unit tests.

@danielnelson danielnelson added this to the 1.6.0 milestone Feb 21, 2018
@danielnelson danielnelson added the feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin label Feb 21, 2018
@danielnelson danielnelson merged commit b355536 into influxdata:master Feb 21, 2018
@danielnelson
Copy link
Contributor

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants