Package jetbrains.buildServer.metrics
Class MetricValueKey
- java.lang.Object
-
- jetbrains.buildServer.metrics.MetricValueKey
-
- All Implemented Interfaces:
Comparable<MetricValueKey>
public class MetricValueKey extends Object implements Comparable<MetricValueKey>
Contains the combination of the name and tags, which identify specific metric value stream. E.g. histogram buckets may have the same name "_bucket" but can be distinguished one from another using tag pair: "le=100" vs "le=200", etc.
-
-
Constructor Summary
Constructors Constructor Description MetricValueKey(String name, String... additionalTagDefs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(MetricValueKey o)
boolean
equals(Object o)
Map<String,String>
getAdditionalTags()
String
getName()
int
hashCode()
-
-
-
Method Detail
-
getName
@NotNull public String getName()
-
compareTo
public int compareTo(@NotNull MetricValueKey o)
- Specified by:
compareTo
in interfaceComparable<MetricValueKey>
-
-