Comment by nijave

Comment by nijave a day ago

0 replies

A span is a discrete event emitted on completion. It contains arbitrary metadata (plus a few mandatory fields if you're following the OTEL spec).

As such, it doesn't really have a beginning or end except that it has fields for duration and timestamps.

I'd check out the OTEL docs since I think seeing the examples as JSON helps clarify things. It looks like they have events attached to spans which is optional. https://opentelemetry.io/docs/concepts/signals/traces/