Skip to content

Conversation

armenzg
Copy link
Member

@armenzg armenzg commented Jul 7, 2025

The changes are reflecting the discussions from this document and follow-up to this Relay PR.

The changes are reflecting the discussions from [this document](https://www.notion.so/sentry/Browser-Reports-Attribute-21e8b10e4b5d8045a7fdc936c814ed70) and follow-up to [this Relay PR](getsentry/relay#4874).
@armenzg armenzg self-assigned this Jul 7, 2025
@armenzg armenzg requested a review from Dav1dde July 7, 2025 19:30
@@ -5119,7 +5119,7 @@ export type SENTRY_OP_TYPE = string;
// Path: model/attributes/sentry/sentry__origin.json

/**
* The origin of a span. `sentry.origin`
* The origin of the instrumentation (e.g. span, log, etc.). `sentry.origin`
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since it can now be used outside of the context of a span.

@@ -0,0 +1,10 @@
{
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For this PR, you can experiment with the fields in here.

You can also refer to this w3c document.

"type": "string",
"pii": { "key": "false" },
"is_in_otel": false,
"example": "application"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

e.g. dns, application , connection

@@ -0,0 +1,8 @@
{
"key": "nel.referrer",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Intentional double rr 😄

"type": "number",
"pii": { "key": "false" },
"is_in_otel": false,
"example": 100
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For numeric examples, I assume I can put it without quotes.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yup, this is valid. The tests should catch this.

@armenzg armenzg marked this pull request as ready for review July 7, 2025 19:35
@AbhiPrasad
Copy link
Member

Make sure you run yarn run generate to generate the docs (right now they are just markdown that lives inside the repo)!

@armenzg armenzg changed the base branch from main to generate/armenzg July 7, 2025 19:52
Base automatically changed from generate/armenzg to main July 7, 2025 20:02
@armenzg armenzg enabled auto-merge (squash) July 8, 2025 12:55
@armenzg armenzg merged commit 228487f into main Jul 8, 2025
5 checks passed
@armenzg armenzg deleted the browser/reports/nel/armenzg branch July 8, 2025 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants