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
497 changes: 492 additions & 5 deletions javascript/sentry-conventions/src/attributes.ts

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions model/attributes/app/app__vitals__frames__delay__value.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"key": "app.vitals.frames.delay.value",
"brief": "The sum of all delayed frame durations in seconds during the lifetime of the span. For more information see [frames delay](https://develop.sentry.dev/sdk/performance/frames-delay/).",
"type": "integer",
Comment thread
buenaflor marked this conversation as resolved.
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"alias": ["frames.delay"],
"sdks": ["sentry.cocoa", "sentry.java.android", "sentry.javascript.react-native", "sentry.dart.flutter"],
"example": 5,
"changelog": [
{
"version": "next",
"prs": [313],
"description": "Added app.vitals.frames.delay.value to replace frames.delay"
}
]
}
19 changes: 19 additions & 0 deletions model/attributes/app/app__vitals__frames__frozen__count.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"key": "app.vitals.frames.frozen.count",
"brief": "The number of frozen frames rendered during the lifetime of the span.",
"type": "integer",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"alias": ["frames.frozen"],
"sdks": ["sentry.cocoa", "sentry.java.android", "sentry.javascript.react-native", "sentry.dart.flutter"],
"example": 3,
"changelog": [
{
"version": "next",
"prs": [313],
"description": "Added app.vitals.frames.frozen.count to replace frames.frozen"
}
]
}
19 changes: 19 additions & 0 deletions model/attributes/app/app__vitals__frames__slow__count.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"key": "app.vitals.frames.slow.count",
"brief": "The number of slow frames rendered during the lifetime of the span.",
"type": "integer",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"alias": ["frames.slow"],
"sdks": ["sentry.cocoa", "sentry.java.android", "sentry.javascript.react-native", "sentry.dart.flutter"],
"example": 1,
"changelog": [
{
"version": "next",
"prs": [313],
"description": "Added app.vitals.frames.slow.count to replace frames.slow"
}
]
}
19 changes: 19 additions & 0 deletions model/attributes/app/app__vitals__frames__total__count.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"key": "app.vitals.frames.total.count",
"brief": "The number of total frames rendered during the lifetime of the span.",
"type": "integer",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"alias": ["frames.total"],
"sdks": ["sentry.cocoa", "sentry.java.android", "sentry.javascript.react-native", "sentry.dart.flutter"],
"example": 60,
"changelog": [
{
"version": "next",
"prs": [313],
"description": "Added app.vitals.frames.total.count to replace frames.total"
}
]
}
18 changes: 18 additions & 0 deletions model/attributes/app/app__vitals__start__cold__value.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "app.vitals.start.cold.value",
"brief": "The duration of a cold app start in milliseconds",
"type": "double",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"sdks": ["sentry.cocoa", "sentry.java.android", "sentry.javascript.react-native", "sentry.dart.flutter"],
"example": 1234.56,
"changelog": [
{
"version": "next",
"prs": [313],
"description": "Added app.vitals.start.cold.value attribute"
}
]
}
19 changes: 19 additions & 0 deletions model/attributes/app/app__vitals__start__type.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"key": "app.vitals.start.type",
"brief": "The type of app start, for example `cold` or `warm`",
"type": "string",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"alias": ["app_start_type"],
"sdks": ["sentry.cocoa", "sentry.java.android", "sentry.javascript.react-native", "sentry.dart.flutter"],
"example": "cold",
"changelog": [
{
"version": "next",
"prs": [313],
"description": "Added app.vitals.start.type attribute"
}
]
}
18 changes: 18 additions & 0 deletions model/attributes/app/app__vitals__start__warm__value.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "app.vitals.start.warm.value",
"brief": "The duration of a warm app start in milliseconds",
"type": "double",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"sdks": ["sentry.cocoa", "sentry.java.android", "sentry.javascript.react-native", "sentry.dart.flutter"],
"example": 1234.56,
"changelog": [
{
"version": "next",
"prs": [313],
"description": "Added app.vitals.start.warm.value attribute"
}
]
}
19 changes: 19 additions & 0 deletions model/attributes/app/app__vitals__ttfd__value.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"key": "app.vitals.ttfd.value",
"brief": "The duration of time to full display in milliseconds",
"type": "double",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"alias": ["time_to_full_display"],
"sdks": ["sentry.cocoa", "sentry.java.android", "sentry.javascript.react-native", "sentry.dart.flutter"],
"example": 1234.56,
"changelog": [
{
"version": "next",
"prs": [313],
"description": "Added app.vitals.ttfd.value attribute"
}
]
}
19 changes: 19 additions & 0 deletions model/attributes/app/app__vitals__ttid__value.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"key": "app.vitals.ttid.value",
"brief": "The duration of time to initial display in milliseconds",
"type": "double",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"alias": ["time_to_initial_display"],
"sdks": ["sentry.cocoa", "sentry.java.android", "sentry.javascript.react-native", "sentry.dart.flutter"],
"example": 1234.56,
"changelog": [
{
"version": "next",
"prs": [313],
"description": "Added app.vitals.ttid.value attribute"
}
]
}
11 changes: 11 additions & 0 deletions model/attributes/app_start_type.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,18 @@
},
"is_in_otel": false,
"example": "cold",
"alias": ["app.vitals.start.type"],
"deprecation": {
"replacement": "app.vitals.start.type",
"reason": "Replaced by app.vitals.start.type to align with the app.vitals.* namespace for mobile performance attributes",
"_status": "backfill"
},
"changelog": [
{
"version": "next",
"prs": [313],
"description": "Deprecated in favor of app.vitals.start.type"
},
{
"version": "0.1.0",
"prs": [127]
Expand Down
11 changes: 11 additions & 0 deletions model/attributes/frames/frames__delay.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,18 @@
},
"is_in_otel": false,
"example": 5,
"alias": ["app.vitals.frames.delay.value"],
"deprecation": {
"replacement": "app.vitals.frames.delay.value",
"reason": "Replaced by app.vitals.frames.delay.value to align with the app.vitals.* namespace for mobile performance attributes",
"_status": "backfill"
},
"changelog": [
{
"version": "next",
Comment thread
sentry[bot] marked this conversation as resolved.
"prs": [313],
"description": "Deprecated in favor of app.vitals.frames.delay.value"
},
{
"version": "0.4.0",
"prs": [228]
Expand Down
11 changes: 11 additions & 0 deletions model/attributes/frames/frames__frozen.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,18 @@
},
"is_in_otel": false,
"example": 3,
"alias": ["app.vitals.frames.frozen.count"],
"deprecation": {
"replacement": "app.vitals.frames.frozen.count",
"reason": "Replaced by app.vitals.frames.frozen.count to align with the app.vitals.* namespace for mobile performance attributes",
"_status": "backfill"
},
"changelog": [
{
"version": "next",
"prs": [313],
"description": "Deprecated in favor of app.vitals.frames.frozen.count"
},
{
"version": "0.4.0",
"prs": [228]
Expand Down
11 changes: 11 additions & 0 deletions model/attributes/frames/frames__slow.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,18 @@
},
"is_in_otel": false,
"example": 1,
"alias": ["app.vitals.frames.slow.count"],
"deprecation": {
"replacement": "app.vitals.frames.slow.count",
"reason": "Replaced by app.vitals.frames.slow.count to align with the app.vitals.* namespace for mobile performance attributes",
"_status": "backfill"
},
"changelog": [
{
"version": "next",
"prs": [313],
"description": "Deprecated in favor of app.vitals.frames.slow.count"
},
{
"version": "0.4.0",
"prs": [228]
Expand Down
11 changes: 11 additions & 0 deletions model/attributes/frames/frames__total.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,18 @@
},
"is_in_otel": false,
"example": 60,
"alias": ["app.vitals.frames.total.count"],
"deprecation": {
"replacement": "app.vitals.frames.total.count",
"reason": "Replaced by app.vitals.frames.total.count to align with the app.vitals.* namespace for mobile performance attributes",
"_status": "backfill"
},
"changelog": [
{
"version": "next",
"prs": [313],
"description": "Deprecated in favor of app.vitals.frames.total.count"
},
{
"version": "0.4.0",
"prs": [228]
Expand Down
24 changes: 24 additions & 0 deletions model/attributes/time_to_full_display.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"key": "time_to_full_display",
"brief": "The duration of time to full display in milliseconds",
"type": "double",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"example": 1234.56,
"sdks": ["sentry.cocoa", "sentry.java.android", "sentry.javascript.react-native", "sentry.dart.flutter"],
"alias": ["app.vitals.ttfd.value"],
"deprecation": {
"replacement": "app.vitals.ttfd.value",
"reason": "Replaced by app.vitals.ttfd.value to align with the app.vitals.* namespace for mobile performance attributes",
"_status": "backfill"
},
"changelog": [
{
"version": "next",
"prs": [313],
"description": "Added and deprecated in favor of app.vitals.ttfd.value"
}
]
}
24 changes: 24 additions & 0 deletions model/attributes/time_to_initial_display.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"key": "time_to_initial_display",
"brief": "The duration of time to initial display in milliseconds",
"type": "double",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"example": 1234.56,
"sdks": ["sentry.cocoa", "sentry.java.android", "sentry.javascript.react-native", "sentry.dart.flutter"],
"alias": ["app.vitals.ttid.value"],
"deprecation": {
"replacement": "app.vitals.ttid.value",
"reason": "Replaced by app.vitals.ttid.value to align with the app.vitals.* namespace for mobile performance attributes",
"_status": "backfill"
},
"changelog": [
{
"version": "next",
"prs": [313],
"description": "Added and deprecated in favor of app.vitals.ttid.value"
}
]
}
Loading
Loading