Class AwsXrayIdGenerator
java.lang.Object
io.opentelemetry.sdk.extension.aws.trace.AwsXrayIdGenerator
- All Implemented Interfaces:
io.opentelemetry.sdk.trace.IdGenerator
@Deprecated
public final class AwsXrayIdGenerator
extends Object
implements io.opentelemetry.sdk.trace.IdGenerator
Deprecated.
Use the AwsXrayIdGenerator provided in the
io.opentelemetry.contrib:opentelemetry-aws-xray artifact instead of this one.
Generates tracing ids compatible with the AWS X-Ray tracing service. In the X-Ray system the
first 32 bits of the trace id are the Unix epoch time in secords. Spans (AWS calls them segments)
submit with trace id timestamps outside of the last 30 days are rejected.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.static AwsXrayIdGenerator
Deprecated.Returns a singleton instance ofAwsXrayIdGenerator
.
-
Method Details
-
getInstance
Deprecated.Returns a singleton instance ofAwsXrayIdGenerator
. -
generateSpanId
Deprecated.- Specified by:
generateSpanId
in interfaceio.opentelemetry.sdk.trace.IdGenerator
-
generateTraceId
Deprecated.- Specified by:
generateTraceId
in interfaceio.opentelemetry.sdk.trace.IdGenerator
-