elastic / elastic/apm

Correlate Synthetics monitor execution with APM

Open
#823 1 comment 0 reactions 1 assignee Claimed by @vigneshshanmugam View on GitHub
meta
Dominant language
Gherkin
Stars
427
Forks
125
PR merge metrics
No merged PRs in 30d

Description

Related issue - https://github.com/elastic/apm-dev/issues/1024

### Proposal

+ [x] Create trace from synthetics and passing it via `traceparent` header to configured backends, includes HTTP and Browser based monitors. Sampling decision is controlled from Synthetics trace.
+ [x] Annotate requests to APM in the Synthetics step waterfall.
+ [x] Ability to annotate requests coming from Synthetics in the APM via UA or `tracestate` header.
+ [x] Implement a behaviour where linking back from APM to Synthetics monitor + step trace would be seamless.
- Might require individual `trace.id` for each steps in an journey as there can be N number of steps and each step could contain multiple APM backend calls.
* These changes ensures we maintain full compatbility with the OTEL agents and does not require any modifications on the APM server.

More details on the proposal can be seen in this thread - https://github.com/elastic/apm-dev/issues/1024#issuecomment-1670150114

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.