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 error handling #4505

Merged
merged 2 commits into from
Sep 4, 2019
Merged

Fix error handling #4505

merged 2 commits into from
Sep 4, 2019

Conversation

ofek
Copy link
Contributor

@ofek ofek commented Sep 4, 2019

Motivation

      Traceback (most recent call last):
        File "/opt/datadog-agent/embedded/lib/python2.7/site-packages/datadog_checks/base/checks/base.py", line 556, in run
          self.check(instance)
        File "/opt/datadog-agent/embedded/lib/python2.7/site-packages/datadog_checks/go_expvar/go_expvar.py", line 128, in check
          self.parse_expvar_data(data, tags, metrics, max_metrics, namespace)
        File "/opt/datadog-agent/embedded/lib/python2.7/site-packages/datadog_checks/go_expvar/go_expvar.py", line 168, in parse_expvar_data
          float(value)
      TypeError: float() argument must be a string or a number

Capture

@ofek ofek merged commit aa6c74b into master Sep 4, 2019
@ofek ofek deleted the ofek-patch-1 branch September 4, 2019 15:37
ChristineTChen pushed a commit that referenced this pull request Sep 4, 2019
* Fix error handling

* Update go_expvar.py
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.

2 participants