How do you test and troubleshoot serverless functions?

Hey friends!

I recently had the opportunity to build a POC with Vercel Functions for the startup Iโ€™m working at. I was blown away by how awesome the developer experience is and how easy it was to integrate OpenTelemetry.

I wrote a tutorial with a simplified code sample on configuring Vercel functions for production with OpenTelemetry for distributed tracing and integration tests using trace-based testing.

Everything I learned is in the article below. I would love some insight from the community on how you do it and if my approach is considered valid in your opinion!

Blog: Integration Testing Vercel Serverless Functions with OpenTelemetry

Code example: tracetest/examples/integration-testing-vercel-functions at main ยท kubeshop/tracetest ยท GitHub

2 Likes