sentry_supabase 9.9.0
sentry_supabase: ^9.9.0 copied to clipboard
Sentry integration to instrument Supabase.
===========
Sentry integration for supabase package #
| package | build | pub | likes | popularity | pub points |
|---|---|---|---|---|---|
| sentry_supabase |
Integration for supabase package.
Usage
-
Sign up for a Sentry.io account and get a DSN at https://sentry.io.
-
Follow the installing instructions on pub.dev.
-
Initialize the Sentry SDK using the DSN issued by Sentry.io.
-
Call...
import 'package:supabase_flutter/supabase_flutter.dart';
import 'package:sentry_supabase/sentry_supabase.dart';
// Create a [SentrySupabaseClient] and pass it to Supabase during initialization.
final sentrySupabaseClient = SentrySupabaseClient();
await Supabase.initialize(
url: '<YOUR_SUPABASE_URL>',
anonKey: '<YOUR_SUPABASE_ANON_KEY>',
httpClient: sentrySupabaseClient,
);
// Now all [Supabase] operations and queries will
// be instrumented with Sentry breadcrumbs, traces and errors.
final issues = await Supabase.instance.client
.from('issues')
.select();