Improvements for attributes semconv generation #133
Labels
bug
Something isn't working
semconv/model
Related to the data model or YAML format of the semantic convention generator
semconv
Related to the semantic convention generator.
open-telemetry/opentelemetry-specification#3183 declares attributes separately from traces and metrics and then reuses attributes in corresponding semconvs. There are two issues:
Grandparent attributes are not populated in the table. E.g.
http.common
group defineshttp.method
http.server
group extendshttp.common
and defineshttp.route
metric.http.server.duration
extendshttp.server
. Whenmetric.http.server.duration(full)
semconv table is rendered, it does not includehttp.method
, but includeshttp.route
Referenced attributes description should come from extended semconv first. E.g.
net.peer.name
is defined in span-general semconvhttp.client.common
providing long HTTP-specific descriptionsampling_relevant: true
for tracing (and none of it for metrics), so it has to be referenced again intrace.http.client
and long HTTP-specific description should be repeatednet.peer.name
fortrace.http.client
semconv, it should prioritize properties fromtrace.http.client
, then read them from parent (http.client.common
) and finally fill in the gaps from original span-general spec.The text was updated successfully, but these errors were encountered: