Class PrometheusInfo
java.lang.Object
eu.rarogsoftware.rarog.platform.core.metrics.prometheus.PrometheusMetric
eu.rarogsoftware.rarog.platform.core.metrics.prometheus.PrometheusInfo
- All Implemented Interfaces:
BasicMetric<Info>
,Info
-
Constructor Summary
ConstructorsConstructorDescriptionPrometheusInfo
(io.prometheus.client.Info delegate) PrometheusInfo
(io.prometheus.client.Info delegate, io.prometheus.client.Info.Child child) -
Method Summary
Methods inherited from class eu.rarogsoftware.rarog.platform.core.metrics.prometheus.PrometheusMetric
collect, getCollector
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface eu.rarogsoftware.rarog.platform.api.metrics.BasicMetric
labels
-
Constructor Details
-
PrometheusInfo
public PrometheusInfo(io.prometheus.client.Info delegate) -
PrometheusInfo
public PrometheusInfo(io.prometheus.client.Info delegate, io.prometheus.client.Info.Child child)
-
-
Method Details
-
labels
Description copied from interface:BasicMetric
Returns child with the given labels.Must be passed the same number of labels are were passed to
BaseMetricSettings.labels(String...)
.- Specified by:
labels
in interfaceBasicMetric<Info>
- Parameters:
labels
- labels (dimensions) of metric to log
-
info
Description copied from interface:Info
Sets info.
-