# Can we use APM with a nodeJS serveless aplication at AZURE?

**URL:** <https://discuss.elastic.co/t/can-we-use-apm-with-a-nodejs-serveless-aplication-at-azure/317157>\
**Category:** APM\
**Tags:** nodejs\
**Created:** [October 21, 2022, 12:50am UTC](https://discuss.elastic.co/t/can-we-use-apm-with-a-nodejs-serveless-aplication-at-azure/317157 "2022-10-21T00:50:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucaoskaique](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lucaoskaique/32/112350_2.png) [@lucaoskaique](https://discuss.elastic.co/u/lucaoskaique)\
**Post date:** [October 21, 2022, 12:50am UTC](https://discuss.elastic.co/t/can-we-use-apm-with-a-nodejs-serveless-aplication-at-azure/317157/1 "2022-10-21T00:50:24Z")

</div>

Hi, i'm lucas!

i have researched everywhere and i could find how to use elastic with nodejs azure functions.

actually i'm trying to find a example with nodejs + azure functions + elastic APM

is there a way to make it work?

---

<div class="post-metadata">

**Author:** ![Emily\_Stolfo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/emily_stolfo/32/55017_2.png) [@Emily\_Stolfo](https://discuss.elastic.co/u/Emily_Stolfo)\
**Post date:** [October 24, 2022, 11:29am UTC](https://discuss.elastic.co/t/can-we-use-apm-with-a-nodejs-serveless-aplication-at-azure/317157/2 "2022-10-24T11:29:09Z")

</div>

Hi Lucas, we don't have specific support yet for Azure functions with the Node.js APM agent at this time. But we're interested in hearing more about your use case so we can consider it when determining our roadmap: do you use other Azure cloud services, lie CosmosDB, Service Bus, etc? Have you tested out using the Node.js agent with an Azure function at all?

---

<div class="post-metadata">

**Author:** ![lucaoskaique](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lucaoskaique/32/112350_2.png) [@lucaoskaique](https://discuss.elastic.co/u/lucaoskaique)\
**Post date:** [October 24, 2022, 6:56pm UTC](https://discuss.elastic.co/t/can-we-use-apm-with-a-nodejs-serveless-aplication-at-azure/317157/3 "2022-10-24T18:56:51Z")

</div>

Hi, Emily!

Thx for answer

The product i'm working on is basic a automation backoffice for customer service tickets and we are passing to a big time with a lot of bugs. Before leaving the project someone implemented Elastic but just logging messages inside elastic.

They are self hosting elastic and kibana, and everytime we want to log somenting we just implemented and we send messages to elastic, the problem with this is that we can't trace whats happening by just logging messages, because we use Azure Event Grid, so there's a lot o functions beeing called after a ticket is created. We need to trace with APM so we can resolve our bugs.

I've made a POC with the completely Elastic Stack to show my employers the importance of Elastic Stack and APM in our application.  
But now i reasearching how to make it work with Azure Functions.

Any ideas?

---

<div class="post-metadata">

**Author:** ![Emily\_Stolfo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/emily_stolfo/32/55017_2.png) [@Emily\_Stolfo](https://discuss.elastic.co/u/Emily_Stolfo)\
**Post date:** [October 26, 2022, 3:21pm UTC](https://discuss.elastic.co/t/can-we-use-apm-with-a-nodejs-serveless-aplication-at-azure/317157/4 "2022-10-26T15:21:06Z")

</div>

Hi Lucas, thanks for the context. Have you tested instrumenting your Azure Functions with the Node.js agent at all? Although we don't officially support them yet, it's possible it might work automatically. In any case, we are currently researching how to instrument Azure Functions right now with the .NET agent so should have an update on supporting them in the Node.js agent soon. Stay tuned 🙂

---

<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:** [November 16, 2022, 11:21am UTC](https://discuss.elastic.co/t/can-we-use-apm-with-a-nodejs-serveless-aplication-at-azure/317157/5 "2022-11-16T11:21:26Z")

</div>

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