Annotation Type Timed


  • @Target({ANNOTATION_TYPE,TYPE,METHOD})
    @Repeatable(TimedSet.class)
    @Retention(RUNTIME)
    @Inherited
    public @interface Timed
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String description  
      java.lang.String[] extraTags  
      boolean histogram  
      boolean longTask  
      double[] percentiles  
      java.lang.String value
      Name of the Timer metric.
    • Element Detail

      • value

        java.lang.String value
        Name of the Timer metric.
        Returns:
        name of the Timer metric
        Default:
        ""
      • extraTags

        java.lang.String[] extraTags
        Default:
        {}
      • longTask

        boolean longTask
        Default:
        false
      • percentiles

        double[] percentiles
        Default:
        {}
      • histogram

        boolean histogram
        Default:
        false
      • description

        java.lang.String description
        Default:
        ""