O Que E um Span Attribute?
Um span attribute e um par chave-valor tipado que descreve uma operacao especifica capturada por um span, como o metodo HTTP, o status da resposta ou a instrucao de banco de dados. Os attributes sao locais ao seu span e nao se propagam para outros spans. Eles dao ao trace o detalhe necessario para filtrar, agrupar e entender o que cada etapa de fato fez.
Por que importa
Um span puro mostra apenas tempo e estrutura. Os attributes adicionam o contexto que permite consultar traces por rota, status ou operacao e identificar onde o comportamento divergiu.
Guias relacionados
What Is a Resource Attribute?A resource attribute describes the entity producing telemetry, such as service name, version, or host, and is…
What Is Baggage in OpenTelemetry?Baggage is key-value context that travels with a request alongside trace identifiers, letting downstream serv…
What Is an Instrumentation Library?An instrumentation library is code that generates telemetry for a specific framework or client, emitting span…