←back to thread

116 points ndhandala | 1 comments | | HN request time: 0.207s | source
Show context
rednafi ◴[] No.45082979[source]
What clicked for me is:

A span is a key-value attribute about some point in time event

A trace is a DAG of spans that tells you a story about some related events

replies(1): >>45083131 #
1. eterm ◴[] No.45083131[source]
What do you mean exactly by "point in time event"?

As I understand it, a metric is information at a point in time.

A span however has a start timestamp and end timestamp, and is about a single operation that happens across that time.

https://opentelemetry.io/docs/specs/otel/metrics/

vs

https://opentelemetry.io/docs/specs/otel/trace/api/#span