Skip to content

Correlate Synthetics monitor execution with APM  #823

@vigneshshanmugam

Description

@vigneshshanmugam

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

Proposal

  • 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.
  • Annotate requests to APM in the Synthetics step waterfall.
  • Ability to annotate requests coming from Synthetics in the APM via UA or tracestate header.
  • 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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions