Skip to content

feat(otlp): Use organization-scoped flag for enabling the traces endpoint - #5133

Merged
mjq merged 6 commits into
masterfrom
mjq/otlp-trace-endpoint-use-org-flag
Sep 15, 2025
Merged

mjq merged 6 commits into
masterfrom
mjq/otlp-trace-endpoint-use-org-flag

Conversation

@mjq

@mjq mjq commented Sep 11, 2025

Copy link
Copy Markdown
Member

New flag introduced in getsentry/sentry#99155.

Comment thread relay-dynamic-config/src/feature.rs Outdated
Comment on lines +122 to +126
/// This feature has been deprecated in favor of `OtelEndpoint` and is kept for external Relays.
///
/// Serialized as `projects:relay-otel-endpoint`.
#[serde(rename = "projects:relay-otel-endpoint")]
DeprecatedProjectScopedOtelEndpoint,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the otel endpoint already in use by any users that operate their own relay? If not, we can skip this.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have any way of knowing that? It seems very unlikely to me that anyone would be using this, but it also seems like a small cost to avoid breaking someone's setup just in case. 🤷

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jjbayer Cool, removed that code if you could take another look 🙏

@mjq
mjq marked this pull request as ready for review September 12, 2025 14:54
@mjq
mjq requested a review from a team as a code owner September 12, 2025 14:54
@mjq mjq changed the title chore(otlp): use organization-scoped flag for enabling the traces endpoint chore(otlp): Use organization-scoped flag for enabling the traces endpoint Sep 12, 2025
Comment thread relay-dynamic-config/src/feature.rs Resolved

@jjbayer jjbayer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, our changelog bot does not accept chore(...): titles because it's not in https://develop.sentry.dev/engineering-practices/commit-messages/, I would change it to feat(otlp): ....

Comment thread CHANGELOG.md Outdated

- Removes support for the deprecated and early alpha only otel log item type. ([#5082](https://github.com/getsentry/relay/pull/5082))
- Remove static mode. ([#5108](https://github.com/getsentry/relay/pull/5108))
- Change the feature flag for the alpha OTLP trace endpoint from `projects:relay-otel-endpoint` to `organizations:relay-otlp-trace-endpoint`. ([#5133](https://github.com/getsentry/relay/pull/5133))

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would file this under Internal.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done 👍

@mjq mjq changed the title chore(otlp): Use organization-scoped flag for enabling the traces endpoint feat(otlp): Use organization-scoped flag for enabling the traces endpoint Sep 15, 2025
@mjq
mjq enabled auto-merge September 15, 2025 14:51
@mjq
mjq added this pull request to the merge queue Sep 15, 2025
Merged via the queue into master with commit e320e7a Sep 15, 2025
@mjq
mjq deleted the mjq/otlp-trace-endpoint-use-org-flag branch September 15, 2025 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants