Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions .claude/skills/technical-docs/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,16 +113,6 @@ Good best practice:

## Sentry Docs Specific Patterns

### SplitLayout Usage

Use `<SplitLayout>` for side-by-side text/code when:
- The code directly illustrates the text
- Both are needed to understand the concept

Don't use when:
- Showing a directory structure (use plain code block)
- The text is just "here's an example" (just show the code)

### PlatformLink Usage

Link to related docs rather than repeating content:
Expand Down
51 changes: 0 additions & 51 deletions docs/concepts/otlp/forwarding/pipelines/collector.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,11 @@ Before you begin, ensure you have:

## Step 1: Get Your Sentry OTLP Credentials

<SplitLayout>
<SplitSection>
<SplitSectionText>

Find these in [Sentry Project Settings](https://sentry.io/orgredirect/organizations/:orgslug/settings/projects/:projectId/keys/) under **Client Keys (DSN)** > **OpenTelemetry (OTLP)**.

- Use the **combined endpoint** if sending both logs and traces
- The Collector appends `/v1/logs` or `/v1/traces` automatically

</SplitSectionText>
<SplitSectionCode>

```bash
# Logs endpoint
___OTLP_LOGS_URL___
Expand All @@ -44,25 +37,14 @@ ___OTLP_URL___
x-sentry-auth: sentry sentry_key=___PUBLIC_KEY___
```

</SplitSectionCode>
</SplitSection>
</SplitLayout>

## Step 2: Configure the Collector

Update your OpenTelemetry Collector configuration to add the `otlphttp` exporter pointing to Sentry.

<SplitLayout>
<SplitSection>
<SplitSectionText>

### Logs Only

Use `logs_endpoint` to forward only logs to Sentry.

</SplitSectionText>
<SplitSectionCode>

```yaml {filename:otel-collector.yaml}
exporters:
otlphttp/sentry:
Expand All @@ -73,19 +55,10 @@ exporters:
encoding: proto
```

</SplitSectionCode>
</SplitSection>

<SplitSection>
<SplitSectionText>

### Traces Only

Use `traces_endpoint` to forward only traces to Sentry.

</SplitSectionText>
<SplitSectionCode>

```yaml {filename:otel-collector.yaml}
exporters:
otlphttp/sentry:
Expand All @@ -96,19 +69,10 @@ exporters:
encoding: proto
```

</SplitSectionCode>
</SplitSection>

<SplitSection>
<SplitSectionText>

### Logs and Traces

Use the combined `endpoint` to forward both logs and traces. The Collector appends the appropriate path for each signal type.

</SplitSectionText>
<SplitSectionCode>

```yaml {filename:otel-collector.yaml}
exporters:
otlphttp/sentry:
Expand All @@ -119,10 +83,6 @@ exporters:
encoding: proto
```

</SplitSectionCode>
</SplitSection>
</SplitLayout>

## Routing to Multiple Projects

<Alert level="info">
Expand All @@ -131,20 +91,13 @@ For simpler multi-project routing, consider the [Sentry Exporter](/concepts/otlp

</Alert>

<SplitLayout>
<SplitSection>
<SplitSectionText>

Sentry's OTLP endpoints are project-specific. To route telemetry from different services to different Sentry projects using `otlphttp`, use the [routing connector](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/connector/routingconnector).

This example routes logs to different Sentry projects based on the `service.name` attribute:

- Logs with `service.name: "service-b"` go to Project B
- All other logs go to Project A (the default)

</SplitSectionText>
<SplitSectionCode>

```yaml {filename:otel-collector.yaml}
receivers:
otlp:
Expand Down Expand Up @@ -187,7 +140,3 @@ service:
receivers: [routing]
exporters: [otlphttp/project-b]
```

</SplitSectionCode>
</SplitSection>
</SplitLayout>
40 changes: 0 additions & 40 deletions docs/concepts/otlp/forwarding/pipelines/fluentbit.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,8 @@ Before you begin, ensure you have:

## Step 1: Get Your Sentry OTLP Credentials

<SplitLayout>
<SplitSection>
<SplitSectionText>

Find these in [Sentry Project Settings](https://sentry.io/orgredirect/organizations/:orgslug/settings/projects/:projectId/keys/) under **Client Keys (DSN)** > **OpenTelemetry (OTLP)**.

</SplitSectionText>
<SplitSectionCode>

```bash
# Logs endpoint
___OTLP_LOGS_URL___
Expand All @@ -36,25 +29,14 @@ ___OTLP_TRACES_URL___
x-sentry-auth: sentry sentry_key=___PUBLIC_KEY___
```

</SplitSectionCode>
</SplitSection>
</SplitLayout>

## Step 2: Configure Fluent Bit

Add the OpenTelemetry output plugin to your Fluent Bit configuration to forward data to Sentry.

<SplitLayout>
<SplitSection>
<SplitSectionText>

### Logs Only

Use `logs_uri` to forward only logs to Sentry.

</SplitSectionText>
<SplitSectionCode>

```yaml {filename:fluent-bit.yaml}
pipeline:
outputs:
Expand All @@ -81,19 +63,10 @@ pipeline:
Header x-sentry-auth sentry sentry_key=___PUBLIC_KEY___
```

</SplitSectionCode>
</SplitSection>

<SplitSection>
<SplitSectionText>

### Traces Only

Use `traces_uri` to forward only traces to Sentry.

</SplitSectionText>
<SplitSectionCode>

```yaml {filename:fluent-bit.yaml}
pipeline:
outputs:
Expand All @@ -120,19 +93,10 @@ pipeline:
Header x-sentry-auth sentry sentry_key=___PUBLIC_KEY___
```

</SplitSectionCode>
</SplitSection>

<SplitSection>
<SplitSectionText>

### Logs and Traces

Include both `logs_uri` and `traces_uri` to forward logs and traces to Sentry.

</SplitSectionText>
<SplitSectionCode>

```yaml {filename:fluent-bit.yaml}
pipeline:
outputs:
Expand Down Expand Up @@ -161,10 +125,6 @@ pipeline:
Header x-sentry-auth sentry sentry_key=___PUBLIC_KEY___
```

</SplitSectionCode>
</SplitSection>
</SplitLayout>

## Optional Configuration

Fluent Bit's OpenTelemetry output plugin supports additional options for fine-tuning your setup:
Expand Down
40 changes: 0 additions & 40 deletions docs/concepts/otlp/forwarding/pipelines/sentry-exporter.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,8 @@ In your Sentry account, go to **[General Settings](https://sentry.io/orgredirect

## Basic Configuration

<SplitLayout>
<SplitSection>
<SplitSectionText>

By default, the exporter routes telemetry based on `service.name`. A service with `service.name: payments-api` sends to a Sentry project with slug `payments-api`.

</SplitSectionText>
<SplitSectionCode>

```yaml {filename:otel-collector-config.yaml}
receivers:
otlp:
Expand Down Expand Up @@ -113,16 +106,8 @@ service:
exporters: [sentry]
```

</SplitSectionCode>
</SplitSection>
</SplitLayout>

## Routing Options

<SplitLayout>
<SplitSection>
<SplitSectionText>

### Automatic Project Creation

When services spin up dynamically (Kubernetes deployments, serverless functions), you may not have pre-created Sentry projects. Enable `auto_create_projects` to provision them on-demand.
Expand All @@ -132,31 +117,19 @@ When services spin up dynamically (Kubernetes deployments, serverless functions)
may be dropped while provisioning completes.
</Alert>

</SplitSectionText>
<SplitSectionCode>

```yaml
exporters:
sentry:
# ... required fields
auto_create_projects: true
```

</SplitSectionCode>
</SplitSection>

<SplitSection>
<SplitSectionText>

### Custom Project Mapping

When your service names don't match your Sentry project slugs (legacy naming, organizational conventions), map them explicitly.

Services not in the mapping fall back to using `service.name` as the project slug.

</SplitSectionText>
<SplitSectionCode>

```yaml
exporters:
sentry:
Expand All @@ -168,19 +141,10 @@ exporters:
api-gateway: ecommerce-gateway
```

</SplitSectionCode>
</SplitSection>

<SplitSection>
<SplitSectionText>

### Routing by Different Attributes

Route by environment, team, or any other resource attribute instead of service name.

</SplitSectionText>
<SplitSectionCode>

```yaml
exporters:
sentry:
Expand All @@ -192,10 +156,6 @@ exporters:
staging: staging-monitoring
```

</SplitSectionCode>
</SplitSection>
</SplitLayout>

## Rate Limiting

The exporter respects Sentry's rate limits automatically:
Expand Down
Loading
Loading