feat(ourlog): Add vercel log drain endpoint#5212
Merged
AbhiPrasad merged 10 commits intomasterfrom Oct 15, 2025
Merged
Conversation
837b7d7 to
1dac424
Compare
3810607 to
ec8cfbf
Compare
771fc43 to
c95f053
Compare
c95f053 to
d25fc99
Compare
Dav1dde
requested changes
Oct 9, 2025
| headers={"Content-Type": "application/json"}, | ||
| ) | ||
|
|
||
| # Check that the items are properly processed via items_consumer |
AbhiPrasad
commented
Oct 10, 2025
| } | ||
|
|
||
| if count == 0 { | ||
| relay_log::debug!("Failed to parse any logs from vercel log drain payload"); |
Contributor
Author
There was a problem hiding this comment.
This does output when you get empty arrays, but this is unexpected from the log drain endpoint.
After implementing this I also realized that we could return the count from expand, and use that accordingly, we can make a similar refactor to the otlp integration.
Dav1dde
reviewed
Oct 13, 2025
Dav1dde
approved these changes
Oct 15, 2025
jjbayer
approved these changes
Oct 15, 2025
auto-merge was automatically disabled
October 15, 2025 14:58
Pull Request is not mergeable
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.
resolves https://linear.app/getsentry/issue/LOGS-389/add-vercel-log-drain-endpoint-to-relay
Building on top of the vercel log transform added in #5209, this PR adds an endpoint for the vercel log drain.
This endpoint is featured flagged, you can see the options automator PR here: https://github.com/getsentry/sentry-options-automator/pull/5367