Stop attaching euid to browser OpenTelemetry records - #4149
Merged
Merged
Conversation
The site copied that cookie onto every client span and log. Those records do not need it. Co-Authored-By: Cursor Grok 4.6 <noreply@anthropic.com>
Contributor
Docs preview (local build)Handbook preview: https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/4149/ |
akira28
approved these changes
Sep 18, 2026
The cookie assertion can pass without initializing if a Synthetics userAgent spy leaks into the next test. Co-Authored-By: Cursor Grok 4.6 <noreply@anthropic.com>
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.
Browser OpenTelemetry no longer copies the
euidcookie onto client spans and logs.Affects: Site UI
Prompt summary: Open a follow-up that stops the browser from attaching
euidto telemetry. Leave the API path as it is. Keep the public description short and factual.Why
The browser currently copies the
euidcookie onto every client span and log. Search and other UI events emit many of those records. Those records do not need the cookie.What
Browser telemetry
Client spans and logs no longer receive
user.euidfrom theeuidcookie.initializeOtelno longer readsdocument.cookie.API telemetry
Server-side OpenTelemetry is unchanged. This PR does not touch that path.
Tests
A Jest case checks that
initializeOteldoes not readdocument.cookie.Verify
Out of scope: API OpenTelemetry enrichment.
Made with Cursor