Almost one year ago I have announced that I am developing meteor apm.
Today I am glad to announce Meteor elastic package is production ready. I have published 2.0.0 version today which is completely refactored to be more understandable and testable.
Hey, this sounds great. I’ve never used Elastic but it looks very comprehensive. So if we were to open an Elastic Cloud account and install your agent package we’re good to go ?
We didn’t see any client code… do you also have plans to catch client errors ?
@marklynch
Yes you can open elastic cloud account and use the package. Easy.
meteor apm works only in server, I don’t have plans to catch client side events, because it was already done by Elastic Team, see apm-agent-rum-js
But I don’t know yet apm-agent-rum-js compatibility with Meteor, as I didn’t tested it in Meteor environment, if it does not support Meteor exceptions, maybe I will add client side instrumentation for Meteor.
If you test rum agent, let me know how it’s working with Meteor.
So I just tried it briefly. It’s a bit overwhelming at first with all the options but just focusing on the APM part it’s pretty easy to use. Overall it looks quite promising although I’ve used Kadira for so long there’s a few things I noticed that could be improved.
Within traces of methods/pubs, so for individual finds, findOnes, fetches etc. Kadira has a lot of info which is vital to debugging an issue, like the parameters to each call. Should these be tags within the span ? I see you’ve added the params for the main call to the method or publication in the custom tab.
I also caused an exception by calling a method with dummy params and in the error report it didn’t have these params (it actually had another value which it shouldn’t have had).
Anyway, it’s looking good If you’d prefer to track these in github issues let me know.
@kschingiz, thanks for maintaining this. We are currently using this and has helped us a lot.
Recently, we started using Meteor.defer() to speed up client responses for cases that we do not need to wait for a call. But because of this, we are no longer seeing these calls in APM. Any idea how can we use defer but still track the calls?