Hi,
I'm able to capture spans with Oneagent.
However, in my app I try to set a defined time for the spans:
Span span1 = spanbuilder1.setStartTimestamp(timestamp1.getTime(),TimeUnit.MILLISECONDS).startSpan();
span1.end(endtimestamp1.getTime(), TimeUnit.MILLISECONDS);
However, on the PP I see the recorded times.
Am i doing something wrong or is this feature not yet available ?
Daniel
Solved! Go to Solution.
Hi Daniel,
Actually custom timestamps are not supported, but support for this is on the roadmap.
Best
Harry
Hi Harry,
Really appreciate your answer, I've been busting my head over this!
May I ask - is this true for both Oneagent and the Trace Ingest API?
Daniel
Daniel
This limitation only applies to OneAgent/OpenTel integration at the moment.
For Trace Ingest, custom timestamps are supported (assuming the the used OpenTelemetry SDK supports it, which is usually the case).
Hi,
Alright, thank you !
Daniel