releases.shpreview

gRPC calls now traced, breadcrumbed, and error-captured

1 featureThis release1 featureNew capabilitiesAI-tallied from the release notes
From the original release noteView original ↗

The Dart SDK supports gRPC since version 9.23.0 through the new sentry_grpc package. If your Dart or Flutter app talks to backend services over gRPC, you can use it to trace those calls, record breadcrumbs, propagate traces to your backend, and capture failed calls as errors.

How to use it

Add sentry_grpc to your dependencies and pass the interceptor to your gRPC client:

import 'package:grpc/grpc.dart';
import 'package:sentry_grpc/sentry_grpc.dart';

final channel = ClientChannel(
  'api.example.com',
   options: const ChannelOptions(credentials: ChannelCredentials.secure()),
);

final client = MyServiceClient(
  channel,
  interceptors: [SentryGrpcInterceptor()],
);

All calls through this client are then instrumented automatically.

Fetched July 15, 2026