DDTrace
Namespaces
Classes
Interfaces
Functions
Add a tag to be propagated along distributed traces' information. It also adds the tag to the local root span.
Add a tag to be automatically applied to every span that is created, if tracing is enabled.
Close the currently active user-span on the top of the stack
Close child spans of a parent span if a non-internal span is given, else if 'null' is given, close active, non-internal spans
Update datadog headers for distributed tracing for new spans. Also applies this information to the current trace, if there is one, as well as the future ones if it isn't overwritten
Initialize a new span stack and switch to it. If tracing isn't enabled, a root span stack will be created.
internal
Registers an array to be populated with spans for each request during the next curl_multi_exec() call.
Update a DogStatsD counter
Update a DogStatsD distribution
Update a DogStatsD gauge
Update a DogStatsD histogram
Retrieve IPs from the given array if valid headers are found, and return them in a metadata formatting
Searches parent frames to see whether it's currently within a catch block and returns that exception.
Get information on the key-value pairs of the datadog headers for distributed tracing
Apply the distributed tracing information on the current and future spans. That API can be called if there is no other currently active span.
Set the priority sampling level
Add user information to monitor authenticated requests in the application.
Start a new custom user-span on the top of the stack. If no active span exists, the new created span will be a root span, on its own new span stack (i.e., it is equivalent to 'start_trace_span'). In that case, distributed tracing information will be applied if available.
Instrument (trace) a specific function call. This function automatically handle the following tasks:
- Open a span before the code executes
- Set any errors from the instrumented call on the span
- Close the span when the instrumented call is done.
Instrument (trace) a specific method call. This function automatically handle the following tasks:
- Open a span before the code executes
- Set any errors from the instrumented call on the span
- Close the span when the instrumented call is done.
Update the duration of an already closed span