Class MetricFamily
- java.lang.Object
-
- org.hawkular.agent.prometheus.types.MetricFamily
-
public class MetricFamily extends java.lang.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 java.lang.String
getHelp()
java.util.List<Metric>
getMetrics()
java.lang.String
getName()
MetricType
getType()
-
-
-
Constructor Detail
-
MetricFamily
protected MetricFamily(MetricFamily.Builder builder)
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getHelp
public java.lang.String getHelp()
-
getType
public MetricType getType()
-
getMetrics
public java.util.List<Metric> getMetrics()
-
-