Package com.newrelic.api.agent
Interface DistributedTracePayload
-
@Deprecated public interface DistributedTracePayload
Deprecated.Instead, use the Distributed Tracing APITransaction.insertDistributedTraceHeaders(Headers)
to create a distributed tracing payload andTransaction.acceptDistributedTraceHeaders(TransportType, Headers)
to link the services together.Payload used to connect two services in a distributed system.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.String
httpSafe()
Deprecated.Get the distributed trace payload in base64 encoded JSON String formatjava.lang.String
text()
Deprecated.Get the distributed trace payload in JSON String format.
-
-
-
Method Detail
-
text
java.lang.String text()
Deprecated.Get the distributed trace payload in JSON String format.- Returns:
- a JSON String representation of the payload, or empty string if distributed_tracing.exclude_newrelic_header is set
-
httpSafe
java.lang.String httpSafe()
Deprecated.Get the distributed trace payload in base64 encoded JSON String format- Returns:
- a base64 encoded JSON String representation of the payload, or empty string if distributed_tracing.exclude_newrelic_header is set
-
-