public final class Tags extends Object
Modifier and Type | Field and Description |
---|---|
static StringTag |
COMPONENT
COMPONENT is a low-cardinality identifier of the module, library, or package that is instrumented.
|
static StringTag |
DB_INSTANCE
DB_INSTANCE indicates the instance name of Database.
|
static StringTag |
DB_STATEMENT
DB_STATEMENT records a database statement for the given database type.
|
static StringTag |
DB_TYPE
DB_TYPE indicates the type of Database.
|
static StringTag |
DB_USER
DB_USER indicates the user name of Database, e.g.
|
static BooleanTag |
ERROR
ERROR indicates whether a Span ended in an error state.
|
static StringTag |
HTTP_METHOD
HTTP_METHOD records the http method.
|
static IntTag |
HTTP_STATUS
HTTP_STATUS records the http status code of the response.
|
static StringTag |
HTTP_URL
HTTP_URL records the url of the incoming request.
|
static StringTag |
MESSAGE_BUS_DESTINATION
MESSAGE_BUS_DESTINATION records an address at which messages can be exchanged.
|
static IntOrStringTag |
PEER_HOST_IPV4
PEER_HOST_IPV4 records IPv4 host address of the peer.
|
static StringTag |
PEER_HOST_IPV6
PEER_HOST_IPV6 records the IPv6 host address of the peer.
|
static StringTag |
PEER_HOSTNAME
PEER_HOSTNAME records the host name of the peer.
|
static IntTag |
PEER_PORT
PEER_PORT records the port number of the peer.
|
static StringTag |
PEER_SERVICE
PEER_SERVICE records the service name of the peer service.
|
static IntTag |
SAMPLING_PRIORITY
SAMPLING_PRIORITY determines the priority of sampling this Span.
|
static StringTag |
SERVICE
The service name for a span, which overrides any default "service name" property defined
in a tracer's config.
|
static StringTag |
SPAN_KIND
SPAN_KIND hints at the relationship between spans, e.g.
|
static String |
SPAN_KIND_CLIENT
A constant for setting the span kind to indicate that it represents a client span.
|
static String |
SPAN_KIND_CONSUMER
A constant for setting the span kind to indicate that it represents a consumer span, in a messaging scenario.
|
static String |
SPAN_KIND_PRODUCER
A constant for setting the span kind to indicate that it represents a producer span, in a messaging scenario.
|
static String |
SPAN_KIND_SERVER
A constant for setting the span kind to indicate that it represents a server span.
|
public static final String SPAN_KIND_SERVER
public static final String SPAN_KIND_CLIENT
public static final String SPAN_KIND_PRODUCER
public static final String SPAN_KIND_CONSUMER
public static final StringTag SERVICE
PEER_SERVICE
public static final StringTag HTTP_URL
public static final IntTag HTTP_STATUS
public static final StringTag HTTP_METHOD
public static final IntOrStringTag PEER_HOST_IPV4
public static final StringTag PEER_HOST_IPV6
public static final StringTag PEER_SERVICE
SERVICE
public static final StringTag PEER_HOSTNAME
public static final IntTag PEER_PORT
public static final IntTag SAMPLING_PRIORITY
public static final StringTag SPAN_KIND
public static final StringTag COMPONENT
public static final BooleanTag ERROR
public static final StringTag DB_TYPE
public static final StringTag DB_INSTANCE
public static final StringTag DB_USER
public static final StringTag DB_STATEMENT
public static final StringTag MESSAGE_BUS_DESTINATION
Copyright © 2016–2018 OpenTracing. All rights reserved.