Skip to content
Back to skills

Orpc Sentry

ASecurity

Integrate oRPC with Sentry for error tracking and performance monitoring.

  • 8 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 12, 2026
devopsnodegitperformance

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned September 12, 2026

npx -y skills add ali-master/skills --skill orpc-sentry --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Orpc Sentry?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Orpc Sentry
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ali-master-orpc-sentry/badge)](https://www.skillsdirectory.com/skills/ali-master-orpc-sentry)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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)
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.