Context
agentops.semconv.span_attributes defines mixed span attributes with no clear separation of concerns.
On the other hand, it redefines GenAI attributes already defined in opentelemetry semconv standard:
from opentelemetry.semconv._incubating.attributes.gen_ai_attributes import (
GEN_AI_RESPONSE_ID,
GEN_AI_REQUEST_ENCODING_FORMATS,
...
)
Proposal
-
To follow the opentelelemetry package conventions, i.e agentops.semconv.attributes.gen_ai_attributes (if we really need to backfill any missing semconv)
-
Since opentelemetry semconv standard is under development and prone to frequent changes, ensure to tighten dependencies ranges if required, or forward the declarations. This is not a hard ask especially if it turns out troublesome
Context
agentops.semconv.span_attributesdefines mixed span attributes with no clear separation of concerns.On the other hand, it redefines GenAI attributes already defined in opentelemetry semconv standard:
Proposal
To follow the opentelelemetry package conventions, i.e
agentops.semconv.attributes.gen_ai_attributes(if we really need to backfill any missing semconv)Since opentelemetry semconv standard is under development and prone to frequent changes, ensure to tighten dependencies ranges if required, or forward the declarations. This is not a hard ask especially if it turns out troublesome