# Elastic APM for Meteor.JS

**URL:** <https://discuss.elastic.co/t/elastic-apm-for-meteor-js/186669>\
**Category:** APM\
**Created:** [June 20, 2019, 11:34am UTC](https://discuss.elastic.co/t/elastic-apm-for-meteor-js/186669 "2019-06-20T11:34:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kschingiz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kschingiz/32/36011_2.png) [@kschingiz](https://discuss.elastic.co/u/kschingiz)\
**Post date:** [June 20, 2019, 11:34am UTC](https://discuss.elastic.co/t/elastic-apm-for-meteor-js/186669/1 "2019-06-20T11:34:47Z")

</div>

Hi everybody! I am glad to announce today I have completed developing Elastic APM for Meteor.js.

It can monitor:

1. Pub/sub
2. Meteor calls
3. Async executions
4. Database queries
5. Cursor methods
6. Exceptions: meteor method/pub-sub exception, unhandled exceptions
7. Outgoing http requests
8. Incoming http requests

It's based on apm nodejs agent, so it's fully compatible with all of it's features

You can find installation steps and source code in [github repo](https://github.com/kschingiz/meteor-elastic-apm)  
My announce in meteor forums: [apm release](https://forums.meteor.com/t/meteor-apm-release/49306)

Roadmap:

1. Documentation
2. Add custom metrics (pub/sub count, meteor calls count, auth count, etc…)
3. Integration tests

Enjoy using it MeteorJS developers

---

<div class="post-metadata">

**Author:** ![axw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/axw/32/28197_2.png) [@axw](https://discuss.elastic.co/u/axw)\
**Post date:** [June 20, 2019, 12:41pm UTC](https://discuss.elastic.co/t/elastic-apm-for-meteor-js/186669/2 "2019-06-20T12:41:00Z")

</div>

Cool stuff @kschingiz, thank you for sharing!

---

<div class="post-metadata">

**Author:** ![kschingiz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kschingiz/32/36011_2.png) [@kschingiz](https://discuss.elastic.co/u/kschingiz)\
**Post date:** [June 23, 2019, 11:38am UTC](https://discuss.elastic.co/t/elastic-apm-for-meteor-js/186669/3 "2019-06-23T11:38:48Z")

</div>

There is big update coming in this branch: [https://github.com/kschingiz/meteor-elastic-apm/tree/trace\_improvements](https://github.com/kschingiz/meteor-elastic-apm/tree/trace_improvements)  
Changelogs:

1. Merge nested async spans into one (Done)
2. DB spans have selector, document, docs fetched, docs removed, docs updated, doc id inserted, options data (Done)
3. Meteor methods trace improvements: method transaction will have response, exception (if error is thrown) and method params data (Done)
4. Cursor methods: options, docs fetched, what is returned from cursor (Done)
5. Subscriptions improvements: sub params, docs fetched (In progress)
6. User id data in transactions (Done)
7. Http requests: http request data, response data, response code, etc… (In progress)
8. Fix async meteor collection method execution when callback is provided (Done)

New release is planned for the next week (maybe at the end of the week) when I implement some new features and fix tests.

Stay tuned, enjoy using it and feel free to contribute.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 14, 2019, 7:38am UTC](https://discuss.elastic.co/t/elastic-apm-for-meteor-js/186669/4 "2019-07-14T07:38:52Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
