|
18 | 18 | // DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates/registry/ts-experimental/events.ts.j2
|
19 | 19 | //-----------------------------------------------------------------------------------------------------------------
|
20 | 20 |
|
| 21 | +/** |
| 22 | + * This event indicates that the application has detected substandard UI rendering performance. |
| 23 | + * |
| 24 | + * @note Jank happens when the UI is rendered slowly enough for the user to experience some disruption or sluggishness. |
| 25 | + * |
| 26 | + * @experimental This event is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. |
| 27 | + */ |
| 28 | +export const EVENT_APP_JANK = 'app.jank' as const; |
| 29 | + |
21 | 30 | /**
|
22 | 31 | * This event represents an instantaneous click on the screen of an application.
|
23 | 32 | *
|
@@ -83,34 +92,53 @@ export const EVENT_FEATURE_FLAG_EVALUATION = 'feature_flag.evaluation' as const;
|
83 | 92 | * This event describes the assistant message passed to GenAI system.
|
84 | 93 | *
|
85 | 94 | * @experimental This event is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
| 95 | + * |
| 96 | + * @deprecated Chat history is reported on `gen_ai.input.messages` attribute on spans or `gen_ai.client.inference.operation.details` event. |
86 | 97 | */
|
87 | 98 | export const EVENT_GEN_AI_ASSISTANT_MESSAGE = 'gen_ai.assistant.message' as const;
|
88 | 99 |
|
89 | 100 | /**
|
90 | 101 | * This event describes the Gen AI response message.
|
91 | 102 | *
|
92 | 103 | * @experimental This event is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
| 104 | + * |
| 105 | + * @deprecated Chat history is reported on `gen_ai.output.messages` attribute on spans or `gen_ai.client.inference.operation.details` event. |
93 | 106 | */
|
94 | 107 | export const EVENT_GEN_AI_CHOICE = 'gen_ai.choice' as const;
|
95 | 108 |
|
| 109 | +/** |
| 110 | + * Describes the details of a GenAI completion request including chat history and parameters. |
| 111 | + * |
| 112 | + * @note This event is opt-in and could be used to store input and output details independently from traces. |
| 113 | + * |
| 114 | + * @experimental This event is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. |
| 115 | + */ |
| 116 | +export const EVENT_GEN_AI_CLIENT_INFERENCE_OPERATION_DETAILS = 'gen_ai.client.inference.operation.details' as const; |
| 117 | + |
96 | 118 | /**
|
97 | 119 | * This event describes the system instructions passed to the GenAI model.
|
98 | 120 | *
|
99 | 121 | * @experimental This event is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
| 122 | + * |
| 123 | + * @deprecated Chat history is reported on `gen_ai.system_instructions` attribute on spans or `gen_ai.client.inference.operation.details` event. |
100 | 124 | */
|
101 | 125 | export const EVENT_GEN_AI_SYSTEM_MESSAGE = 'gen_ai.system.message' as const;
|
102 | 126 |
|
103 | 127 | /**
|
104 | 128 | * This event describes the response from a tool or function call passed to the GenAI model.
|
105 | 129 | *
|
106 | 130 | * @experimental This event is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
| 131 | + * |
| 132 | + * @deprecated Chat history is reported on `gen_ai.input.messages` attribute on spans or `gen_ai.client.inference.operation.details` event. |
107 | 133 | */
|
108 | 134 | export const EVENT_GEN_AI_TOOL_MESSAGE = 'gen_ai.tool.message' as const;
|
109 | 135 |
|
110 | 136 | /**
|
111 | 137 | * This event describes the user message passed to the GenAI model.
|
112 | 138 | *
|
113 | 139 | * @experimental This event is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
| 140 | + * |
| 141 | + * @deprecated Chat history is reported on `gen_ai.input.messages` attribute on spans or `gen_ai.client.inference.operation.details` event. |
114 | 142 | */
|
115 | 143 | export const EVENT_GEN_AI_USER_MESSAGE = 'gen_ai.user.message' as const;
|
116 | 144 |
|
|
0 commit comments