public class ActiveSpan
extends Object
provide custom api that set tag for current active span.
-
Constructor Summary
Constructors
-
Method Summary
static void
static void
static void
static void
static void
static void
static void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ActiveSpan
public ActiveSpan()
-
Method Details
-
tag
- Parameters:
key - tag key
value - tag value
-
error
public static void error()
-
error
public static void error(String errorMsg)
-
error
public static void error(Throwable throwable)
-
debug
public static void debug(String debugMsg)
-
info
public static void info(String infoMsg)
-
setOperationName
public static void setOperationName(String operationName)