open-telemetry/opentelemetry-specification

Clarify if zero-duration spans are valid?

Aberta

#2.125 aberto em 15 de nov. de 2021

 (2 comentários) (0 reação) (0 responsável)Makefile (987 forks)auto 404
Stalehelp wantedspec:trace

Métricas do repositório

Stars
 (4.267 estrelas)
Métricas de merge de PR
 (Mesclagem média 10d 15h) (43 fundiu PRs em 30d)

Description

What are you trying to achieve?

Should we provide clarification if zero-duration spans are valid? Basing on opentelemetry-proto those seem to be OK, however I wasn't able to find this mentioned anywhere in the tracing specs.

If such spans are acceptable, it is not clear how they should be interpreted (not sure if on any currently existing platform monotonic clock could measure less than 1 nanosecond)

Also, perhaps this is obvious but I haven't found a piece of specification mentioning that end timestamp must be greater or equal to start timestamp (like in the proto comments)

Overall, this is perhaps a rather minor issue but saw some confusion over that so I am brining it up here for discussion

Guia do colaborador