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, getCollectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:BasicMetricReturns child with the given labels.Must be passed the same number of labels are were passed to
BaseMetricSettings.labels(String...).- Specified by:
labelsin interfaceBasicMetric<Info>- Parameters:
labels- labels (dimensions) of metric to log
-
info
Description copied from interface:InfoSets info.
-