elastic / elastic/apm-server

RUM timestamp is inconsistent with other agent timestamps

Open
#1,830 11 comments 1 reaction 0 assignees View on GitHub
rum
Dominant language
Go
Stars
1.3k
Forks
543
Avg merge
1d 18h
Merged PRs (30d)
109

Description

I saw APM Server is slapping its own timestamp on client data https://github.com/elastic/apm-server/issues/723. This adds a timestamp for when the transaction **ends** (plus some network lag). However, the timestamp coming from the Java agent is when the transaction **begins**.

Since APM Server knows the duration of the transaction, does it make sense to subtract the duration from "now" so that the timestamps always represent **begin** time?

Contributor guide

Open the contributing guide

Research direction

The issue names APM Server and the linked issue #723; start by reviewing that discussion and the timestamp and duration behavior described here. Done means deciding, with tests or documented evidence, whether server timestamps should represent transaction start consistently with the Java agent.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.