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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
- Serialize span's `_meta` information when producing to Kafka. ([#4646](https://github.com/getsentry/relay/pull/4646))
- Enable connection pooling for asynchronous Redis connections. ([#4622](https://github.com/getsentry/relay/pull/4622))
- Add the internal `_performance_issues_spans` field to control perf issue detection. ([#4652](https://github.com/getsentry/relay/pull/4652))
- Add `/v1/traces` (without a trailing slash) as a spec-compliant alternative for our OTLP traces endpoint. ([#4655](https://github.com/getsentry/relay/pull/4655))
- Improve handling of failed Redis connections. ([#4657](https://github.com/getsentry/relay/pull/4657))

## 25.3.0
Expand Down
5 changes: 5 additions & 0 deletions relay-server/src/endpoints/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ pub fn routes(config: &Config) -> Router<ServiceState>{
.route("/api/{project_id}/playstation/", playstation::route(config))
.route("/api/{project_id}/events/{event_id}/attachments/", post(attachments::handle))
.route("/api/{project_id}/unreal/{sentry_key}/", unreal::route(config))
// The OTLP/HTTP transport defaults to a request suffix of /v1/traces (no trailing slash):
// https://opentelemetry.io/docs/specs/otlp/#otlphttp-request
// Because we initially released this endpoint with a trailing slash, keeping it for
// backwards compatibility.
.route("/api/{project_id}/otlp/v1/traces", traces::route(config))
.route("/api/{project_id}/otlp/v1/traces/", traces::route(config))
// NOTE: If you add a new (non-experimental) route here, please also list it in
// https://github.com/getsentry/sentry-docs/blob/master/docs/product/relay/operating-guidelines.mdx
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/fixtures/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def send_otel_span(
if dsn_key is None:
dsn_key = self.get_dsn_public_key(project_id, dsn_key_idx)

url = f"/api/{project_id}/otlp/v1/traces/?sentry_key={dsn_key}"
url = f"/api/{project_id}/otlp/v1/traces?sentry_key={dsn_key}"

if json:
headers = {
Expand Down
Loading