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

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


===========


Sentry integration for supabase package #

package build pub likes popularity pub points
sentry_supabase build pub package likes popularity pub points

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();

Resources

  • Flutter docs
  • Dart docs
  • Discussions
  • Discord Chat
  • Stack Overflow
  • Twitter Follow
0
likes
160
points
620
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