newrelic_accept_distributed_trace_payload

newrelic_accept_distributed_trace_payload (string $payload)
Accepts a distributed trace payload.

Requirements

Requires PHP agent version 8.4 or higher.

Description

Distributed tracing allows you to see the path that a request takes as it travels through a distributed system. Use this API method to accept a distributed trace payload.

Parameters

Parameter Description

$payload

data type

Required: a JSON formatted string created by using newrelic_create_distributed_trace_payload.

Example(s)

For examples of how and when to use this API method, see the documentation to manually instrument applications and services.

For more help

Recommendations for learning more: