Annotation Interface Metric


  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The name of the metric
    The type of the metric, should be 'counter' or 'timer'.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Optional description
    Optional unit, can be used for counter metric to denote the unit (records, bytes, ...)
  • Element Details

    • name

      String name
      The name of the metric
    • type

      String type
      The type of the metric, should be 'counter' or 'timer'.
    • unit

      String unit
      Optional unit, can be used for counter metric to denote the unit (records, bytes, ...)
      Default:
      ""
    • description

      String description
      Optional description
      Default:
      ""