-
Notifications
You must be signed in to change notification settings - Fork 73
OTLP browser telemetry export: follow-up improvements (KERNEL-1596) #317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
archandatta
wants to merge
12
commits into
main
Choose a base branch
from
archand/kernel-1596/otlp-export-followups
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
b8ea737
Externalize OTLP batch knobs (queue size, export interval, timeout)
archandatta cd16111
Add per-session OTLP export toggle to the telemetry API
archandatta 5e6b543
Add OTLP export drop/failure/exported metrics
archandatta 4180439
Map service-crash and OOM events to ERROR severity in OTLP converter
archandatta 213c3f1
Emit page_crashed telemetry on renderer crash
archandatta c9d5826
Add build-tagged live OTLP export test
archandatta 19adec2
Review: consumer-facing export spec wording, ctx-aware export logging…
archandatta f161ff5
Review: cover drop metric with a real-SDK unit test; drop docker live…
archandatta d845b30
Document that page_crashed requires the page category; drop em dashes
archandatta 666c148
Address review: valid target_type on untracked crash, patch no-op, em…
archandatta fc7082b
Address Bugbot: OTLP shutdown ordering and provider close on Stop tim…
archandatta be7dc1d
Address Bugbot: don't replay the ring when export is re-enabled
archandatta File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mutex held during export drain
Medium Severity
Disabling OTLP export calls
StopwhilemonitorMuis held, andOTLPExportController.Stopalso holds its own mutex for the full drain (up tootlpStopTimeout, 5s). That stalls all telemetry GET/PUT/PATCH handlers andApiService.Shutdownfor the drain window.Additional Locations (1)
server/lib/events/otlpstorage.go#L343-L354Reviewed by Cursor Bugbot for commit be7dc1d. Configure here.