feat(config): Add vercel log drain endpoint feature flag#5208
Merged
AbhiPrasad merged 1 commit intomasterfrom Oct 3, 2025
Merged
feat(config): Add vercel log drain endpoint feature flag#5208AbhiPrasad merged 1 commit intomasterfrom
AbhiPrasad merged 1 commit intomasterfrom
Conversation
This was referenced Oct 2, 2025
jjbayer
approved these changes
Oct 3, 2025
Member
jjbayer
left a comment
There was a problem hiding this comment.
Same question as here: getsentry/sentry#100854 (comment)
AbhiPrasad
added a commit
to getsentry/sentry
that referenced
this pull request
Oct 3, 2025
ref https://www.notion.so/sentry/Vercel-Log-Drain-2808b10e4b5d808c95f3ebcfe2b8828a resolves https://linear.app/getsentry/issue/LOGS-390/add-feature-flag-for-vercel-log-drains-to-sentry We're adding support for vercel log drain: #91726. This PR adds a feature flag for this endpoint in Relay. Relay PR: getsentry/relay#5208
github-merge-queue bot
pushed a commit
that referenced
this pull request
Oct 8, 2025
ref https://linear.app/getsentry/issue/LOGS-389/add-vercel-log-drain-endpoint-to-relay This PR updates the `relay-ourlogs` create to add a `VercelLog` struct and a `vercel_log_to_sentry_log` transform method. `vercel_log_to_sentry_log` turns an incoming `VercelLog` json payload structure into an instance of Sentry's `OurLog`. I haven't hooked up the `vercel_log_to_sentry_log` function to an endpoint and the rest of the processing pipeline on purpose, I want to take our time to make sure we are all good with the transform taking place. Many of these attributes are new, I've opened a PR in the conventions repo to document them accordingly: getsentry/sentry-conventions#163. See this notion doc for details about the schema and the transform: https://www.notion.so/sentry/Vercel-Log-Drain-2808b10e4b5d808c95f3ebcfe2b8828a. The attribute keys here align in naming as per https://vercel.com/docs/drains/reference/logs. After this PR merges in, I'll work on exposing this in a new integrations endpoint, gated behind the feature flag introduced in #5208
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
ref https://www.notion.so/sentry/Vercel-Log-Drain-2808b10e4b5d808c95f3ebcfe2b8828a
resolves https://linear.app/getsentry/issue/LOGS-387/add-feature-flag-for-vercel-log-drains-to-relay
We're adding support for vercel log drain: getsentry/sentry#91726. This PR adds a feature flag for this endpoint in Relay (actual endpoint implementation will come after this).
Sentry PR: getsentry/sentry#100854