sentry_supabase 9.9.2 copy "sentry_supabase: ^9.9.2" to clipboard
sentry_supabase: ^9.9.2 copied to clipboard

Sentry integration for Supabase. Adds performance tracing, breadcrumbs, and error capturing for Supabase database operations in Dart apps.

example/example.dart

import 'package:supabase_flutter/supabase_flutter.dart';
import 'package:sentry_supabase/sentry_supabase.dart';

Future<void> main() async {
  // 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();
}
0
likes
160
points
613
downloads

Publisher

unverified uploader

Weekly Downloads

Sentry integration for Supabase. Adds performance tracing, breadcrumbs, and error capturing for Supabase database operations in Dart apps.

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

http, sentry

More

Packages that depend on sentry_supabase