Skip to content

feat(config): Add vercel log drain endpoint feature flag - #5208

Merged
AbhiPrasad merged 1 commit into
masterfrom
abhi-vercel-log-drain-endpoint-fflag
Oct 3, 2025
Merged

AbhiPrasad merged 1 commit into
masterfrom
abhi-vercel-log-drain-endpoint-fflag

Conversation

@AbhiPrasad

@AbhiPrasad AbhiPrasad commented Oct 2, 2025 •

Copy link
Copy Markdown
Contributor

@AbhiPrasad AbhiPrasad self-assigned this Oct 2, 2025
@AbhiPrasad
AbhiPrasad requested a review from a team as a code owner October 2, 2025 23:37
@linear

linear Bot commented Oct 2, 2025

Copy link
Copy Markdown

@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.

Same question as here: getsentry/sentry#100854 (comment)

@AbhiPrasad
AbhiPrasad added this pull request to the merge queue Oct 3, 2025
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 3, 2025
@AbhiPrasad
AbhiPrasad added this pull request to the merge queue Oct 3, 2025
Merged via the queue into master with commit 123c8be Oct 3, 2025
@AbhiPrasad
AbhiPrasad deleted the abhi-vercel-log-drain-endpoint-fflag branch October 3, 2025 16:22
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants