Skip to content
Merged
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
4 changes: 2 additions & 2 deletions scripts/semconv/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ ROOT_DIR="${SCRIPT_DIR}/../../"

# Get latest version by running `git tag -l --sort=version:refname | tail -1`
# ... in [email protected]:open-telemetry/semantic-conventions.git
SPEC_VERSION=v1.36.0
SPEC_VERSION=v1.37.0
# ... in [email protected]:open-telemetry/weaver.git
GENERATOR_VERSION=v0.16.1
GENERATOR_VERSION=v0.17.1

# When running on windows and you are getting references to ";C" (like Telemetry;C)
# then this is an issue with the bash shell, so first run the following in your shell:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
{% endif -%}

{%- if member.deprecated %}
{%- set deprecated_jsdoc = "\n@deprecated " ~ strong_rfc2119(member.deprecated) -%}
{%- set deprecated_jsdoc = "\n@deprecated " ~ strong_rfc2119(member.deprecated.note) -%}
{%- endif -%}

{%- set enum_jsdoc = "Enum value " ~ member.value | print_member_value ~ " for attribute {@link ATTR_" ~ attribute.name | screaming_snake_case ~ "}." -%}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
{% endif -%}

{%- if member.deprecated %}
{%- set deprecated_jsdoc = "\n@deprecated " ~ strong_rfc2119(member.deprecated) -%}
{%- set deprecated_jsdoc = "\n@deprecated " ~ strong_rfc2119(member.deprecated.note) -%}
{%- endif -%}

{%- set enum_jsdoc = "Enum value " ~ member.value | print_member_value ~ " for attribute {@link ATTR_" ~ attribute.name | screaming_snake_case ~ "}." -%}
Expand Down
319 changes: 319 additions & 0 deletions semantic-conventions/CHANGELOG.md

Large diffs are not rendered by default.

7,422 changes: 4,523 additions & 2,899 deletions semantic-conventions/src/experimental_attributes.ts

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions semantic-conventions/src/experimental_events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@
// DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates/registry/ts-experimental/events.ts.j2
//-----------------------------------------------------------------------------------------------------------------

/**
* This event indicates that the application has detected substandard UI rendering performance.
*
* @note Jank happens when the UI is rendered slowly enough for the user to experience some disruption or sluggishness.
*
* @experimental This event is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
*/
export const EVENT_APP_JANK = 'app.jank' as const;

/**
* This event represents an instantaneous click on the screen of an application.
*
Expand Down Expand Up @@ -83,34 +92,53 @@ export const EVENT_FEATURE_FLAG_EVALUATION = 'feature_flag.evaluation' as const;
* This event describes the assistant message passed to GenAI system.
*
* @experimental This event is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
*
* @deprecated Chat history is reported on `gen_ai.input.messages` attribute on spans or `gen_ai.client.inference.operation.details` event.
*/
export const EVENT_GEN_AI_ASSISTANT_MESSAGE = 'gen_ai.assistant.message' as const;

/**
* This event describes the Gen AI response message.
*
* @experimental This event is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
*
* @deprecated Chat history is reported on `gen_ai.output.messages` attribute on spans or `gen_ai.client.inference.operation.details` event.
*/
export const EVENT_GEN_AI_CHOICE = 'gen_ai.choice' as const;

/**
* Describes the details of a GenAI completion request including chat history and parameters.
*
* @note This event is opt-in and could be used to store input and output details independently from traces.
*
* @experimental This event is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
*/
export const EVENT_GEN_AI_CLIENT_INFERENCE_OPERATION_DETAILS = 'gen_ai.client.inference.operation.details' as const;

/**
* This event describes the system instructions passed to the GenAI model.
*
* @experimental This event is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
*
* @deprecated Chat history is reported on `gen_ai.system_instructions` attribute on spans or `gen_ai.client.inference.operation.details` event.
*/
export const EVENT_GEN_AI_SYSTEM_MESSAGE = 'gen_ai.system.message' as const;

/**
* This event describes the response from a tool or function call passed to the GenAI model.
*
* @experimental This event is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
*
* @deprecated Chat history is reported on `gen_ai.input.messages` attribute on spans or `gen_ai.client.inference.operation.details` event.
*/
export const EVENT_GEN_AI_TOOL_MESSAGE = 'gen_ai.tool.message' as const;

/**
* This event describes the user message passed to the GenAI model.
*
* @experimental This event is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
*
* @deprecated Chat history is reported on `gen_ai.input.messages` attribute on spans or `gen_ai.client.inference.operation.details` event.
*/
export const EVENT_GEN_AI_USER_MESSAGE = 'gen_ai.user.message' as const;

Expand Down
Loading
Loading