Skip to content

Commit 17b3bf4

Browse files
ericapisaniclaude
andcommitted
feat(changelog): Add 'next' version changelog entries for attributes
Add changelog entries with version 'next' to attributes modified by PRs #261, #264, #265, #266, and #267. This tracks upcoming changes for the next release across AI, tool, and deployment environment attributes. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 345cb4b commit 17b3bf4

4 files changed

Lines changed: 199 additions & 23 deletions

File tree

javascript/sentry-conventions/src/attributes.ts

Lines changed: 92 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9846,7 +9846,10 @@ export const ATTRIBUTE_METADATA: Record<AttributeName, AttributeMetadata> = {
98469846
isInOtel: false,
98479847
example: ['Citation 1', 'Citation 2'],
98489848
deprecation: {},
9849-
changelog: [{ version: '0.1.0', prs: [55] }],
9849+
changelog: [
9850+
{ version: 'next', prs: [264] },
9851+
{ version: '0.1.0', prs: [55] },
9852+
],
98509853
},
98519854
[AI_COMPLETION_TOKENS_USED]: {
98529855
brief: 'The number of tokens used to respond to the message.',
@@ -9872,7 +9875,10 @@ export const ATTRIBUTE_METADATA: Record<AttributeName, AttributeMetadata> = {
98729875
isInOtel: false,
98739876
example: ['document1.txt', 'document2.pdf'],
98749877
deprecation: {},
9875-
changelog: [{ version: '0.1.0', prs: [55] }],
9878+
changelog: [
9879+
{ version: 'next', prs: [264] },
9880+
{ version: '0.1.0', prs: [55] },
9881+
],
98769882
},
98779883
[AI_FINISH_REASON]: {
98789884
brief: 'The reason why the model stopped generating.',
@@ -9959,7 +9965,10 @@ export const ATTRIBUTE_METADATA: Record<AttributeName, AttributeMetadata> = {
99599965
isInOtel: false,
99609966
example: false,
99619967
deprecation: {},
9962-
changelog: [{ version: '0.1.0', prs: [55] }],
9968+
changelog: [
9969+
{ version: 'next', prs: [264] },
9970+
{ version: '0.1.0', prs: [55] },
9971+
],
99639972
},
99649973
[AI_METADATA]: {
99659974
brief: 'Extra metadata passed to an AI pipeline step.',
@@ -9970,7 +9979,10 @@ export const ATTRIBUTE_METADATA: Record<AttributeName, AttributeMetadata> = {
99709979
isInOtel: false,
99719980
example: '{"user_id": 123, "session_id": "abc123"}',
99729981
deprecation: {},
9973-
changelog: [{ version: '0.1.0', prs: [55, 127] }],
9982+
changelog: [
9983+
{ version: 'next', prs: [264] },
9984+
{ version: '0.1.0', prs: [55, 127] },
9985+
],
99749986
},
99759987
[AI_MODEL_ID]: {
99769988
brief: 'The vendor-specific ID of the model used.',
@@ -10031,7 +10043,10 @@ export const ATTRIBUTE_METADATA: Record<AttributeName, AttributeMetadata> = {
1003110043
replacement: 'gen_ai.system_instructions',
1003210044
},
1003310045
aliases: [GEN_AI_SYSTEM_INSTRUCTIONS],
10034-
changelog: [{ version: '0.1.0', prs: [55] }],
10046+
changelog: [
10047+
{ version: 'next', prs: [264] },
10048+
{ version: '0.1.0', prs: [55] },
10049+
],
1003510050
},
1003610051
[AI_PRESENCE_PENALTY]: {
1003710052
brief:
@@ -10075,7 +10090,10 @@ export const ATTRIBUTE_METADATA: Record<AttributeName, AttributeMetadata> = {
1007510090
isInOtel: false,
1007610091
example: true,
1007710092
deprecation: {},
10078-
changelog: [{ version: '0.1.0', prs: [55] }],
10093+
changelog: [
10094+
{ version: 'next', prs: [264] },
10095+
{ version: '0.1.0', prs: [55] },
10096+
],
1007910097
},
1008010098
[AI_RESPONSES]: {
1008110099
brief: 'The response messages sent back by the AI model.',
@@ -10100,7 +10118,10 @@ export const ATTRIBUTE_METADATA: Record<AttributeName, AttributeMetadata> = {
1010010118
isInOtel: false,
1010110119
example: 'json_object',
1010210120
deprecation: {},
10103-
changelog: [{ version: '0.1.0', prs: [55, 127] }],
10121+
changelog: [
10122+
{ version: 'next', prs: [264] },
10123+
{ version: '0.1.0', prs: [55, 127] },
10124+
],
1010410125
},
1010510126
[AI_SEARCH_QUERIES]: {
1010610127
brief: 'Queries used to search for relevant context or documents.',
@@ -10111,7 +10132,10 @@ export const ATTRIBUTE_METADATA: Record<AttributeName, AttributeMetadata> = {
1011110132
isInOtel: false,
1011210133
example: ['climate change effects', 'renewable energy'],
1011310134
deprecation: {},
10114-
changelog: [{ version: '0.1.0', prs: [55] }],
10135+
changelog: [
10136+
{ version: 'next', prs: [264] },
10137+
{ version: '0.1.0', prs: [55] },
10138+
],
1011510139
},
1011610140
[AI_SEARCH_RESULTS]: {
1011710141
brief: 'Results returned from search queries for context.',
@@ -10122,7 +10146,10 @@ export const ATTRIBUTE_METADATA: Record<AttributeName, AttributeMetadata> = {
1012210146
isInOtel: false,
1012310147
example: ['search_result_1, search_result_2'],
1012410148
deprecation: {},
10125-
changelog: [{ version: '0.1.0', prs: [55] }],
10149+
changelog: [
10150+
{ version: 'next', prs: [264] },
10151+
{ version: '0.1.0', prs: [55] },
10152+
],
1012610153
},
1012710154
[AI_SEED]: {
1012810155
brief: 'The seed, ideally models given the same seed and same other parameters will produce the exact same output.',
@@ -10162,7 +10189,10 @@ export const ATTRIBUTE_METADATA: Record<AttributeName, AttributeMetadata> = {
1016210189
isInOtel: false,
1016310190
example: '{"executed_function": "add_integers"}',
1016410191
deprecation: {},
10165-
changelog: [{ version: '0.1.0', prs: [55, 127] }],
10192+
changelog: [
10193+
{ version: 'next', prs: [264] },
10194+
{ version: '0.1.0', prs: [55, 127] },
10195+
],
1016610196
},
1016710197
[AI_TEMPERATURE]: {
1016810198
brief:
@@ -10194,7 +10224,10 @@ export const ATTRIBUTE_METADATA: Record<AttributeName, AttributeMetadata> = {
1019410224
replacement: 'gen_ai.input.messages',
1019510225
},
1019610226
aliases: [GEN_AI_INPUT_MESSAGES],
10197-
changelog: [{ version: '0.1.0', prs: [55] }],
10227+
changelog: [
10228+
{ version: 'next', prs: [264] },
10229+
{ version: '0.1.0', prs: [55] },
10230+
],
1019810231
},
1019910232
[AI_TOOLS]: {
1020010233
brief: 'For an AI model call, the functions that are available',
@@ -10271,6 +10304,7 @@ export const ATTRIBUTE_METADATA: Record<AttributeName, AttributeMetadata> = {
1027110304
},
1027210305
aliases: [GEN_AI_COST_TOTAL_TOKENS],
1027310306
changelog: [
10307+
{ version: 'next', prs: [264] },
1027410308
{ version: '0.4.0', prs: [228] },
1027510309
{ version: '0.1.0', prs: [53] },
1027610310
],
@@ -10299,7 +10333,10 @@ export const ATTRIBUTE_METADATA: Record<AttributeName, AttributeMetadata> = {
1029910333
isInOtel: false,
1030010334
example: ['Token limit exceeded'],
1030110335
deprecation: {},
10302-
changelog: [{ version: '0.1.0', prs: [55] }],
10336+
changelog: [
10337+
{ version: 'next', prs: [264] },
10338+
{ version: '0.1.0', prs: [55] },
10339+
],
1030310340
},
1030410341
[APP_START_TYPE]: {
1030510342
brief: 'Mobile app start variant. Either cold or warm.',
@@ -11117,6 +11154,7 @@ export const ATTRIBUTE_METADATA: Record<AttributeName, AttributeMetadata> = {
1111711154
example: 12.34,
1111811155
aliases: [AI_TOTAL_COST],
1111911156
changelog: [
11157+
{ version: 'next', prs: [264] },
1112011158
{ version: '0.4.0', prs: [228] },
1112111159
{ version: '0.1.0', prs: [126] },
1112211160
],
@@ -11142,7 +11180,10 @@ export const ATTRIBUTE_METADATA: Record<AttributeName, AttributeMetadata> = {
1114211180
example:
1114311181
'[{"role": "user", "parts": [{"type": "text", "content": "Weather in Paris?"}]}, {"role": "assistant", "parts": [{"type": "tool_call", "id": "call_VSPygqKTWdrhaFErNvMV18Yl", "name": "get_weather", "arguments": {"location": "Paris"}}]}, {"role": "tool", "parts": [{"type": "tool_call_response", "id": "call_VSPygqKTWdrhaFErNvMV18Yl", "result": "rainy, 57°F"}]}]',
1114411182
aliases: [AI_TEXTS],
11145-
changelog: [{ version: '0.4.0', prs: [221] }],
11183+
changelog: [
11184+
{ version: 'next', prs: [264] },
11185+
{ version: '0.4.0', prs: [221] },
11186+
],
1114611187
},
1114711188
[GEN_AI_OPERATION_NAME]: {
1114811189
brief:
@@ -11491,7 +11532,10 @@ export const ATTRIBUTE_METADATA: Record<AttributeName, AttributeMetadata> = {
1149111532
isInOtel: true,
1149211533
example: 'You are a helpful assistant',
1149311534
aliases: [AI_PREAMBLE],
11494-
changelog: [{ version: '0.4.0', prs: [221] }],
11535+
changelog: [
11536+
{ version: 'next', prs: [264] },
11537+
{ version: '0.4.0', prs: [221] },
11538+
],
1149511539
},
1149611540
[GEN_AI_SYSTEM_MESSAGE]: {
1149711541
brief: 'The system instructions passed to the model.',
@@ -11518,7 +11562,10 @@ export const ATTRIBUTE_METADATA: Record<AttributeName, AttributeMetadata> = {
1151811562
isInOtel: true,
1151911563
example: '{"location": "Paris"}',
1152011564
aliases: [GEN_AI_TOOL_INPUT],
11521-
changelog: [{ version: '0.4.0', prs: [221] }],
11565+
changelog: [
11566+
{ version: 'next', prs: [265] },
11567+
{ version: '0.4.0', prs: [221] },
11568+
],
1152211569
},
1152311570
[GEN_AI_TOOL_CALL_RESULT]: {
1152411571
brief: 'The result of the tool call. It has to be a stringified version of the result of the tool.',
@@ -11529,7 +11576,10 @@ export const ATTRIBUTE_METADATA: Record<AttributeName, AttributeMetadata> = {
1152911576
isInOtel: true,
1153011577
example: 'rainy, 57°F',
1153111578
aliases: [GEN_AI_TOOL_OUTPUT, GEN_AI_TOOL_MESSAGE],
11532-
changelog: [{ version: '0.4.0', prs: [221] }],
11579+
changelog: [
11580+
{ version: 'next', prs: [265] },
11581+
{ version: '0.4.0', prs: [221] },
11582+
],
1153311583
},
1153411584
[GEN_AI_TOOL_DEFINITIONS]: {
1153511585
brief: 'The list of source system tool definitions available to the GenAI agent or model.',
@@ -11564,7 +11614,10 @@ export const ATTRIBUTE_METADATA: Record<AttributeName, AttributeMetadata> = {
1156411614
replacement: 'gen_ai.tool.call.arguments',
1156511615
},
1156611616
aliases: [GEN_AI_TOOL_CALL_ARGUMENTS],
11567-
changelog: [{ version: '0.1.0', prs: [63, 74] }],
11617+
changelog: [
11618+
{ version: 'next', prs: [265] },
11619+
{ version: '0.1.0', prs: [63, 74] },
11620+
],
1156811621
},
1156911622
[GEN_AI_TOOL_MESSAGE]: {
1157011623
brief: 'The response from a tool or function call passed to the model.',
@@ -11578,7 +11631,10 @@ export const ATTRIBUTE_METADATA: Record<AttributeName, AttributeMetadata> = {
1157811631
replacement: 'gen_ai.tool.call.result',
1157911632
},
1158011633
aliases: [GEN_AI_TOOL_CALL_RESULT, GEN_AI_TOOL_OUTPUT],
11581-
changelog: [{ version: '0.1.0', prs: [62] }],
11634+
changelog: [
11635+
{ version: 'next', prs: [265] },
11636+
{ version: '0.1.0', prs: [62] },
11637+
],
1158211638
},
1158311639
[GEN_AI_TOOL_NAME]: {
1158411640
brief: 'Name of the tool utilized by the agent.',
@@ -11603,7 +11659,10 @@ export const ATTRIBUTE_METADATA: Record<AttributeName, AttributeMetadata> = {
1160311659
replacement: 'gen_ai.tool.call.result',
1160411660
},
1160511661
aliases: [GEN_AI_TOOL_CALL_RESULT, GEN_AI_TOOL_MESSAGE],
11606-
changelog: [{ version: '0.1.0', prs: [63, 74] }],
11662+
changelog: [
11663+
{ version: 'next', prs: [265] },
11664+
{ version: '0.1.0', prs: [63, 74] },
11665+
],
1160711666
},
1160811667
[GEN_AI_TOOL_TYPE]: {
1160911668
brief: 'The type of tool being used.',
@@ -11638,7 +11697,12 @@ export const ATTRIBUTE_METADATA: Record<AttributeName, AttributeMetadata> = {
1163811697
isInOtel: true,
1163911698
example: 10,
1164011699
aliases: [AI_PROMPT_TOKENS_USED, GEN_AI_USAGE_PROMPT_TOKENS],
11641-
changelog: [{ version: '0.4.0', prs: [228] }, { version: '0.1.0', prs: [112] }, { version: '0.0.0' }],
11700+
changelog: [
11701+
{ version: 'next', prs: [261] },
11702+
{ version: '0.4.0', prs: [228] },
11703+
{ version: '0.1.0', prs: [112] },
11704+
{ version: '0.0.0' },
11705+
],
1164211706
},
1164311707
[GEN_AI_USAGE_INPUT_TOKENS_CACHED]: {
1164411708
brief: 'The number of cached tokens used to process the AI input (prompt).',
@@ -11672,7 +11736,12 @@ export const ATTRIBUTE_METADATA: Record<AttributeName, AttributeMetadata> = {
1167211736
isInOtel: true,
1167311737
example: 10,
1167411738
aliases: [AI_COMPLETION_TOKENS_USED, GEN_AI_USAGE_COMPLETION_TOKENS],
11675-
changelog: [{ version: '0.4.0', prs: [228] }, { version: '0.1.0', prs: [112] }, { version: '0.0.0' }],
11739+
changelog: [
11740+
{ version: 'next', prs: [261] },
11741+
{ version: '0.4.0', prs: [228] },
11742+
{ version: '0.1.0', prs: [112] },
11743+
{ version: '0.0.0' },
11744+
],
1167611745
},
1167711746
[GEN_AI_USAGE_OUTPUT_TOKENS_REASONING]: {
1167811747
brief: 'The number of tokens used for reasoning to create the AI output.',
@@ -12163,6 +12232,7 @@ export const ATTRIBUTE_METADATA: Record<AttributeName, AttributeMetadata> = {
1216312232
isInOtel: false,
1216412233
example: 50,
1216512234
sdks: ['ruby'],
12235+
changelog: [{ version: 'next', prs: [267] }],
1216612236
},
1216712237
[HTTP_STATUS_CODE]: {
1216812238
brief: 'The status code of the HTTP response.',
@@ -13479,6 +13549,7 @@ export const ATTRIBUTE_METADATA: Record<AttributeName, AttributeMetadata> = {
1347913549
deprecation: {
1348013550
replacement: 'sentry.environment',
1348113551
},
13552+
changelog: [{ version: 'next', prs: [266] }],
1348213553
},
1348313554
[RESOURCE_DEPLOYMENT_ENVIRONMENT_NAME]: {
1348413555
brief: 'The software deployment environment name.',

model/attributes/resource/resource__deployment__environment.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,11 @@
1010
"deprecation": {
1111
"_status": "backfill",
1212
"replacement": "sentry.environment"
13-
}
13+
},
14+
"changelog": [
15+
{
16+
"version": "next",
17+
"prs": [266]
18+
}
19+
]
1420
}

0 commit comments

Comments
 (0)