Sending OTLP Data from multiple services #104581
Dhrumil-Sentry
announced in
Product Spitballin'
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Sentry OTLP Proxy Exporter
Summary
This proposal introduces a new Sentry OTLP Proxy Exporter for the OpenTelemetry Collector.
Instead of transforming spans into Sentry’s proprietary envelope format like with the legacy exporter, the new exporter will forward native OTLP traces and logs directly to Sentry’s OTLP ingestion endpoints.
It supports:
Motivation
Sentry now natively ingests OTLP for traces and logs.
The legacy exporter maintained complex span transformation logic, didn’t support logs and required embedding DSNs.
Organisations adopting OTel need:
The new proxy-style OTLP exporter meets those needs.
Design Overview
How it works
service.nameattributex-sentry-auth headerThe exporter supports a dynamic mode, where the project destination get resolved automatically, based on the
service.nameresource attribute and theorg-slugunder which all user projects are stored in Sentry. The way this happens is by matchingservice.nameto a canonicalizedproject-slugwith the same name.project-slugto match theservice.nameattribute, otherwise dynamic mode will create duplicate projects.Example Configurations
Dynamic mode resolves project ➡️ DSN at startup, caches everything, and can create projects on demand. The
project.mappingattribute can be also used to manually map services to sentry projects in cases where theservice.namedoes not match the sentry project.Limitations
Feedback Welcome 🗣️
We’re working on shipping the new exporter very soon:
We’d love to hear your feedback about the following
service.nameto sentry projectsBeta Was this translation helpful? Give feedback.
All reactions