apm-agent-rum-js icon indicating copy to clipboard operation
apm-agent-rum-js copied to clipboard

Decide about sending transaction/span timestamp if the user sets it

Open hmdhk opened this issue 6 years ago • 2 comments

https://github.com/elastic/apm-agent-rum-js/blob/cda6c9e4dd8b92f9063de3d9b98d0a819cd9a287/packages/rum-core/src/performance-monitoring/span-base.js#L48

Docs - https://github.com/elastic/apm-agent-rum-js/blob/cda6c9e4dd8b92f9063de3d9b98d0a819cd9a287/docs/transaction-api.asciidoc#transactiontimestamp

hmdhk avatar Sep 24 '19 13:09 hmdhk

@jahtalab what are the use cases for specifying a timestamp in RUM?

axw avatar Sep 25 '19 03:09 axw

OpenTracing API has a timestamp on spans, currently we convert that into relative times for the spans and ignore the timestamp. This is mostly for edge cases where an advanced user knows the consequences of setting a timestamp but still need to set it.

But, again this issue is also for discussing whether we want to allow that or not.

hmdhk avatar Sep 25 '19 07:09 hmdhk