public interface TraceIdGenerator
| Modifier and Type | Method and Description |
|---|---|
String |
generate() |
default String |
getName()
for generators have the same name, will only use the minimum order instance
not use getTraceIdKeyName to control this logic, because most customers not want to generate multiple traceIds
|
default int |
getOrder() |
String |
getTraceIdKeyName() |
default int getOrder()
default String getName()
for generators have the same name, will only use the minimum order instance not use getTraceIdKeyName to control this logic, because most customers not want to generate multiple traceIds
String getTraceIdKeyName()
default value is X-B3-TraceId to work with zipkin
String generate()
Copyright © 2017–2019 The Apache Software Foundation. All rights reserved.