@Retention(value=RUNTIME)
 @Target(value={FIELD,PARAMETER,ANNOTATION_TYPE})
public @interface Metric
 
      @Inject
      @Metric(name="histogram")
     public Histogram histogram;
 
 
 
 A meter of the field's type will be created and injected into managed objects. It will be up to the user to interact
 with the metric. This annotation can be used on fields of type Meter, Timer, SimpleTimer, Counter, and Histogram.
 This may also be used to register a metric.
| Modifier and Type | Optional Element and Description | 
|---|---|
| boolean | absoluteDenotes whether to use the absolute name or use the default given name relative to the annotated class. | 
| java.lang.String | descriptionThe description of the metric. | 
| java.lang.String | displayNameThe display name of the metric. | 
| java.lang.String | nameThe name of the metric. | 
| java.lang.String[] | tagsThe tags of the metric. | 
| java.lang.String | unitThe unit of the metric. | 
public abstract java.lang.String name
public abstract java.lang.String[] tags
String tag must be in the form of 'key=value'. If the input is empty
         or does not contain a '=' sign, the entry is ignored.Metadatapublic abstract boolean absolute
true, use the given name as an absolute name. If false (default), use the given name
         relative to the annotated class.public abstract java.lang.String displayName
Metadatapublic abstract java.lang.String description
Metadatapublic abstract java.lang.String unit
MetricUnits.NONE.Metadata, 
MetricUnits