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();
However, on the PP I see the recorded times.
Am i doing something wrong or is this feature not yet available ?
Solved! Go to Solution.
Actually custom timestamps are not supported, but support for this is on the roadmap.
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?
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).
Alright, thank you !