Package co.elastic.apm.opentracing
Class ElasticApmTags
java.lang.Object
co.elastic.apm.opentracing.ElasticApmTags
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.opentracing.tag.StringTagSets the action related to the span (irrelevant for transactions)static final io.opentracing.tag.StringTagSets the result of the transaction.static final io.opentracing.tag.StringTagSets the subtype of the span (irrelevant for transactions)static final io.opentracing.tag.StringTagSets the type of the transaction or span.static final io.opentracing.tag.StringTagSets the user email address, appears in the "User" tab in the transaction details in the Elastic APM UIstatic final io.opentracing.tag.StringTagSets the user id, appears in the "User" tab in the transaction details in the Elastic APM UIstatic final io.opentracing.tag.StringTagSets the user , appears in the "User" tab in the transaction details in the Elastic APM UI -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
TYPE
public static final io.opentracing.tag.StringTag TYPESets the type of the transaction or span. Prior to version 1.4, span type was hierarchical, eg "db.postgresql.query". Since version 1.4, subtype (corresponding 'postresql' in this example) and action (corresponding 'query' in this example) are set separately. Agents of version 1.4 and higher will parse hierarchical type setting so not to break existing OpenTracing bridge usages, but this is deprecated and will be remove in future versions. -
SUBTYPE
public static final io.opentracing.tag.StringTag SUBTYPESets the subtype of the span (irrelevant for transactions) -
ACTION
public static final io.opentracing.tag.StringTag ACTIONSets the action related to the span (irrelevant for transactions) -
USER_ID
public static final io.opentracing.tag.StringTag USER_IDSets the user id, appears in the "User" tab in the transaction details in the Elastic APM UI -
USER_EMAIL
public static final io.opentracing.tag.StringTag USER_EMAILSets the user email address, appears in the "User" tab in the transaction details in the Elastic APM UI -
USER_USERNAME
public static final io.opentracing.tag.StringTag USER_USERNAMESets the user , appears in the "User" tab in the transaction details in the Elastic APM UI -
RESULT
public static final io.opentracing.tag.StringTag RESULTSets the result of the transaction. Overrides the default value ofsuccess. If theerrortag is set totrue, the default value iserror.
-
-
Constructor Details
-
ElasticApmTags
public ElasticApmTags()
-