Skip to content
semconv.com
↑↓ move↵ openUse with your agent →

GenAI conventions2026-11-04

since 2026-11-03.3
0 breaking0 notable6 editorial

From the upstream commit

  • Add internal retrieval span and gen_ai.retrieval.duration metric

Read the commit

Editorial6

  • Usageattributegen_ai.operation.nameNow referenced by attributes.gen_ai.retrieval.common, gen_ai.retrieval and 1 other (required).
  • Usageattributegen_ai.retrieval.documentsNow referenced by gen_ai.retrieval (opt in).
  • Usageattributegen_ai.retrieval.query.textNow referenced by gen_ai.retrieval (opt in).
  • Usageattributegen_ai.retrieval.top_kNow referenced by gen_ai.retrieval (recommended).
  • Addedsignalgen_ai.retrievalDescribes a retrieval operation - an execution of a framework retrieval pipeline that returns documents relevant to a query.
  • Addedmetricgen_ai.retrieval.durationThe duration of a retrieval operation - an execution of a framework retrieval pipeline that returns documents relevant to a query.