open-telemetry/opentelemetry-specification

Clarify if zero-duration spans are valid?

開放

#2,125 建立於 2021年11月15日

 (2 則留言) (0 個反應) (0 位負責人)Makefile (987 個分叉)auto 404
Stalehelp wantedspec:trace

倉庫指標

星標
 (4,267 顆星)
PR 合併指標
 (平均合併 10天 15小時) (30 天內合併 43 個 PR)

描述

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

貢獻者指南