Skip to content

Commit

Permalink
Reword profiling correlation example to be less ambiguous (#864)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasKunz authored May 29, 2024
1 parent 2e47ff9 commit bd5fa9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specs/agents/universal-profiling-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ For example, if for a single transaction the following correlation messages are
* (stack-trace-ID: 0x4c9326bb9805fa8f85882c12eae724ce, count: 1)
* (stack-trace-ID: 0x60b420bb3851d9d47acb933dbe70399b, count: 1)

the resulting transaction MUST have the OpenTelemetry attribute `elastic.profiler_stack_trace_ids` with a value of `[YLQguzhR2dR6y5M9vnA5mw, YLQguzhR2dR6y5M9vnA5mw, TJMmu5gF-o-FiCwS6uckzg, YLQguzhR2dR6y5M9vnA5mw]`.
the resulting transaction MUST have the OpenTelemetry attribute `elastic.profiler_stack_trace_ids` with a value of (elements in any order) `[YLQguzhR2dR6y5M9vnA5mw, YLQguzhR2dR6y5M9vnA5mw, TJMmu5gF-o-FiCwS6uckzg, YLQguzhR2dR6y5M9vnA5mw]`.

Note that the [correlation messages](#cpu-profiler-trace-correlation-message) will arrive delayed relative to when they were sampled due to the processing delay of the profiling host agent and the transfer over the domain socket. APM agents therefore MUST defer sending ended transactions until they are relatively confident that all correlation messages for the transaction have arrived.

Expand Down

0 comments on commit bd5fa9c

Please sign in to comment.