55 <br />
66</p >
77
8- Sentry integration for ` drift ` package
9- ===========
8+ # Sentry integration for ` drift ` package
109
11- | package | build | pub | likes | popularity | pub points |
12- | ------------- | -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| ------------------------------------------------------------------------------------------------------| ------------------------------------------------------------------------------------------------------| ----------------------------------------------------------------------------------------------------------------| ------- |
13- | sentry_drift | [ ![ build] ( https://github.com/getsentry/sentry-dart/actions/workflows/drift.yml/badge.svg?branch=main )] ( https://github.com/getsentry/sentry-dart/actions?query=workflow%3Asentry-drift ) | [ ![ pub package] ( https://img.shields.io/pub/v/sentry_drift.svg )] ( https://pub.dev/packages/sentry_drift ) | [ ![ likes] ( https://img.shields.io/pub/likes/sentry_drift )] ( https://pub.dev/packages/sentry_drift/score ) | [ ![ popularity] ( https://img.shields.io/pub/popularity/sentry_drift )] ( https://pub.dev/packages/sentry_drift/score ) | [ ![ pub points] ( https://img.shields.io/pub/points/sentry_drift )] ( https://pub.dev/packages/sentry_drift/score )
10+ | package | build | pub | likes | popularity | pub points |
11+ | ------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- ------- |
12+ | sentry_drift | [ ![ build] ( https://github.com/getsentry/sentry-dart/actions/workflows/drift.yml/badge.svg?branch=main )] ( https://github.com/getsentry/sentry-dart/actions?query=workflow%3Asentry-drift ) | [ ![ pub package] ( https://img.shields.io/pub/v/sentry_drift.svg )] ( https://pub.dev/packages/sentry_drift ) | [ ![ likes] ( https://img.shields.io/pub/likes/sentry_drift )] ( https://pub.dev/packages/sentry_drift/score ) | [ ![ popularity] ( https://img.shields.io/pub/popularity/sentry_drift )] ( https://pub.dev/packages/sentry_drift/score ) | [ ![ pub points] ( https://img.shields.io/pub/points/sentry_drift )] ( https://pub.dev/packages/sentry_drift/score ) |
1413
1514Integration for the [ ` drift ` ] ( https://pub.dev/packages/drift ) package.
1615
@@ -50,9 +49,8 @@ Future<void> main() async {
5049Future<void> runApp() async {
5150 final tr =
5251 Sentry.startTransaction('drift', 'op', bindToScope: true);
53- final executor = SentryQueryExecutor(
54- () => NativeDatabase.memory(),
55- databaseName: 'my_db_name',
52+ final executor = NativeDatabase.memory().interceptWith(
53+ SentryQueryInterceptor(databaseName: 'my_db_name'),
5654 );
5755 final db = AppDatabase(executor);
5856
@@ -74,9 +72,9 @@ Future<void> runApp() async {
7472
7573#### Resources
7674
77- * [ ![ Flutter docs] ( https://img.shields.io/badge/documentation-sentry.io-green.svg?label=flutter%20docs )] ( https://docs.sentry.io/platforms/flutter/ )
78- * [ ![ Dart docs] ( https://img.shields.io/badge/documentation-sentry.io-green.svg?label=dart%20docs )] ( https://docs.sentry.io/platforms/dart/ )
79- * [ ![ Discussions] ( https://img.shields.io/github/discussions/getsentry/sentry-dart.svg )] ( https://github.com/getsentry/sentry-dart/discussions )
80- * [ ![ Discord Chat] ( https://img.shields.io/discord/621778831602221064?logo=discord&logoColor=ffffff&color=7389D8 )] ( https://discord.gg/gB6ja9uZuN )
81- * [ ![ Stack Overflow] ( https://img.shields.io/badge/stack%20overflow-sentry-green.svg )] ( https://stackoverflow.com/questions/tagged/sentry )
82- * [ ![ Twitter Follow] ( https://img.shields.io/twitter/follow/getsentry?label=getsentry&style=social )] ( https://twitter.com/intent/follow?screen_name=getsentry )
75+ - [ ![ Flutter docs] ( https://img.shields.io/badge/documentation-sentry.io-green.svg?label=flutter%20docs )] ( https://docs.sentry.io/platforms/flutter/ )
76+ - [ ![ Dart docs] ( https://img.shields.io/badge/documentation-sentry.io-green.svg?label=dart%20docs )] ( https://docs.sentry.io/platforms/dart/ )
77+ - [ ![ Discussions] ( https://img.shields.io/github/discussions/getsentry/sentry-dart.svg )] ( https://github.com/getsentry/sentry-dart/discussions )
78+ - [ ![ Discord Chat] ( https://img.shields.io/discord/621778831602221064?logo=discord&logoColor=ffffff&color=7389D8 )] ( https://discord.gg/gB6ja9uZuN )
79+ - [ ![ Stack Overflow] ( https://img.shields.io/badge/stack%20overflow-sentry-green.svg )] ( https://stackoverflow.com/questions/tagged/sentry )
80+ - [ ![ Twitter Follow] ( https://img.shields.io/twitter/follow/getsentry?label=getsentry&style=social )] ( https://twitter.com/intent/follow?screen_name=getsentry )
0 commit comments