Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Getting the backend stats does not work #1

Closed
pieterbos opened this issue Feb 2, 2018 · 3 comments
Closed

Getting the backend stats does not work #1

pieterbos opened this issue Feb 2, 2018 · 3 comments

Comments

@pieterbos
Copy link

https://github.com/newrelic/statsd-infra-backend/blob/master/lib/newrelic-infra.js#L368 will log 'TypeError: Cannot convert undefined or null to object' because Object.keys() is called without an argument

@pieterbos
Copy link
Author

Of course this line should be:
Object.keys(nriStats).forEach(function(stat) {

@sbz
Copy link
Contributor

sbz commented Jun 14, 2018

While using the NewRelic StatsD Integration, I have encountered the same problem and I have submitted the following PR #2 to solve it.

@areina
Copy link
Contributor

areina commented Jul 6, 2018

@pieterbos @sbz this has been solved after merging PR#2.

@areina areina closed this as completed Jul 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants