sentry_supabase 9.9.0 copy "sentry_supabase: ^9.9.0" to clipboard
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 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
0
points
620
downloads

Publisher

unverified uploader

Weekly Downloads

Sentry integration to instrument Supabase.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

http, sentry

More

Packages that depend on sentry_supabase