Hey Team, When fetching spans, in query service co...
# general
s
Hey Team, When fetching spans, in query service code, it uses timestamp to querying datas. Isn’t span.startTime a better option because timestamp only refers when database transaction happens? Maybe I’m misunderstanding something… for whatever reasons there could be a small gap between when trace data retrieved and and the time when it exported into clickhouse?
p
@Vishal Sharma do you have more insights on this
v
Hey @seongbeen,
timestamp
is inserted with
span.startTime
So
timestamp
column refers start time of span Check this line on our collector: https://github.com/SigNoz/opentelemetry-collector-contrib/blob/56e9e96015b99a60174c6fbbd63780c675ca4623/exporter/clickhouseexporter/writer.go#L146
s
Thank you @Vishal Sharma! I thought is was just timestamp..
👍 1