Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
346 changes: 342 additions & 4 deletions javascript/sentry-conventions/src/attributes.ts

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions model/attributes/browser/browser__web_vital__lcp__element.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "browser.web_vital.lcp.element",
"brief": "The HTML element selector or component name for which LCP was reported",
"type": "string",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"example": "body > div#app > div#container > div",
"alias": ["lcp.element"],
"sdks": ["javascript-browser"],
"changelog": [
{
"version": "next",
"prs": [233]
}
]
}
18 changes: 18 additions & 0 deletions model/attributes/browser/browser__web_vital__lcp__id.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "browser.web_vital.lcp.id",
"brief": "The id of the dom element responsible for the largest contentful paint",
"type": "string",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"example": "#gero",
"alias": ["lcp.id"],
"sdks": ["javascript-browser"],
"changelog": [
{
"version": "next",
"prs": [233]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "browser.web_vital.lcp.load_time",
"brief": "The time it took for the LCP element to be loaded",
"type": "integer",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"example": 1402,
"alias": ["lcp.loadTime"],
"sdks": ["javascript-browser"],
"changelog": [
{
"version": "next",
"prs": [233]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "browser.web_vital.lcp.render_time",
"brief": "The time it took for the LCP element to be rendered",
"type": "integer",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"example": 1685,
"alias": ["lcp.renderTime"],
"sdks": ["javascript-browser"],
"changelog": [
{
"version": "next",
"prs": [233]
}
]
}
18 changes: 18 additions & 0 deletions model/attributes/browser/browser__web_vital__lcp__size.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "browser.web_vital.lcp.size",
"brief": "The size of the largest contentful paint element",
"type": "integer",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"example": 1024,
"alias": ["lcp.size"],
"sdks": ["javascript-browser"],
"changelog": [
{
"version": "next",
"prs": [233]
}
]
}
18 changes: 18 additions & 0 deletions model/attributes/browser/browser__web_vital__lcp__url.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "browser.web_vital.lcp.url",
"brief": "The url of the dom element responsible for the largest contentful paint",
"type": "string",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"example": "https://example.com/static/img.png",
"alias": ["lcp.url"],
"sdks": ["javascript-browser"],
"changelog": [
{
"version": "next",
"prs": [233]
}
]
}
10 changes: 10 additions & 0 deletions model/attributes/lcp/lcp__element.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,17 @@
},
"is_in_otel": false,
"example": "img",
"deprecation": {
"replacement": "browser.web_vital.lcp.element",
"reason": "The LCP element is now recorded as a browser.web_vital.lcp.element attribute.",
"_status": "backfill"
},
"alias": ["browser.web_vital.lcp.element"],
"changelog": [
{
"version": "next",
"prs": [233]
},
{
"version": "0.1.0",
"prs": [127]
Expand Down
10 changes: 10 additions & 0 deletions model/attributes/lcp/lcp__id.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,17 @@
},
"is_in_otel": false,
"example": "#hero",
"deprecation": {
"replacement": "browser.web_vital.lcp.id",
"reason": "The LCP id is now recorded as a browser.web_vital.lcp.id attribute.",
"_status": "backfill"
},
"alias": ["browser.web_vital.lcp.id"],
"changelog": [
{
"version": "next",
"prs": [233]
},
{
"version": "0.1.0",
"prs": [127]
Expand Down
23 changes: 23 additions & 0 deletions model/attributes/lcp/lcp__loadTime.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"key": "lcp.loadTime",
"brief": "The time it took for the LCP element to be loaded",
"type": "integer",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"example": 1402,
"sdks": ["javascript-browser"],
"deprecation": {
"replacement": "browser.web_vital.lcp.load_time",
"reason": "The LCP load time is now recorded as a browser.web_vital.lcp.load_time attribute.",
"_status": "backfill"
},
"alias": ["browser.web_vital.lcp.load_time"],
"changelog": [
{
"version": "next",
"prs": [233]
}
]
}
23 changes: 23 additions & 0 deletions model/attributes/lcp/lcp__renderTime.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"key": "lcp.renderTime",
"brief": "The time it took for the LCP element to be rendered",
"type": "integer",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"example": 1685,
"sdks": ["javascript-browser"],
"deprecation": {
"replacement": "browser.web_vital.lcp.render_time",
"reason": "The LCP render time is now recorded as a browser.web_vital.lcp.render_time attribute.",
"_status": "backfill"
},
"alias": ["browser.web_vital.lcp.render_time"],
"changelog": [
{
"version": "next",
"prs": [233]
}
]
}
10 changes: 10 additions & 0 deletions model/attributes/lcp/lcp__size.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,17 @@
},
"is_in_otel": false,
"example": 1234,
"deprecation": {
"replacement": "browser.web_vital.lcp.size",
"reason": "The LCP size is now recorded as a browser.web_vital.lcp.size attribute.",
"_status": "backfill"
},
"alias": ["browser.web_vital.lcp.size"],
"changelog": [
{
"version": "next",
"prs": [233]
},
{
"version": "0.4.0",
"prs": [228]
Expand Down
10 changes: 10 additions & 0 deletions model/attributes/lcp/lcp__url.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,17 @@
},
"is_in_otel": false,
"example": "https://example.com",
"deprecation": {
"replacement": "browser.web_vital.lcp.url",
"reason": "The LCP url is now recorded as a browser.web_vital.lcp.url attribute.",
"_status": "backfill"
},
"alias": ["browser.web_vital.lcp.url"],
"changelog": [
{
"version": "next",
"prs": [233]
},
{
"version": "0.1.0",
"prs": [127]
Expand Down
Loading
Loading