cbl_sentry 3.0.0-dev.6 copy "cbl_sentry: ^3.0.0-dev.6" to clipboard
cbl_sentry: ^3.0.0-dev.6 copied to clipboard

Sentry integration for Couchbase Lite — automatic breadcrumb recording and performance tracing for database operations and data sync.

Couchbase Lite for Dart and Flutter

Sentry Integration for Couchbase Lite

Version CI codecov

Supplements Sentry error reports with database context and gathers performance metrics for cbl operations.

Features #

  • Breadcrumbs — Automatically records database operations as Sentry breadcrumbs for richer error context.
  • Performance Tracing — Tracks database and data sync operations as Sentry transactions and spans.

Getting Started #

Add the package:

dart pub add cbl_sentry

Add the integration to your Sentry configuration:

import 'package:cbl_sentry/cbl_sentry.dart';
import 'package:sentry/sentry.dart';

await Sentry.init(
  (options) => options
    ..dsn = 'your-sentry-dsn'
    ..tracesSampleRate = 1
    ..addIntegration(CouchbaseLiteIntegration()),
  appRunner: () async {
    // ...
  },
);

Read the full documentation at cbl-dart.dev

Contributing #

Pull requests are welcome. For major changes, please open an issue first. Read CONTRIBUTING to get started.

Disclaimer #

This is not an official Couchbase product.

3
likes
160
points
479
downloads

Documentation

Documentation
API reference

Publisher

verified publishercbl-dart.dev

Weekly Downloads

Sentry integration for Couchbase Lite — automatic breadcrumb recording and performance tracing for database operations and data sync.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#sentry #tracing #database #monitoring #observability

License

Apache-2.0 (license)

Dependencies

cbl, sentry

More

Packages that depend on cbl_sentry