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

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions model/attributes/runtime/runtime__art__gc__blocking_count.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "runtime.art.gc.blocking_count",
"brief": "Total number of blocking (stop-the-world) garbage collections performed by the Android Runtime",
"type": "integer",
"pii": {
"key": "false"
},
"is_in_otel": false,
"example": 1,
"sdks": ["sentry.java.android"],
"changelog": [
{
"version": "next",
"prs": [384],
"description": "Added runtime.art.gc.blocking_count attribute"
}
]
}
18 changes: 18 additions & 0 deletions model/attributes/runtime/runtime__art__gc__blocking_time.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "runtime.art.gc.blocking_time",
"brief": "Total time spent in blocking (stop-the-world) garbage collections by the Android Runtime, in milliseconds",
"type": "double",
"pii": {
"key": "false"
},
"is_in_otel": false,
"example": 11.873,
"sdks": ["sentry.java.android"],
"changelog": [
{
"version": "next",
"prs": [384],
"description": "Added runtime.art.gc.blocking_time attribute"
}
]
}
18 changes: 18 additions & 0 deletions model/attributes/runtime/runtime__art__gc__pre_oome_count.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "runtime.art.gc.pre_oome_count",
"brief": "Total number of garbage collections triggered as a last resort before an OutOfMemoryError by the Android Runtime",
"type": "integer",
"pii": {
"key": "false"
},
"is_in_otel": false,
"example": 0,
"sdks": ["sentry.java.android"],
"changelog": [
{
"version": "next",
"prs": [384],
"description": "Added runtime.art.gc.pre_oome_count attribute"
}
]
}
18 changes: 18 additions & 0 deletions model/attributes/runtime/runtime__art__gc__total_count.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "runtime.art.gc.total_count",
"brief": "Total number of garbage collections performed by the Android Runtime",
"type": "integer",
"pii": {
"key": "false"
},
"is_in_otel": false,
"example": 1,
"sdks": ["sentry.java.android"],
"changelog": [
{
"version": "next",
"prs": [384],
"description": "Added runtime.art.gc.total_count attribute"
}
]
}
18 changes: 18 additions & 0 deletions model/attributes/runtime/runtime__art__gc__total_time.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "runtime.art.gc.total_time",
"brief": "Total time spent in garbage collection by the Android Runtime, in milliseconds",
"type": "double",
"pii": {
"key": "false"
},
"is_in_otel": false,
"example": 11.807,
"sdks": ["sentry.java.android"],
"changelog": [
{
"version": "next",
"prs": [384],
"description": "Added runtime.art.gc.total_time attribute"
}
]
}
18 changes: 18 additions & 0 deletions model/attributes/runtime/runtime__art__gc__waiting_time.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "runtime.art.gc.waiting_time",
"brief": "Total time threads spent waiting for garbage collection to complete in the Android Runtime, in milliseconds",
"type": "double",
"pii": {
"key": "false"
},
"is_in_otel": false,
"example": 8.054,
"sdks": ["sentry.java.android"],
"changelog": [
{
"version": "next",
"prs": [384],
"description": "Added runtime.art.gc.waiting_time attribute"
}
]
}
18 changes: 18 additions & 0 deletions model/attributes/runtime/runtime__art__memory__free.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "runtime.art.memory.free",
"brief": "Free memory available to the process as reported by the Android Runtime, in bytes",
"type": "integer",
"pii": {
"key": "false"
},
"is_in_otel": false,
"example": 3181568,
"sdks": ["sentry.java.android"],
"changelog": [
{
"version": "next",
"prs": [384],
"description": "Added runtime.art.memory.free attribute"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "runtime.art.memory.free_until_gc",
"brief": "Free memory available before a garbage collection would be triggered by the Android Runtime, in bytes",
"type": "integer",
"pii": {
"key": "false"
},
"is_in_otel": false,
"example": 3181568,
"sdks": ["sentry.java.android"],
"changelog": [
{
"version": "next",
"prs": [384],
"description": "Added runtime.art.memory.free_until_gc attribute"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "runtime.art.memory.free_until_oome",
"brief": "Free memory available before an OutOfMemoryError would be thrown by the Android Runtime, in bytes",
"type": "integer",
"pii": {
"key": "false"
},
"is_in_otel": false,
"example": 196083712,
"sdks": ["sentry.java.android"],
"changelog": [
{
"version": "next",
"prs": [384],
"description": "Added runtime.art.memory.free_until_oome attribute"
}
]
}
18 changes: 18 additions & 0 deletions model/attributes/runtime/runtime__art__memory__max.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "runtime.art.memory.max",
"brief": "Maximum memory the process is allowed to use as reported by the Android Runtime, in bytes",
"type": "integer",
"pii": {
"key": "false"
},
"is_in_otel": false,
"example": 201326592,
"sdks": ["sentry.java.android"],
"changelog": [
{
"version": "next",
"prs": [384],
"description": "Added runtime.art.memory.max attribute"
}
]
}
18 changes: 18 additions & 0 deletions model/attributes/runtime/runtime__art__memory__total.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "runtime.art.memory.total",
"brief": "Total memory currently allocated to the process by the Android Runtime, in bytes",
"type": "integer",
"pii": {
"key": "false"
},
"is_in_otel": false,
"example": 7774208,
"sdks": ["sentry.java.android"],
"changelog": [
{
"version": "next",
"prs": [384],
"description": "Added runtime.art.memory.total attribute"
}
]
}
17 changes: 17 additions & 0 deletions model/attributes/runtime/runtime__build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"key": "runtime.build",
"brief": "The application build string, when it is separate from the version.",
"type": "string",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"example": "stable",
"changelog": [
{
"version": "next",
"prs": [383],
"description": "Added runtime.build attribute"
}
]
}
17 changes: 17 additions & 0 deletions model/attributes/runtime/runtime__name.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"key": "runtime.name",
"brief": "The name of the runtime. For example node, CPython, or rustc.",
"type": "string",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"example": "node",
"changelog": [
{
"version": "next",
"prs": [383],
"description": "Added runtime.name attribute"
}
]
}
17 changes: 17 additions & 0 deletions model/attributes/runtime/runtime__raw_description.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"key": "runtime.raw_description",
"brief": "Unprocessed description string as obtained from the runtime. Used to extract name and version for well-known runtimes.",
"type": "string",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"example": "Eclipse OpenJ9 VM openj9-0.21.0",
"changelog": [
{
"version": "next",
"prs": [383],
"description": "Added runtime.raw_description attribute"
}
]
}
17 changes: 17 additions & 0 deletions model/attributes/runtime/runtime__version.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"key": "runtime.version",
"brief": "The version of the runtime.",
"type": "string",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"example": "18.04.2",
"changelog": [
{
"version": "next",
"prs": [383],
"description": "Added runtime.version attribute"
}
]
}
Loading
Loading