- <init>
Constructs a Metadata object from a map with the following keys * name - The
name of the metric
- setReusable
Set if the metric can be reusable (i.e. same name registered multiple times)?
- getDescription
Returns the description of the metric.
- getDisplayName
Returns the display name if set, otherwise this method returns the metric name.
- getName
Returns the metric name.
- getTags
Returns the underlying HashMap containing the tags.
- getTypeRaw
Returns the MetricType of the metric
- getUnit
Returns the unit of the metric.
- addTag
Add one single tag with the format: 'key=value'. If the input is empty or does
not contain a '=' sig
- getType
Returns the String representation of the MetricType.
- isReusable
Can the metric be reused (i.e. same name registered multiple times)?
- addTags
Add multiple tags delimited by commas. The format must be in the form
'key1=value1, key2=value2'. Th