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

Update elasticsearch.js #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jsizzle1
Copy link

Bug Fix for below issue:

/opt/nodejs/6.11.0/lib/node_modules/statsd-elasticsearch-backend/lib/elasticsearch.js:129
innerPayload += renderKV(statKey, listGuageData[key][statKey]);
^

ReferenceError: listGuageData is not defined
at elasticsearch_bulk_insert (/opt/nodejs/6.11.0/lib/node_modules/statsd-elasticsearch-backend/lib/elasticsearch.js:129:47)
at EventEmitter.elastic_flush (/opt/nodejs/6.11.0/lib/node_modules/statsd-elasticsearch-backend/lib/elasticsearch.js:208:3)
at emitTwo (events.js:111:20)
at EventEmitter.emit (events.js:191:7)
at emitFlush (/opt/nodejs/6.11.0/lib/node_modules/statsd/stats.js:152:19)
at Object.process_metrics (/opt/nodejs/6.11.0/lib/node_modules/statsd/lib/process_metrics.js:144:5)
at Timeout.flushMetrics [as _onTimeout] (/opt/nodejs/6.11.0/lib/node_modules/statsd/stats.js:151:6)
at ontimeout (timers.js:386:14)
at tryOnTimeout (timers.js:250:5)
at Timer.listOnTimeout (timers.js:214:5)

Bug Fix for below issue:

/opt/nodejs/6.11.0/lib/node_modules/statsd-elasticsearch-backend/lib/elasticsearch.js:129
            innerPayload += renderKV(statKey, listGuageData[key][statKey]);
                                              ^
 
ReferenceError: listGuageData is not defined
    at elasticsearch_bulk_insert (/opt/nodejs/6.11.0/lib/node_modules/statsd-elasticsearch-backend/lib/elasticsearch.js:129:47)
    at EventEmitter.elastic_flush (/opt/nodejs/6.11.0/lib/node_modules/statsd-elasticsearch-backend/lib/elasticsearch.js:208:3)
    at emitTwo (events.js:111:20)
    at EventEmitter.emit (events.js:191:7)
    at emitFlush (/opt/nodejs/6.11.0/lib/node_modules/statsd/stats.js:152:19)
    at Object.process_metrics (/opt/nodejs/6.11.0/lib/node_modules/statsd/lib/process_metrics.js:144:5)
    at Timeout.flushMetrics [as _onTimeout] (/opt/nodejs/6.11.0/lib/node_modules/statsd/stats.js:151:6)
    at ontimeout (timers.js:386:14)
    at tryOnTimeout (timers.js:250:5)
    at Timer.listOnTimeout (timers.js:214:5)
@jsizzle1
Copy link
Author

jsizzle1 commented Sep 3, 2018

@markkimsal

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.

1 participant