diff --git a/javascript/sentry-conventions/src/attributes.ts b/javascript/sentry-conventions/src/attributes.ts index 7a35f301..21436c8f 100644 --- a/javascript/sentry-conventions/src/attributes.ts +++ b/javascript/sentry-conventions/src/attributes.ts @@ -1364,6 +1364,237 @@ export const APP_VITALS_TTID_VALUE = 'app.vitals.ttid.value'; */ export type APP_VITALS_TTID_VALUE_TYPE = number; +// Path: model/attributes/art/art__gc__blocking_count.json + +/** + * Total number of blocking (stop-the-world) garbage collections performed by the Android Runtime `art.gc.blocking_count` + * + * Attribute Value Type: `number` {@link ART_GC_BLOCKING_COUNT_TYPE} + * + * Contains PII: false + * + * Attribute defined in OTEL: No + * Visibility: public + * + * @example 1 + */ +export const ART_GC_BLOCKING_COUNT = 'art.gc.blocking_count'; + +/** + * Type for {@link ART_GC_BLOCKING_COUNT} art.gc.blocking_count + */ +export type ART_GC_BLOCKING_COUNT_TYPE = number; + +// Path: model/attributes/art/art__gc__blocking_time.json + +/** + * Total time spent in blocking (stop-the-world) garbage collections by the Android Runtime, in milliseconds `art.gc.blocking_time` + * + * Attribute Value Type: `number` {@link ART_GC_BLOCKING_TIME_TYPE} + * + * Contains PII: false + * + * Attribute defined in OTEL: No + * Visibility: public + * + * @example 11.873 + */ +export const ART_GC_BLOCKING_TIME = 'art.gc.blocking_time'; + +/** + * Type for {@link ART_GC_BLOCKING_TIME} art.gc.blocking_time + */ +export type ART_GC_BLOCKING_TIME_TYPE = number; + +// Path: model/attributes/art/art__gc__pre_oome_count.json + +/** + * Total number of garbage collections triggered as a last resort before an OutOfMemoryError by the Android Runtime `art.gc.pre_oome_count` + * + * Attribute Value Type: `number` {@link ART_GC_PRE_OOME_COUNT_TYPE} + * + * Contains PII: false + * + * Attribute defined in OTEL: No + * Visibility: public + * + * @example 0 + */ +export const ART_GC_PRE_OOME_COUNT = 'art.gc.pre_oome_count'; + +/** + * Type for {@link ART_GC_PRE_OOME_COUNT} art.gc.pre_oome_count + */ +export type ART_GC_PRE_OOME_COUNT_TYPE = number; + +// Path: model/attributes/art/art__gc__total_count.json + +/** + * Total number of garbage collections performed by the Android Runtime `art.gc.total_count` + * + * Attribute Value Type: `number` {@link ART_GC_TOTAL_COUNT_TYPE} + * + * Contains PII: false + * + * Attribute defined in OTEL: No + * Visibility: public + * + * @example 1 + */ +export const ART_GC_TOTAL_COUNT = 'art.gc.total_count'; + +/** + * Type for {@link ART_GC_TOTAL_COUNT} art.gc.total_count + */ +export type ART_GC_TOTAL_COUNT_TYPE = number; + +// Path: model/attributes/art/art__gc__total_time.json + +/** + * Total time spent in garbage collection by the Android Runtime, in milliseconds `art.gc.total_time` + * + * Attribute Value Type: `number` {@link ART_GC_TOTAL_TIME_TYPE} + * + * Contains PII: false + * + * Attribute defined in OTEL: No + * Visibility: public + * + * @example 11.807 + */ +export const ART_GC_TOTAL_TIME = 'art.gc.total_time'; + +/** + * Type for {@link ART_GC_TOTAL_TIME} art.gc.total_time + */ +export type ART_GC_TOTAL_TIME_TYPE = number; + +// Path: model/attributes/art/art__gc__waiting_time.json + +/** + * Total time threads spent waiting for garbage collection to complete in the Android Runtime, in milliseconds `art.gc.waiting_time` + * + * Attribute Value Type: `number` {@link ART_GC_WAITING_TIME_TYPE} + * + * Contains PII: false + * + * Attribute defined in OTEL: No + * Visibility: public + * + * @example 8.054 + */ +export const ART_GC_WAITING_TIME = 'art.gc.waiting_time'; + +/** + * Type for {@link ART_GC_WAITING_TIME} art.gc.waiting_time + */ +export type ART_GC_WAITING_TIME_TYPE = number; + +// Path: model/attributes/art/art__memory__free.json + +/** + * Free memory available to the process as reported by the Android Runtime, in bytes `art.memory.free` + * + * Attribute Value Type: `number` {@link ART_MEMORY_FREE_TYPE} + * + * Contains PII: false + * + * Attribute defined in OTEL: No + * Visibility: public + * + * @example 3181568 + */ +export const ART_MEMORY_FREE = 'art.memory.free'; + +/** + * Type for {@link ART_MEMORY_FREE} art.memory.free + */ +export type ART_MEMORY_FREE_TYPE = number; + +// Path: model/attributes/art/art__memory__free_until_gc.json + +/** + * Free memory available before a garbage collection would be triggered by the Android Runtime, in bytes `art.memory.free_until_gc` + * + * Attribute Value Type: `number` {@link ART_MEMORY_FREE_UNTIL_GC_TYPE} + * + * Contains PII: false + * + * Attribute defined in OTEL: No + * Visibility: public + * + * @example 3181568 + */ +export const ART_MEMORY_FREE_UNTIL_GC = 'art.memory.free_until_gc'; + +/** + * Type for {@link ART_MEMORY_FREE_UNTIL_GC} art.memory.free_until_gc + */ +export type ART_MEMORY_FREE_UNTIL_GC_TYPE = number; + +// Path: model/attributes/art/art__memory__free_until_oome.json + +/** + * Free memory available before an OutOfMemoryError would be thrown by the Android Runtime, in bytes `art.memory.free_until_oome` + * + * Attribute Value Type: `number` {@link ART_MEMORY_FREE_UNTIL_OOME_TYPE} + * + * Contains PII: false + * + * Attribute defined in OTEL: No + * Visibility: public + * + * @example 196083712 + */ +export const ART_MEMORY_FREE_UNTIL_OOME = 'art.memory.free_until_oome'; + +/** + * Type for {@link ART_MEMORY_FREE_UNTIL_OOME} art.memory.free_until_oome + */ +export type ART_MEMORY_FREE_UNTIL_OOME_TYPE = number; + +// Path: model/attributes/art/art__memory__max.json + +/** + * Maximum memory the process is allowed to use as reported by the Android Runtime, in bytes `art.memory.max` + * + * Attribute Value Type: `number` {@link ART_MEMORY_MAX_TYPE} + * + * Contains PII: false + * + * Attribute defined in OTEL: No + * Visibility: public + * + * @example 201326592 + */ +export const ART_MEMORY_MAX = 'art.memory.max'; + +/** + * Type for {@link ART_MEMORY_MAX} art.memory.max + */ +export type ART_MEMORY_MAX_TYPE = number; + +// Path: model/attributes/art/art__memory__total.json + +/** + * Total memory currently allocated to the process by the Android Runtime, in bytes `art.memory.total` + * + * Attribute Value Type: `number` {@link ART_MEMORY_TOTAL_TYPE} + * + * Contains PII: false + * + * Attribute defined in OTEL: No + * Visibility: public + * + * @example 7774208 + */ +export const ART_MEMORY_TOTAL = 'art.memory.total'; + +/** + * Type for {@link ART_MEMORY_TOTAL} art.memory.total + */ +export type ART_MEMORY_TOTAL_TYPE = number; + // Path: model/attributes/aws/aws__cloudwatch__logs__log_group.json /** @@ -13634,6 +13865,17 @@ export const ATTRIBUTE_TYPE: Record = { [APP_VITALS_START_WARM_VALUE]: 'double', [APP_VITALS_TTFD_VALUE]: 'double', [APP_VITALS_TTID_VALUE]: 'double', + [ART_GC_BLOCKING_COUNT]: 'integer', + [ART_GC_BLOCKING_TIME]: 'double', + [ART_GC_PRE_OOME_COUNT]: 'integer', + [ART_GC_TOTAL_COUNT]: 'integer', + [ART_GC_TOTAL_TIME]: 'double', + [ART_GC_WAITING_TIME]: 'double', + [ART_MEMORY_FREE]: 'integer', + [ART_MEMORY_FREE_UNTIL_GC]: 'integer', + [ART_MEMORY_FREE_UNTIL_OOME]: 'integer', + [ART_MEMORY_MAX]: 'integer', + [ART_MEMORY_TOTAL]: 'integer', [AWS_CLOUDWATCH_LOGS_LOG_GROUP]: 'string', [AWS_CLOUDWATCH_LOGS_LOG_STREAM]: 'string', [AWS_CLOUDWATCH_LOGS_URL]: 'string', @@ -14253,6 +14495,17 @@ export type AttributeName = | typeof APP_VITALS_START_WARM_VALUE | typeof APP_VITALS_TTFD_VALUE | typeof APP_VITALS_TTID_VALUE + | typeof ART_GC_BLOCKING_COUNT + | typeof ART_GC_BLOCKING_TIME + | typeof ART_GC_PRE_OOME_COUNT + | typeof ART_GC_TOTAL_COUNT + | typeof ART_GC_TOTAL_TIME + | typeof ART_GC_WAITING_TIME + | typeof ART_MEMORY_FREE + | typeof ART_MEMORY_FREE_UNTIL_GC + | typeof ART_MEMORY_FREE_UNTIL_OOME + | typeof ART_MEMORY_MAX + | typeof ART_MEMORY_TOTAL | typeof AWS_CLOUDWATCH_LOGS_LOG_GROUP | typeof AWS_CLOUDWATCH_LOGS_LOG_STREAM | typeof AWS_CLOUDWATCH_LOGS_URL @@ -15761,6 +16014,140 @@ export const ATTRIBUTE_METADATA: Record = { sdks: ['sentry.cocoa', 'sentry.java.android', 'sentry.javascript.react-native', 'sentry.dart.flutter'], changelog: [{ version: '0.5.0', prs: [313], description: 'Added app.vitals.ttid.value attribute' }], }, + [ART_GC_BLOCKING_COUNT]: { + brief: 'Total number of blocking (stop-the-world) garbage collections performed by the Android Runtime', + type: 'integer', + pii: { + isPii: 'false', + }, + isInOtel: false, + visibility: 'public', + example: 1, + sdks: ['sentry.java.android'], + changelog: [{ version: 'next', prs: [382], description: 'Added art.gc.blocking_count attribute' }], + }, + [ART_GC_BLOCKING_TIME]: { + brief: 'Total time spent in blocking (stop-the-world) garbage collections by the Android Runtime, in milliseconds', + type: 'double', + pii: { + isPii: 'false', + }, + isInOtel: false, + visibility: 'public', + example: 11.873, + sdks: ['sentry.java.android'], + changelog: [{ version: 'next', prs: [382], description: 'Added art.gc.blocking_time attribute' }], + }, + [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: { + isPii: 'false', + }, + isInOtel: false, + visibility: 'public', + example: 0, + sdks: ['sentry.java.android'], + changelog: [{ version: 'next', prs: [382], description: 'Added art.gc.pre_oome_count attribute' }], + }, + [ART_GC_TOTAL_COUNT]: { + brief: 'Total number of garbage collections performed by the Android Runtime', + type: 'integer', + pii: { + isPii: 'false', + }, + isInOtel: false, + visibility: 'public', + example: 1, + sdks: ['sentry.java.android'], + changelog: [{ version: 'next', prs: [382], description: 'Added art.gc.total_count attribute' }], + }, + [ART_GC_TOTAL_TIME]: { + brief: 'Total time spent in garbage collection by the Android Runtime, in milliseconds', + type: 'double', + pii: { + isPii: 'false', + }, + isInOtel: false, + visibility: 'public', + example: 11.807, + sdks: ['sentry.java.android'], + changelog: [{ version: 'next', prs: [382], description: 'Added art.gc.total_time attribute' }], + }, + [ART_GC_WAITING_TIME]: { + brief: + 'Total time threads spent waiting for garbage collection to complete in the Android Runtime, in milliseconds', + type: 'double', + pii: { + isPii: 'false', + }, + isInOtel: false, + visibility: 'public', + example: 8.054, + sdks: ['sentry.java.android'], + changelog: [{ version: 'next', prs: [382], description: 'Added art.gc.waiting_time attribute' }], + }, + [ART_MEMORY_FREE]: { + brief: 'Free memory available to the process as reported by the Android Runtime, in bytes', + type: 'integer', + pii: { + isPii: 'false', + }, + isInOtel: false, + visibility: 'public', + example: 3181568, + sdks: ['sentry.java.android'], + changelog: [{ version: 'next', prs: [382], description: 'Added art.memory.free attribute' }], + }, + [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: { + isPii: 'false', + }, + isInOtel: false, + visibility: 'public', + example: 3181568, + sdks: ['sentry.java.android'], + changelog: [{ version: 'next', prs: [382], description: 'Added art.memory.free_until_gc attribute' }], + }, + [ART_MEMORY_FREE_UNTIL_OOME]: { + brief: 'Free memory available before an OutOfMemoryError would be thrown by the Android Runtime, in bytes', + type: 'integer', + pii: { + isPii: 'false', + }, + isInOtel: false, + visibility: 'public', + example: 196083712, + sdks: ['sentry.java.android'], + changelog: [{ version: 'next', prs: [382], description: 'Added art.memory.free_until_oome attribute' }], + }, + [ART_MEMORY_MAX]: { + brief: 'Maximum memory the process is allowed to use as reported by the Android Runtime, in bytes', + type: 'integer', + pii: { + isPii: 'false', + }, + isInOtel: false, + visibility: 'public', + example: 201326592, + sdks: ['sentry.java.android'], + changelog: [{ version: 'next', prs: [382], description: 'Added art.memory.max attribute' }], + }, + [ART_MEMORY_TOTAL]: { + brief: 'Total memory currently allocated to the process by the Android Runtime, in bytes', + type: 'integer', + pii: { + isPii: 'false', + }, + isInOtel: false, + visibility: 'public', + example: 7774208, + sdks: ['sentry.java.android'], + changelog: [{ version: 'next', prs: [382], description: 'Added art.memory.total attribute' }], + }, [AWS_CLOUDWATCH_LOGS_LOG_GROUP]: { brief: 'The name of the CloudWatch Logs log group', type: 'string', @@ -23059,6 +23446,17 @@ export type Attributes = { [APP_VITALS_START_WARM_VALUE]?: APP_VITALS_START_WARM_VALUE_TYPE; [APP_VITALS_TTFD_VALUE]?: APP_VITALS_TTFD_VALUE_TYPE; [APP_VITALS_TTID_VALUE]?: APP_VITALS_TTID_VALUE_TYPE; + [ART_GC_BLOCKING_COUNT]?: ART_GC_BLOCKING_COUNT_TYPE; + [ART_GC_BLOCKING_TIME]?: ART_GC_BLOCKING_TIME_TYPE; + [ART_GC_PRE_OOME_COUNT]?: ART_GC_PRE_OOME_COUNT_TYPE; + [ART_GC_TOTAL_COUNT]?: ART_GC_TOTAL_COUNT_TYPE; + [ART_GC_TOTAL_TIME]?: ART_GC_TOTAL_TIME_TYPE; + [ART_GC_WAITING_TIME]?: ART_GC_WAITING_TIME_TYPE; + [ART_MEMORY_FREE]?: ART_MEMORY_FREE_TYPE; + [ART_MEMORY_FREE_UNTIL_GC]?: ART_MEMORY_FREE_UNTIL_GC_TYPE; + [ART_MEMORY_FREE_UNTIL_OOME]?: ART_MEMORY_FREE_UNTIL_OOME_TYPE; + [ART_MEMORY_MAX]?: ART_MEMORY_MAX_TYPE; + [ART_MEMORY_TOTAL]?: ART_MEMORY_TOTAL_TYPE; [AWS_CLOUDWATCH_LOGS_LOG_GROUP]?: AWS_CLOUDWATCH_LOGS_LOG_GROUP_TYPE; [AWS_CLOUDWATCH_LOGS_LOG_STREAM]?: AWS_CLOUDWATCH_LOGS_LOG_STREAM_TYPE; [AWS_CLOUDWATCH_LOGS_URL]?: AWS_CLOUDWATCH_LOGS_URL_TYPE; diff --git a/model/attributes/art/art__gc__blocking_count.json b/model/attributes/art/art__gc__blocking_count.json new file mode 100644 index 00000000..837251c6 --- /dev/null +++ b/model/attributes/art/art__gc__blocking_count.json @@ -0,0 +1,19 @@ +{ + "key": "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, + "visibility": "public", + "example": 1, + "sdks": ["sentry.java.android"], + "changelog": [ + { + "version": "next", + "prs": [382], + "description": "Added art.gc.blocking_count attribute" + } + ] +} diff --git a/model/attributes/art/art__gc__blocking_time.json b/model/attributes/art/art__gc__blocking_time.json new file mode 100644 index 00000000..14240800 --- /dev/null +++ b/model/attributes/art/art__gc__blocking_time.json @@ -0,0 +1,19 @@ +{ + "key": "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, + "visibility": "public", + "example": 11.873, + "sdks": ["sentry.java.android"], + "changelog": [ + { + "version": "next", + "prs": [382], + "description": "Added art.gc.blocking_time attribute" + } + ] +} diff --git a/model/attributes/art/art__gc__pre_oome_count.json b/model/attributes/art/art__gc__pre_oome_count.json new file mode 100644 index 00000000..b71c9876 --- /dev/null +++ b/model/attributes/art/art__gc__pre_oome_count.json @@ -0,0 +1,19 @@ +{ + "key": "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, + "visibility": "public", + "example": 0, + "sdks": ["sentry.java.android"], + "changelog": [ + { + "version": "next", + "prs": [382], + "description": "Added art.gc.pre_oome_count attribute" + } + ] +} diff --git a/model/attributes/art/art__gc__total_count.json b/model/attributes/art/art__gc__total_count.json new file mode 100644 index 00000000..a0aa000e --- /dev/null +++ b/model/attributes/art/art__gc__total_count.json @@ -0,0 +1,19 @@ +{ + "key": "art.gc.total_count", + "brief": "Total number of garbage collections performed by the Android Runtime", + "type": "integer", + "pii": { + "key": "false" + }, + "is_in_otel": false, + "visibility": "public", + "example": 1, + "sdks": ["sentry.java.android"], + "changelog": [ + { + "version": "next", + "prs": [382], + "description": "Added art.gc.total_count attribute" + } + ] +} diff --git a/model/attributes/art/art__gc__total_time.json b/model/attributes/art/art__gc__total_time.json new file mode 100644 index 00000000..e2619f02 --- /dev/null +++ b/model/attributes/art/art__gc__total_time.json @@ -0,0 +1,19 @@ +{ + "key": "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, + "visibility": "public", + "example": 11.807, + "sdks": ["sentry.java.android"], + "changelog": [ + { + "version": "next", + "prs": [382], + "description": "Added art.gc.total_time attribute" + } + ] +} diff --git a/model/attributes/art/art__gc__waiting_time.json b/model/attributes/art/art__gc__waiting_time.json new file mode 100644 index 00000000..6ad5e0fa --- /dev/null +++ b/model/attributes/art/art__gc__waiting_time.json @@ -0,0 +1,19 @@ +{ + "key": "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, + "visibility": "public", + "example": 8.054, + "sdks": ["sentry.java.android"], + "changelog": [ + { + "version": "next", + "prs": [382], + "description": "Added art.gc.waiting_time attribute" + } + ] +} diff --git a/model/attributes/art/art__memory__free.json b/model/attributes/art/art__memory__free.json new file mode 100644 index 00000000..c169dc86 --- /dev/null +++ b/model/attributes/art/art__memory__free.json @@ -0,0 +1,19 @@ +{ + "key": "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, + "visibility": "public", + "example": 3181568, + "sdks": ["sentry.java.android"], + "changelog": [ + { + "version": "next", + "prs": [382], + "description": "Added art.memory.free attribute" + } + ] +} diff --git a/model/attributes/art/art__memory__free_until_gc.json b/model/attributes/art/art__memory__free_until_gc.json new file mode 100644 index 00000000..4299abab --- /dev/null +++ b/model/attributes/art/art__memory__free_until_gc.json @@ -0,0 +1,19 @@ +{ + "key": "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, + "visibility": "public", + "example": 3181568, + "sdks": ["sentry.java.android"], + "changelog": [ + { + "version": "next", + "prs": [382], + "description": "Added art.memory.free_until_gc attribute" + } + ] +} diff --git a/model/attributes/art/art__memory__free_until_oome.json b/model/attributes/art/art__memory__free_until_oome.json new file mode 100644 index 00000000..a56b945a --- /dev/null +++ b/model/attributes/art/art__memory__free_until_oome.json @@ -0,0 +1,19 @@ +{ + "key": "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, + "visibility": "public", + "example": 196083712, + "sdks": ["sentry.java.android"], + "changelog": [ + { + "version": "next", + "prs": [382], + "description": "Added art.memory.free_until_oome attribute" + } + ] +} diff --git a/model/attributes/art/art__memory__max.json b/model/attributes/art/art__memory__max.json new file mode 100644 index 00000000..4091e287 --- /dev/null +++ b/model/attributes/art/art__memory__max.json @@ -0,0 +1,19 @@ +{ + "key": "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, + "visibility": "public", + "example": 201326592, + "sdks": ["sentry.java.android"], + "changelog": [ + { + "version": "next", + "prs": [382], + "description": "Added art.memory.max attribute" + } + ] +} diff --git a/model/attributes/art/art__memory__total.json b/model/attributes/art/art__memory__total.json new file mode 100644 index 00000000..7363bd03 --- /dev/null +++ b/model/attributes/art/art__memory__total.json @@ -0,0 +1,19 @@ +{ + "key": "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, + "visibility": "public", + "example": 7774208, + "sdks": ["sentry.java.android"], + "changelog": [ + { + "version": "next", + "prs": [382], + "description": "Added art.memory.total attribute" + } + ] +} diff --git a/python/src/sentry_conventions/attributes.py b/python/src/sentry_conventions/attributes.py index d614534d..848b015d 100644 --- a/python/src/sentry_conventions/attributes.py +++ b/python/src/sentry_conventions/attributes.py @@ -1025,6 +1025,131 @@ class ATTRIBUTE_NAMES(metaclass=_AttributeNamesMeta): Example: 1234.56 """ + # Path: model/attributes/art/art__gc__blocking_count.json + ART_GC_BLOCKING_COUNT: Literal["art.gc.blocking_count"] = "art.gc.blocking_count" + """Total number of blocking (stop-the-world) garbage collections performed by the Android Runtime + + Type: int + Contains PII: false + Defined in OTEL: No + Visibility: public + Example: 1 + """ + + # Path: model/attributes/art/art__gc__blocking_time.json + ART_GC_BLOCKING_TIME: Literal["art.gc.blocking_time"] = "art.gc.blocking_time" + """Total time spent in blocking (stop-the-world) garbage collections by the Android Runtime, in milliseconds + + Type: float + Contains PII: false + Defined in OTEL: No + Visibility: public + Example: 11.873 + """ + + # Path: model/attributes/art/art__gc__pre_oome_count.json + ART_GC_PRE_OOME_COUNT: Literal["art.gc.pre_oome_count"] = "art.gc.pre_oome_count" + """Total number of garbage collections triggered as a last resort before an OutOfMemoryError by the Android Runtime + + Type: int + Contains PII: false + Defined in OTEL: No + Visibility: public + Example: 0 + """ + + # Path: model/attributes/art/art__gc__total_count.json + ART_GC_TOTAL_COUNT: Literal["art.gc.total_count"] = "art.gc.total_count" + """Total number of garbage collections performed by the Android Runtime + + Type: int + Contains PII: false + Defined in OTEL: No + Visibility: public + Example: 1 + """ + + # Path: model/attributes/art/art__gc__total_time.json + ART_GC_TOTAL_TIME: Literal["art.gc.total_time"] = "art.gc.total_time" + """Total time spent in garbage collection by the Android Runtime, in milliseconds + + Type: float + Contains PII: false + Defined in OTEL: No + Visibility: public + Example: 11.807 + """ + + # Path: model/attributes/art/art__gc__waiting_time.json + ART_GC_WAITING_TIME: Literal["art.gc.waiting_time"] = "art.gc.waiting_time" + """Total time threads spent waiting for garbage collection to complete in the Android Runtime, in milliseconds + + Type: float + Contains PII: false + Defined in OTEL: No + Visibility: public + Example: 8.054 + """ + + # Path: model/attributes/art/art__memory__free.json + ART_MEMORY_FREE: Literal["art.memory.free"] = "art.memory.free" + """Free memory available to the process as reported by the Android Runtime, in bytes + + Type: int + Contains PII: false + Defined in OTEL: No + Visibility: public + Example: 3181568 + """ + + # Path: model/attributes/art/art__memory__free_until_gc.json + ART_MEMORY_FREE_UNTIL_GC: Literal["art.memory.free_until_gc"] = ( + "art.memory.free_until_gc" + ) + """Free memory available before a garbage collection would be triggered by the Android Runtime, in bytes + + Type: int + Contains PII: false + Defined in OTEL: No + Visibility: public + Example: 3181568 + """ + + # Path: model/attributes/art/art__memory__free_until_oome.json + ART_MEMORY_FREE_UNTIL_OOME: Literal["art.memory.free_until_oome"] = ( + "art.memory.free_until_oome" + ) + """Free memory available before an OutOfMemoryError would be thrown by the Android Runtime, in bytes + + Type: int + Contains PII: false + Defined in OTEL: No + Visibility: public + Example: 196083712 + """ + + # Path: model/attributes/art/art__memory__max.json + ART_MEMORY_MAX: Literal["art.memory.max"] = "art.memory.max" + """Maximum memory the process is allowed to use as reported by the Android Runtime, in bytes + + Type: int + Contains PII: false + Defined in OTEL: No + Visibility: public + Example: 201326592 + """ + + # Path: model/attributes/art/art__memory__total.json + ART_MEMORY_TOTAL: Literal["art.memory.total"] = "art.memory.total" + """Total memory currently allocated to the process by the Android Runtime, in bytes + + Type: int + Contains PII: false + Defined in OTEL: No + Visibility: public + Example: 7774208 + """ + # Path: model/attributes/aws/aws__cloudwatch__logs__log_group.json AWS_CLOUDWATCH_LOGS_LOG_GROUP: Literal["aws.cloudwatch.logs.log_group"] = ( "aws.cloudwatch.logs.log_group" @@ -8866,6 +8991,178 @@ class ATTRIBUTE_NAMES(metaclass=_AttributeNamesMeta): ), ], ), + "art.gc.blocking_count": AttributeMetadata( + brief="Total number of blocking (stop-the-world) garbage collections performed by the Android Runtime", + type=AttributeType.INTEGER, + pii=PiiInfo(isPii=IsPii.FALSE), + is_in_otel=False, + visibility=Visibility.PUBLIC, + example=1, + sdks=["sentry.java.android"], + changelog=[ + ChangelogEntry( + version="next", + prs=[382], + description="Added art.gc.blocking_count attribute", + ), + ], + ), + "art.gc.blocking_time": AttributeMetadata( + brief="Total time spent in blocking (stop-the-world) garbage collections by the Android Runtime, in milliseconds", + type=AttributeType.DOUBLE, + pii=PiiInfo(isPii=IsPii.FALSE), + is_in_otel=False, + visibility=Visibility.PUBLIC, + example=11.873, + sdks=["sentry.java.android"], + changelog=[ + ChangelogEntry( + version="next", + prs=[382], + description="Added art.gc.blocking_time attribute", + ), + ], + ), + "art.gc.pre_oome_count": AttributeMetadata( + brief="Total number of garbage collections triggered as a last resort before an OutOfMemoryError by the Android Runtime", + type=AttributeType.INTEGER, + pii=PiiInfo(isPii=IsPii.FALSE), + is_in_otel=False, + visibility=Visibility.PUBLIC, + example=0, + sdks=["sentry.java.android"], + changelog=[ + ChangelogEntry( + version="next", + prs=[382], + description="Added art.gc.pre_oome_count attribute", + ), + ], + ), + "art.gc.total_count": AttributeMetadata( + brief="Total number of garbage collections performed by the Android Runtime", + type=AttributeType.INTEGER, + pii=PiiInfo(isPii=IsPii.FALSE), + is_in_otel=False, + visibility=Visibility.PUBLIC, + example=1, + sdks=["sentry.java.android"], + changelog=[ + ChangelogEntry( + version="next", + prs=[382], + description="Added art.gc.total_count attribute", + ), + ], + ), + "art.gc.total_time": AttributeMetadata( + brief="Total time spent in garbage collection by the Android Runtime, in milliseconds", + type=AttributeType.DOUBLE, + pii=PiiInfo(isPii=IsPii.FALSE), + is_in_otel=False, + visibility=Visibility.PUBLIC, + example=11.807, + sdks=["sentry.java.android"], + changelog=[ + ChangelogEntry( + version="next", + prs=[382], + description="Added art.gc.total_time attribute", + ), + ], + ), + "art.gc.waiting_time": AttributeMetadata( + brief="Total time threads spent waiting for garbage collection to complete in the Android Runtime, in milliseconds", + type=AttributeType.DOUBLE, + pii=PiiInfo(isPii=IsPii.FALSE), + is_in_otel=False, + visibility=Visibility.PUBLIC, + example=8.054, + sdks=["sentry.java.android"], + changelog=[ + ChangelogEntry( + version="next", + prs=[382], + description="Added art.gc.waiting_time attribute", + ), + ], + ), + "art.memory.free": AttributeMetadata( + brief="Free memory available to the process as reported by the Android Runtime, in bytes", + type=AttributeType.INTEGER, + pii=PiiInfo(isPii=IsPii.FALSE), + is_in_otel=False, + visibility=Visibility.PUBLIC, + example=3181568, + sdks=["sentry.java.android"], + changelog=[ + ChangelogEntry( + version="next", prs=[382], description="Added art.memory.free attribute" + ), + ], + ), + "art.memory.free_until_gc": AttributeMetadata( + brief="Free memory available before a garbage collection would be triggered by the Android Runtime, in bytes", + type=AttributeType.INTEGER, + pii=PiiInfo(isPii=IsPii.FALSE), + is_in_otel=False, + visibility=Visibility.PUBLIC, + example=3181568, + sdks=["sentry.java.android"], + changelog=[ + ChangelogEntry( + version="next", + prs=[382], + description="Added art.memory.free_until_gc attribute", + ), + ], + ), + "art.memory.free_until_oome": AttributeMetadata( + brief="Free memory available before an OutOfMemoryError would be thrown by the Android Runtime, in bytes", + type=AttributeType.INTEGER, + pii=PiiInfo(isPii=IsPii.FALSE), + is_in_otel=False, + visibility=Visibility.PUBLIC, + example=196083712, + sdks=["sentry.java.android"], + changelog=[ + ChangelogEntry( + version="next", + prs=[382], + description="Added art.memory.free_until_oome attribute", + ), + ], + ), + "art.memory.max": AttributeMetadata( + brief="Maximum memory the process is allowed to use as reported by the Android Runtime, in bytes", + type=AttributeType.INTEGER, + pii=PiiInfo(isPii=IsPii.FALSE), + is_in_otel=False, + visibility=Visibility.PUBLIC, + example=201326592, + sdks=["sentry.java.android"], + changelog=[ + ChangelogEntry( + version="next", prs=[382], description="Added art.memory.max attribute" + ), + ], + ), + "art.memory.total": AttributeMetadata( + brief="Total memory currently allocated to the process by the Android Runtime, in bytes", + type=AttributeType.INTEGER, + pii=PiiInfo(isPii=IsPii.FALSE), + is_in_otel=False, + visibility=Visibility.PUBLIC, + example=7774208, + sdks=["sentry.java.android"], + changelog=[ + ChangelogEntry( + version="next", + prs=[382], + description="Added art.memory.total attribute", + ), + ], + ), "aws.cloudwatch.logs.log_group": AttributeMetadata( brief="The name of the CloudWatch Logs log group", type=AttributeType.STRING, @@ -16529,6 +16826,17 @@ class ATTRIBUTE_NAMES(metaclass=_AttributeNamesMeta): "app_start_cold": float, "app_start_type": str, "app_start_warm": float, + "art.gc.blocking_count": int, + "art.gc.blocking_time": float, + "art.gc.pre_oome_count": int, + "art.gc.total_count": int, + "art.gc.total_time": float, + "art.gc.waiting_time": float, + "art.memory.free": int, + "art.memory.free_until_gc": int, + "art.memory.free_until_oome": int, + "art.memory.max": int, + "art.memory.total": int, "aws.cloudwatch.logs.log_group": str, "aws.cloudwatch.logs.log_stream": str, "aws.cloudwatch.logs.url": str,