Class MetricFamily
- java.lang.Object
-
- org.hawkular.agent.prometheus.types.MetricFamily
-
public class MetricFamily extends Object
Contains all metrics within a family (that is, of the same name). All metrics in a family have the same type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MetricFamily.Builder
-
Constructor Summary
Constructors Modifier Constructor Description protected
MetricFamily(MetricFamily.Builder builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHelp()
List<Metric>
getMetrics()
String
getName()
MetricType
getType()
-
-
-
Constructor Detail
-
MetricFamily
protected MetricFamily(MetricFamily.Builder builder)
-
-
Method Detail
-
getName
public String getName()
-
getHelp
public String getHelp()
-
getType
public MetricType getType()
-
-