Annotation Interface SentrySpan


@Retention(RUNTIME) @Target({METHOD,TYPE}) public @interface SentrySpan
Makes annotated method execution or a method execution within a class annotated with SentrySpan executed within running SentryTransaction to get wrapped into Span.
  • Element Details

    • description

      String description
      Span description.
      Returns:
      description
      Default:
      ""
    • operation

      @AliasFor("value") String operation
      Span operation. If not set, operation is resolved as a class name and a method name.
      Returns:
      operation.
      Default:
      ""
    • value

      @AliasFor("operation") String value
      Span operation. If not set, transaction name is resolved as a class name and a method name.
      Returns:
      operation.
      Default:
      ""