AdmitHub / meteor-buildpack-horse

Heroku buildpack for Meteor v1.0+. The horse one.
MIT License
641 stars 586 forks source link

Instrument the app with tools such as new relic? #192

Closed hems closed 6 years ago

hems commented 6 years ago
Type of problem

Need to instrument the app using new relic, is it possible to run "require('newrelic')" before anything else?

Summary

I believe because horse buildpack "de-meteriorize" the application the instrumentation on my server isn't happening as early as new relic would like to.

screen shot 2018-02-27 at 19 46 02
Deployment target

Heroku

nilesh-parab commented 6 years ago

@hems you can rather try with kadira APM which is better than newrelic for meteor apps. I tried with newrelic but the instrumentation is not that helpful out of box. You will have to use custom instrumentation in newrelic due to the fact that meteor server side communication happens via websockets.

Kadira will show you exact metrics where performance is bottleneck. Kadira is now closed but there is an open sourced version of it made available. Or you can also try with nodechef hosted kadira.

hems commented 6 years ago

@nilesh-parab thanks for the suggestions!

perhaps galaxy comes with kadira out of the box too right?

nilesh-parab commented 6 years ago

@hems seems they already have done it Galaxy Kadira

hems commented 6 years ago

thanks 🙏