public class EarthWormHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_RELATION |
static String |
PROPERTY_TARGET |
static int |
SPANTYPE_CACHE |
static int |
SPANTYPE_DATABASE |
static int |
SPANTYPE_MESSAGE |
static int |
SPANTYPE_PROC |
static String |
STAGE_CR |
static String |
STAGE_CS |
static String |
STAGE_END_LOCAL |
static String |
STAGE_END_TRACE |
static String |
STAGE_SR |
static String |
STAGE_SS |
static String |
STAGE_START_LOCAL |
static String |
STAGE_START_RPC |
static String |
STAGE_START_TRACE |
Constructor and Description |
---|
EarthWormHelper() |
Modifier and Type | Method and Description |
---|---|
static String |
generate() |
static Map<String,String> |
parse(String str,
String itemSpliter,
String kvSpliter) |
static String |
toString(Map<String,String> map,
String itemSpliter,
String kvSpliter) |
static String |
trim(String traceId) |
static boolean |
validSpanId(String spanId) |
static boolean |
validTraceId(String traceId) |
public static final int SPANTYPE_MESSAGE
public static final int SPANTYPE_PROC
public static final int SPANTYPE_DATABASE
public static final int SPANTYPE_CACHE
public static final String STAGE_START_RPC
public static final String STAGE_CS
public static final String STAGE_CR
public static final String STAGE_SR
public static final String STAGE_SS
public static final String STAGE_START_TRACE
public static final String STAGE_END_TRACE
public static final String STAGE_START_LOCAL
public static final String STAGE_END_LOCAL
public static final String PROPERTY_TARGET
public static final String PROPERTY_RELATION
Copyright © 2006–2018 TinyGroup. All rights reserved.