Annotation Type Traced

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String action
      Sets the action of the captured span, used to group similar spans together, for example: `query`.
      String subtype
      Sets the subtype of the captured span, used to group similar spans together, for example: `mysql`.
      String type
      Sets the general type of the captured span or transaction, used to group similar spans together, for example: `db`.
      String value
      The name of the Span or Transaction.
    • Element Detail

      • value

        String value
        The name of the Span or Transaction. Defaults to the ClassName#methodName
        Default:
        ""
      • type

        String type

        Sets the general type of the captured span or transaction, used to group similar spans together, for example: `db`. Though there are no naming restrictions for the general types, the following are standardized across all Elastic APM agents: `app`, `db`, `cache`, `template`, and `ext`.

        Defaults to request for transactions and app for spans

        Default:
        ""
      • subtype

        String subtype

        Sets the subtype of the captured span, used to group similar spans together, for example: `mysql`.

        NOTE: has no effect when a transaction is created

        Default:
        ""
      • action

        String action

        Sets the action of the captured span, used to group similar spans together, for example: `query`.

        NOTE: has no effect when a transaction is created

        Default:
        ""