Configuring Baselime in your Next.js Supabase SaaS kit

Learn how to configure Baselime in your Next.js Supabase SaaS kit

Baselime (now part of Cloudflare) is an observability platform that helps you monitor your application's performance and errors. In this guide, you'll learn how to configure Baselime in your Next.js Supabase SaaS kit.

To use Baselime to capture exceptions and performance metrics of your app, please define the below variables:

NEXT_PUBLIC_BASELIME_KEY=your_key
NEXT_PUBLIC_MONITORING_PROVIDER=baselime

You can find your Baselime key in the Baselime dashboard.

If you also want to enable OpenTelemetry, you can set the following variables:

ENABLE_MONITORING_INSTRUMENTATION=true
INSTRUMENTATION_SERVICE_NAME=your_service_name