Skip to content
Draft
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
366 changes: 357 additions & 9 deletions javascript/sentry-conventions/src/attributes.ts

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions model/attributes/app/app__frames__delay__value.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"key": "app.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",
"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.frames.delay.value to replace frames.delay"
}
]
}
19 changes: 19 additions & 0 deletions model/attributes/app/app__frames__frozen__count.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"key": "app.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.frames.frozen.count to replace frames.frozen"
}
]
}
19 changes: 19 additions & 0 deletions model/attributes/app/app__frames__slow__count.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"key": "app.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.frames.slow.count to replace frames.slow"
}
]
}
19 changes: 19 additions & 0 deletions model/attributes/app/app__frames__total__count.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"key": "app.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.frames.total.count to replace frames.total"
}
]
}
19 changes: 19 additions & 0 deletions model/attributes/app/app__start__type.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"key": "app.start.type",
"brief": "The type of app start",
"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.start.type attribute"
}
]
}
18 changes: 18 additions & 0 deletions model/attributes/app/app__start__value.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "app.start.value",
"brief": "The duration of the 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.start.value attribute"
}
]
}
18 changes: 18 additions & 0 deletions model/attributes/app/app__ttfd__value.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "app.ttfd.value",
"brief": "The duration of time to full display 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.ttfd.value attribute"
}
]
}
18 changes: 18 additions & 0 deletions model/attributes/app/app__ttid__value.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "app.ttid.value",
"brief": "The duration of time to initial display 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.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.start.type"],
"deprecation": {
"replacement": "app.start.type",
"reason": "Old namespace-less attribute, to be replaced with app.start.type",
"_status": "backfill"
},
"changelog": [
{
"version": "next",
"prs": [313],
"description": "Deprecated in favor of app.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.frames.delay.value"],
"deprecation": {
"replacement": "app.frames.delay.value",
"reason": "Old namespace-less attribute, to be replaced with app.frames.delay.value",
"_status": "backfill"
},
"changelog": [
{
"version": "next",
"prs": [313],
"description": "Deprecated in favor of app.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.frames.frozen.count"],
"deprecation": {
"replacement": "app.frames.frozen.count",
"reason": "Old namespace-less attribute, to be replaced with app.frames.frozen.count",
"_status": "backfill"
},
"changelog": [
{
"version": "next",
"prs": [313],
"description": "Deprecated in favor of app.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.frames.slow.count"],
"deprecation": {
"replacement": "app.frames.slow.count",
"reason": "Old namespace-less attribute, to be replaced with app.frames.slow.count",
"_status": "backfill"
},
"changelog": [
{
"version": "next",
"prs": [313],
"description": "Deprecated in favor of app.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.frames.total.count"],
"deprecation": {
"replacement": "app.frames.total.count",
"reason": "Old namespace-less attribute, to be replaced with app.frames.total.count",
"_status": "backfill"
},
"changelog": [
{
"version": "next",
"prs": [313],
"description": "Deprecated in favor of app.frames.total.count"
},
{
"version": "0.4.0",
"prs": [228]
Expand Down
Loading
Loading