Repository navigation
ref(ourlogs): Removes support for the envelope otel log item type - #5082
Merged
Merged
Conversation
Dav1dde
force-pushed
the
dav1d/rm-otel-log
branch
from
August 27, 2025 09:01
7715730 to
824f78e
Compare
Dav1dde
marked this pull request as ready for review
August 27, 2025 09:01
jjbayer
approved these changes
Aug 27, 2025
Dav1dde
force-pushed
the
dav1d/rm-otel-log
branch
from
August 27, 2025 10:05
824f78e to
9af4eab
Compare
Dav1dde
force-pushed
the
dav1d/rm-otel-log
branch
from
August 27, 2025 11:33
9af4eab to
96456b9
Compare
Dav1dde
enabled auto-merge
August 29, 2025 06:56
This was referenced Sep 2, 2025
Closed
github-merge-queue Bot
pushed a commit
that referenced
this pull request
Sep 11, 2025
#skip-changelog As per #5111, we'd like to add an OTLP logs endpoint to Relay. More details on the motivation can be found in this internal notion doc: https://www.notion.so/sentry/Logs-OTLP-Endpoint-2638b10e4b5d8050a147d0dd46df1915 (contains screenshots so can't put them in GH). Before we implement the endpoint itself, this PR adds a `otel_to_sentry_log` to the `relay-ourlogs` crate. `otel_to_sentry_log` is a cleaned up version of the otel log to sentry log transform we had previously implemented and then removed in #5082. To make the `otel_to_sentry_log`, I extracted out a `otel_value_to_attr` from the `relay-spans` crate into a `relay-otel` crate. Not sure if this is the correct level of abstraction, would appreciate feedback. Skipping changelog as this does not expose any user facing changes, only new methods and refactors. Once I add the endpoint in a future PR, I will add a changelog there.
github-merge-queue Bot
pushed a commit
that referenced
this pull request
Sep 17, 2025
…rocessor (#5136) The implementation in #5130 added the expansion right into the processor service, not the logs processor (e.g. how the old implementation did it #5082). This not only means we have to serialize and deserialize an additional time, it also goes against the design where we want to go towards. This was most likely caused by my 'NEL' hack, which I now also separated out again. We can implement a proper NEL processor once we pick up the NEL work again. The implementation also did not deal with outcomes correctly. This implementation fixes the issues and also introduces `RecordKeeper::modify_by` to track changes in outcome quantities exactly, instead of just `lenient`ly. We can also work towards moving all occurrences of `lenient` to `modify_by` in follow-up PRs.
1 of 6 tasks
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.
Closes: #4884
In a follow up, we can remove the
relay-ourlogscrate, as this is basically empty now.