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

Parse error on some incoming Heroku log entries? #2

Open
danielmcquillen opened this issue Aug 23, 2018 · 2 comments
Open

Parse error on some incoming Heroku log entries? #2

danielmcquillen opened this issue Aug 23, 2018 · 2 comments

Comments

@danielmcquillen
Copy link

Thanks for great library. Gave it a spin today on a test app I've posted to Heroku. Worked pretty well, but getting an occasional error from the parseMetrics module:

TypeError: line.match is not a function or its return value is not iterable
    at Object.parseMemoryMetrics (/home/ubuntu/.nvm/versions/node/v8.11.4/lib/node_modules/node-heroku-cloudwatch-drain/src/parseMetrics.js:16:11)
    at /home/ubuntu/.nvm/versions/node/v8.11.4/lib/node_modules/node-heroku-cloudwatch-drain/src/index.js:47:16
    at messages.forEach.message (/home/ubuntu/.nvm/versions/node/v8.11.4/lib/node_modules/node-heroku-cloudwatch-drain/src/setupExpress.js:31:32)
    at Array.forEach (<anonymous>)
    at /home/ubuntu/.nvm/versions/node/v8.11.4/lib/node_modules/node-heroku-cloudwatch-drain/src/setupExpress.js:31:13
    at Layer.handle [as handle_request] (/home/ubuntu/.nvm/versions/node/v8.11.4/lib/node_modules/node-heroku-cloudwatch-drain/node_modules/express/lib/router/layer.js:95:5)
    at next (/home/ubuntu/.nvm/versions/node/v8.11.4/lib/node_modules/node-heroku-cloudwatch-drain/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/home/ubuntu/.nvm/versions/node/v8.11.4/lib/node_modules/node-heroku-cloudwatch-drain/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/home/ubuntu/.nvm/versions/node/v8.11.4/lib/node_modules/node-heroku-cloudwatch-drain/node_modules/express/lib/router/layer.js:95:5)
    at /home/ubuntu/.nvm/versions/node/v8.11.4/lib/node_modules/node-heroku-cloudwatch-drain/node_modules/express/lib/router/index.js:281:22
@deepsyx
Copy link
Owner

deepsyx commented Sep 18, 2018

@danielmcquillen Hello. Sorry for the delayed response, but seems I missed that notification. We made a fix for this, but need to wait few more days to make sure everything works smoothly. Will deploy the new version, when we verify it :)

@abrkn
Copy link

abrkn commented Aug 8, 2019

@deepsyx Any update on this?

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

No branches or pull requests

3 participants