Skip to content
Closed
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
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -149,4 +149,5 @@ dist
# Playwright MCP temporary files
.playwright-mcp/

.DS_Store
.DS_Store
.claude/projects/
33 changes: 33 additions & 0 deletions javascript/sentry-conventions/src/attributes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8677,6 +8677,26 @@ export const PROCESS_RUNTIME_VERSION = 'process.runtime.version';
*/
export type PROCESS_RUNTIME_VERSION_TYPE = string;

// Path: model/attributes/profile/profile__start_timestamp.json

/**
* The timestamp when the profile started `profile.start_timestamp`
*
* Attribute Value Type: `number` {@link PROFILE_START_TIMESTAMP_TYPE}
*
* Contains PII: maybe
*
* Attribute defined in OTEL: No
*
* @example 1700000000.123
*/
export const PROFILE_START_TIMESTAMP = 'profile.start_timestamp';

/**
* Type for {@link PROFILE_START_TIMESTAMP} profile.start_timestamp
*/
export type PROFILE_START_TIMESTAMP_TYPE = number;

// Path: model/attributes/query/query__[key].json

/**
Expand Down Expand Up @@ -12366,6 +12386,7 @@ export const ATTRIBUTE_TYPE: Record<string, AttributeType> = {
[PROCESS_RUNTIME_ENGINE_VERSION]: 'string',
[PROCESS_RUNTIME_NAME]: 'string',
[PROCESS_RUNTIME_VERSION]: 'string',
[PROFILE_START_TIMESTAMP]: 'double',
[QUERY_KEY]: 'string',
[RELEASE]: 'string',
[REMIX_ACTION_FORM_DATA_KEY]: 'string',
Expand Down Expand Up @@ -12936,6 +12957,7 @@ export type AttributeName =
| typeof PROCESS_RUNTIME_ENGINE_VERSION
| typeof PROCESS_RUNTIME_NAME
| typeof PROCESS_RUNTIME_VERSION
| typeof PROFILE_START_TIMESTAMP
| typeof QUERY_KEY
| typeof RELEASE
| typeof REMIX_ACTION_FORM_DATA_KEY
Expand Down Expand Up @@ -18315,6 +18337,16 @@ export const ATTRIBUTE_METADATA: Record<AttributeName, AttributeMetadata> = {
example: '18.04.2',
changelog: [{ version: '0.1.0', prs: [127] }, { version: '0.0.0' }],
},
[PROFILE_START_TIMESTAMP]: {
brief: 'The timestamp when the profile started',
type: 'double',
pii: {
isPii: 'maybe',
},
isInOtel: false,
example: 1700000000.123,
changelog: [{ version: 'next', prs: [363], description: 'Added profile.start_timestamp attribute' }],
},
[QUERY_KEY]: {
brief: 'An item in a query string. Usually added by client-side routing frameworks like vue-router.',
type: 'string',
Expand Down Expand Up @@ -20482,6 +20514,7 @@ export type Attributes = {
[PROCESS_RUNTIME_ENGINE_VERSION]?: PROCESS_RUNTIME_ENGINE_VERSION_TYPE;
[PROCESS_RUNTIME_NAME]?: PROCESS_RUNTIME_NAME_TYPE;
[PROCESS_RUNTIME_VERSION]?: PROCESS_RUNTIME_VERSION_TYPE;
[PROFILE_START_TIMESTAMP]?: PROFILE_START_TIMESTAMP_TYPE;
[QUERY_KEY]?: QUERY_KEY_TYPE;
[RELEASE]?: RELEASE_TYPE;
[REMIX_ACTION_FORM_DATA_KEY]?: REMIX_ACTION_FORM_DATA_KEY_TYPE;
Expand Down
17 changes: 17 additions & 0 deletions model/attributes/profile/profile__start_timestamp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"key": "profile.start_timestamp",
"brief": "The timestamp when the profile started",
"type": "double",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"example": 1700000000.123,
"changelog": [
{
"version": "next",
"prs": [363],
"description": "Added profile.start_timestamp attribute"
}
]
}
27 changes: 27 additions & 0 deletions python/src/sentry_conventions/attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -4901,6 +4901,18 @@ class ATTRIBUTE_NAMES(metaclass=_AttributeNamesMeta):
Example: "18.04.2"
"""

# Path: model/attributes/profile/profile__start_timestamp.json
PROFILE_START_TIMESTAMP: Literal["profile.start_timestamp"] = (
"profile.start_timestamp"
)
"""The timestamp when the profile started

Type: float
Contains PII: maybe
Defined in OTEL: No
Example: 1700000000.123
"""

# Path: model/attributes/query/query__[key].json
QUERY_KEY: Literal["query.<key>"] = "query.<key>"
"""An item in a query string. Usually added by client-side routing frameworks like vue-router.
Expand Down Expand Up @@ -12112,6 +12124,20 @@ class ATTRIBUTE_NAMES(metaclass=_AttributeNamesMeta):
ChangelogEntry(version="0.0.0"),
],
),
"profile.start_timestamp": AttributeMetadata(
brief="The timestamp when the profile started",
type=AttributeType.DOUBLE,
pii=PiiInfo(isPii=IsPii.MAYBE),
is_in_otel=False,
example=1700000000.123,
changelog=[
ChangelogEntry(
version="next",
prs=[363],
description="Added profile.start_timestamp attribute",
),
],
),
"query.<key>": AttributeMetadata(
brief="An item in a query string. Usually added by client-side routing frameworks like vue-router.",
type=AttributeType.STRING,
Expand Down Expand Up @@ -14345,6 +14371,7 @@ class ATTRIBUTE_NAMES(metaclass=_AttributeNamesMeta):
"process.runtime.engine.version": str,
"process.runtime.name": str,
"process.runtime.version": str,
"profile.start_timestamp": float,
"query.<key>": str,
"release": str,
"remix.action_form_data.<key>": str,
Expand Down
Loading