# Support for mongoose version \> 5.7

**URL:** <https://discuss.elastic.co/t/support-for-mongoose-version-5-7/305849>\
**Category:** APM\
**Tags:** nodejs\
**Created:** [May 28, 2022, 10:12am UTC](https://discuss.elastic.co/t/support-for-mongoose-version-5-7/305849 "2022-05-28T10:12:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arjun\_Agarwal1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/arjun_agarwal1/32/98571_2.png) [@Arjun\_Agarwal1](https://discuss.elastic.co/u/Arjun_Agarwal1)\
**Post date:** [May 28, 2022, 10:12am UTC](https://discuss.elastic.co/t/support-for-mongoose-version-5-7/305849/1 "2022-05-28T10:12:32Z")

</div>

when will support be added for mongoose version \> 5.7 as some random mongoose spans are missing (especially find spans). Any alternative solution if support will not be added?

---

<div class="post-metadata">

**Author:** ![trentm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/trentm/32/77647_2.png) [@trentm](https://discuss.elastic.co/u/trentm)\
**Post date:** [May 30, 2022, 11:34pm UTC](https://discuss.elastic.co/t/support-for-mongoose-version-5-7/305849/2 "2022-05-30T23:34:31Z")

</div>

Hi @Arjun_Agarwal1. Thanks for asking.

A while back I'd started looking into this: [feat, docs: support mongoose \>=5.7.0 \<7 by trentm · Pull Request #2547 · elastic/apm-agent-nodejs · GitHub](https://github.com/elastic/apm-agent-nodejs/pull/2547)  
However, I was pulled away and haven't made it back. I had noticed that `find` spans were sometimes missing, but hadn't gotten far into why. We do plan to support this, but I don't have a timeline.

---

<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:** [June 20, 2022, 7:35pm UTC](https://discuss.elastic.co/t/support-for-mongoose-version-5-7/305849/3 "2022-06-20T19:35:21Z")

</div>

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