Repository navigation
feat(ourlog): Add vercel log drain endpoint - #5212
Merged
Merged
Conversation
AbhiPrasad
force-pushed
the
abhi-vercel-log-drain-endpoint
branch
from
October 5, 2025 02:20
837b7d7 to
1dac424
Compare
AbhiPrasad
force-pushed
the
abhi-vercel-log-drain-integration
branch
from
October 6, 2025 23:24
3810607 to
ec8cfbf
Compare
AbhiPrasad
force-pushed
the
abhi-vercel-log-drain-endpoint
branch
6 times, most recently
from
October 9, 2025 12:29
771fc43 to
c95f053
Compare
AbhiPrasad
force-pushed
the
abhi-vercel-log-drain-endpoint
branch
from
October 9, 2025 12:30
c95f053 to
d25fc99
Compare
AbhiPrasad
marked this pull request as ready for review
October 9, 2025 12:30
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
AbhiPrasad
enabled auto-merge
October 15, 2025 13:12
github-merge-queue
Bot
removed this pull request from the merge queue due to a conflict with the base branch
Oct 15, 2025
AbhiPrasad
enabled auto-merge
October 15, 2025 14:30
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