Repository navigation
chore(otlp): add organization-scoped feature flag for OTLP trace endpoint - #99155
Merged
Merged
Conversation
…oint In order to support onboarding LA customers as well as for future graduated rollouts, it would be more appropriate for the OTLP trace endpoint feature flag to be an organization-scoped flag instead of the current project-scoped flag. This PR adds a new `organizations:relay-otel-endpoint` flag and exposes it via project config to Relay. It will be followed up by a change in Relay to read this flag instead of the previous `projects:relay-otel-endpoint` flag. Then we can remove the project-scoped flag.
gggritso
approved these changes
Sep 9, 2025
jjbayer
approved these changes
Sep 10, 2025
jjbayer
reviewed
Sep 10, 2025
| # Enables the playstation ingestion in relay | ||
| manager.add("organizations:relay-playstation-ingestion", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=False) | ||
| # Enables OTLP Trace ingestion in Relay for an entire org (see also `projects:relay-otel-endpoint`) | ||
| manager.add("organizations:relay-otlp-traces-endpoint", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True) |
Member
There was a problem hiding this comment.
Should this be api_expose=False like the rest of the relay features?
Member
Author
There was a problem hiding this comment.
@jjbayer We use it in a couple places on the frontend (e.g.
) - for that to keep working as an organization flag I think it needsapi_expose, but I could be mistaken! (It didn't need it as a project flag, seemingly).
github-merge-queue Bot
pushed a commit
to getsentry/relay
that referenced
this pull request
Sep 15, 2025
…oint (#5133) New flag introduced in getsentry/sentry#99155.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In order to support onboarding LA customers as well as for future graduated rollouts, it would be more appropriate for the OTLP trace endpoint feature flag to be an organization-scoped flag instead of the current project-scoped flag.
This PR adds a new
organizations:relay-otlp-traces-endpointflag and exposes it via project config to Relay. (The new name is more accurate, and helps disambiguate it from the similar feature flag for the OTLP logs endpoint). It will be followed up by a change in Relay to read this flag instead of the previousprojects:relay-otel-endpointflag. Then we can remove the project-scoped flag.See OPE-66.