Integrate oRPC with Sentry for error tracking and performance monitoring.
Scanned 9/12/2026
Install to Claude Code
npx -y skills add ali-master/skills --skill orpc-sentry --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Orpc Sentry?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/ali-master-orpc-sentry)More formats (shields.io, HTML) on the badges page.
---
name: oRPC Sentry Integration
description: Integrate oRPC with Sentry for error tracking and performance monitoring.
license: MIT
metadata:
author: Ali Torki
homepage: https://github.com/ali-master
version: "1.0.0"
---
# Sentry Integration
Based on the [OpenTelemetry Integration](/docs/integrations/opentelemetry).
## Installation
```sh
npm install @orpc/otel@latest
```
## Setup
```ts
import * as Sentry from '@sentry/node'
import { ORPCInstrumentation } from '@orpc/otel'
Sentry.init({
dsn: '...',
sendDefaultPii: true,
tracesSampleRate: 1.0,
openTelemetryInstrumentations: [
new ORPCInstrumentation(),
]
})
```
## Capturing Errors
Since Sentry does not yet collect [OpenTelemetry span events](https://opentelemetry.io/docs/concepts/signals/traces/#span-events), capture errors from business logic manually:
```ts
import * as Sentry from '@sentry/node'
import { os } from '@orpc/server'
export const sentryMiddleware = os.middleware(async ({ next }) => {
try {
return await next()
} catch (error) {
Sentry.captureException(error)
throw error
}
})
export const base = os.use(sentryMiddleware)
```
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!