Class ElasticApmTags

java.lang.Object
co.elastic.apm.opentracing.ElasticApmTags

public class ElasticApmTags extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final io.opentracing.tag.StringTag
    Sets the action related to the span (irrelevant for transactions)
    static final io.opentracing.tag.StringTag
    Sets the result of the transaction.
    static final io.opentracing.tag.StringTag
    Sets the subtype of the span (irrelevant for transactions)
    static final io.opentracing.tag.StringTag
    Sets the type of the transaction or span.
    static final io.opentracing.tag.StringTag
    Sets the user email address, appears in the "User" tab in the transaction details in the Elastic APM UI
    static final io.opentracing.tag.StringTag
    Sets the user id, appears in the "User" tab in the transaction details in the Elastic APM UI
    static final io.opentracing.tag.StringTag
    Sets the user , appears in the "User" tab in the transaction details in the Elastic APM UI
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • TYPE

      public static final io.opentracing.tag.StringTag TYPE
      Sets 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 SUBTYPE
      Sets the subtype of the span (irrelevant for transactions)
    • ACTION

      public static final io.opentracing.tag.StringTag ACTION
      Sets the action related to the span (irrelevant for transactions)
    • USER_ID

      public static final io.opentracing.tag.StringTag USER_ID
      Sets 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_EMAIL
      Sets 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_USERNAME
      Sets the user , appears in the "User" tab in the transaction details in the Elastic APM UI
    • RESULT

      public static final io.opentracing.tag.StringTag RESULT
      Sets the result of the transaction. Overrides the default value of success. If the error tag is set to true, the default value is error.
  • Constructor Details

    • ElasticApmTags

      public ElasticApmTags()