New advertisers: 50% off your first month with code FIRSTMONTHSee slots
getsentry avatar

Sentry Otel Exporter Setup

Configure the OpenTelemetry Collector to route traces and logs into Sentry projects automatically.

skills.sh installs
2.5K
GitHub stars
280
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers collector setup: config discovery, version check, binary or Docker install, and pipeline wiring for traces and logs
  • Includes an eight-step checklist with prompts for editing an existing config or creating a separate one
  • Enforces version otelcol-contrib v0.145.0 or later and uses environment variable references for SENTRY_ORG_SLUG and SENTRY_AUTH_TOKEN
  • Designed for teams routing telemetry from multiple services to Sentry projects, with optional automatic project creation

Install

$ npx -y skills add getsentry/sentry-for-ai --skill sentry-otel-exporter-setup -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Sentry OTel Exporter Setup

Terminology: Always capitalize “Sentry Exporter” when referring to the exporter component.

Configure the OpenTelemetry Collector to send traces and logs to Sentry using the Sentry Exporter.

Setup Overview

Copy this checklist to track your progress:

OTel Exporter Setup:
- [ ] Step 1: Check for existing configuration
- [ ] Step 2: Check collector version and install if needed
- [ ] Step 3: Configure project creation settings
- [ ] Step 4: Write collector config
- [ ] Step 5: Add environment variable placeholders
- [ ] Step 6: Run the collector
- [ ] Step 7: Verify setup
- [ ] Step 8: Enable trace connectedness with OTLPIntegration (Python/Ruby/Node.js)

Step 1: Check for Existing Configuration

Search for existing OpenTelemetry Collector configs by looking for YAML files containing receivers:. Also check for files named otel-collector-config.*, collector-config.*, or otelcol.*.

Details

Repository
github.com/getsentry/sentry-for-ai
Categories
DevOps & Cloud, Debugging
First seen
May 16, 2026

More from getsentry/sentry-for-ai

All 27

Similar to Sentry Otel Exporter Setup

More DevOps & Cloud