The Bearer Agent will detect and monitor API calls in serverless functions just as it does in more traditional applications. Some functionality, such as retry remediations, may not function as expected due to the short lifespan of serverless function invocations. This can often be resolved by increasing the duration or "maximum age" of the function.

As the Bearer Agent is asynchronous, make sure to initialize the agent prior to making any requests from the serverless function.

Did this answer your question?