Skip to content

feat: adding more GenAI semconv attributes#23

Open
oleksii-leonov wants to merge 1 commit into
thoughtbot:mainfrom
syngenta:feat/genai-semconv-required-attributes
Open

feat: adding more GenAI semconv attributes#23
oleksii-leonov wants to merge 1 commit into
thoughtbot:mainfrom
syngenta:feat/genai-semconv-required-attributes

Conversation

@oleksii-leonov
Copy link
Copy Markdown
Contributor

Adding more tags from OpenTelemetry GenAI semantic conventions https://opentelemetry.io/docs/specs/semconv/gen-ai/gen-ai-spans/.

Chat#complete:

  • gen_ai.request.stream
  • gen_ai.usage.cache_read.input_tokens
  • gen_ai.usage.cache_creation.input_tokens

Chat#execute_tool:

  • error.type + record_exception + ERROR status on rescue.
  • gen_ai.tool.description

@oleksii-leonov oleksii-leonov force-pushed the feat/genai-semconv-required-attributes branch 2 times, most recently from 0a887f0 to 40f2eb5 Compare May 22, 2026 11:45
…, and tool spans

Adding more tags from OpenTelemetry GenAI semantic conventions
https://opentelemetry.io/docs/specs/semconv/gen-ai/gen-ai-spans/.

`Chat#complete`:

- `gen_ai.request.stream`
- `gen_ai.usage.cache_read.input_tokens`
- `gen_ai.usage.cache_creation.input_tokens`

`Chat#execute_tool`:

- `error.type` + record_exception + ERROR status on rescue.
- `gen_ai.tool.description`
@oleksii-leonov oleksii-leonov force-pushed the feat/genai-semconv-required-attributes branch from 40f2eb5 to 2d3f277 Compare May 22, 2026 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant