Annotation Interface SentryCheckIn


@Retention(RUNTIME) @Target(METHOD) @Experimental public @interface SentryCheckIn
Sends a CheckIn for the annotated method.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Whether to send only send heartbeat events.
    Monitor slug.
    Monitor slug.
  • Element Details

    • monitorSlug

      @AliasFor("value") String monitorSlug
      Monitor slug. If not set, no check-in will be sent.
      Returns:
      monitor slug
      Default:
      ""
    • heartbeat

      boolean heartbeat
      Whether to send only send heartbeat events.

      A hearbeat check-in means there's no separate IN_PROGRESS check-in at the start of the jobs execution. Only the check-in after finishing the job will be sent.

      Returns:
      true if only heartbeat check-ins should be sent.
      Default:
      false
    • value

      @AliasFor("monitorSlug") String value
      Monitor slug. If not set, no check-in will be sent.
      Returns:
      monitor slug
      Default:
      ""