Class ZipkinIdProvider
java.lang.Object
com.helixframework.resttemplate.tracing.zipkin.ZipkinIdProvider
- All Implemented Interfaces:
IdProvider
Generates trace and span identifiers that are Zipkin compliant.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classThe code in this class came from the Zipkin repository v1.16.2 (https://github.com/openzipkin/zipkin/blob/1.16.2/zipkin/src/main/java/zipkin/internal/Util.java) and licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0). -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ZipkinIdProvider
public ZipkinIdProvider()
-
-
Method Details
-
traceId
Description copied from interface:IdProviderCreates a trace id.- Specified by:
traceIdin interfaceIdProvider- Returns:
- trace id
-
spanId
Description copied from interface:IdProviderCreates a span id.- Specified by:
spanIdin interfaceIdProvider- Returns:
- span id
-