-
-
Notifications
You must be signed in to change notification settings - Fork 0
Add NEL-related attributes #68
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
Changes from 1 commit
1d035ae
15567b0
5df9ea8
b6aa7fe
b9ba4f3
8876bd9
7b5bbee
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| { | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. |
||
| "key": "browser.report.type", | ||
| "brief": "A browser report sent via reporting API..", | ||
armenzg marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| "type": "string", | ||
| "pii": { | ||
| "key": "false" | ||
| }, | ||
| "is_in_otel": false, | ||
| "example": "network-error" | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| { | ||
| "key": "nel.elapsed_time", | ||
| "brief": "The elapsed number of milliseconds between the start of the resource fetch and when it was completed or aborted by the user agent.", | ||
| "type": "number", | ||
armenzg marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| "pii": { "key": "false" }, | ||
| "is_in_otel": false, | ||
| "example": 100 | ||
|
||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| { | ||
| "key": "nel.phase", | ||
| "brief": "If request failed, the phase of its network error. If request succeeded, \"application\".", | ||
| "type": "string", | ||
| "pii": { "key": "false" }, | ||
| "is_in_otel": false, | ||
| "example": "application" | ||
|
||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| { | ||
| "key": "nel.referrer", | ||
|
||
| "brief": "request's referrer, as determined by the referrer policy associated with its client.", | ||
| "type": "string", | ||
| "pii": { "key": "false" }, | ||
| "is_in_otel": false, | ||
| "example": "https://example.com/foo?bar=baz" | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| { | ||
| "key": "nel.sampling_function", | ||
| "brief": "The sampling function used to determine if the request should be sampled.", | ||
| "type": "float", | ||
armenzg marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| "pii": { "key": "false" }, | ||
| "is_in_otel": false, | ||
| "example": 0.5 | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| { | ||
| "key": "nel.type", | ||
| "brief": "If request failed, the type of its network error. If request succeeded, \"ok\".", | ||
| "type": "string", | ||
| "pii": { "key": "false" }, | ||
| "is_in_otel": false, | ||
| "example": "dns.unreachable" | ||
| } |
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.
Since it can now be used outside of the context of a span.