Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: measure startup delay and journey duration #709

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vigneshshanmugam
Copy link
Member

  • Measures the startup time in epoch micros, which will be used by Heartbeat to measure the actual startup delay of the Node.js process.
  • Also the browser launch delay process is measured and reported in micros.
  • Also fixes Add journey.duration.us to the JSON spec #412 where journey.duration.us is reported.

Journey end event

{"type":"journey/end","@timestamp":1677539972109132.8,"journey":{"name":"journey-0","id":"journey-0","status":"succeeded","duration":{"us":199580}},"root_fields":{"browser_delay_us":57378,"process_startup_epoch_us":1677539969494005,"os":{"platform":"darwin"},"package":{"name":"@elastic/synthetics","version":"1.0.0-beta.40"}},"payload":{"status":"succeeded"},"package_version":"1.0.0-beta.40"}

@apmmachine
Copy link
Collaborator

apmmachine commented Feb 27, 2023

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2023-02-28T00:09:25.985+0000

  • Duration: 14 min 9 sec

Test stats 🧪

Test Results
Failed 0
Passed 213
Skipped 2
Total 215

🤖 GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add journey.duration.us to the JSON spec
2 participants