Class DefaultResourceEntityDelegate.ActiveResourcesMetric
java.lang.Object
com.inductiveautomation.ignition.gateway.metrics.DescriptiveRatioGauge
com.inductiveautomation.ignition.gateway.config.DefaultResourceEntityDelegate.ActiveResourcesMetric
- All Implemented Interfaces:
com.codahale.metrics.Gauge<Double>, com.codahale.metrics.Metric, DescriptiveMetric
- Enclosing class:
DefaultResourceEntityDelegate
public static class DefaultResourceEntityDelegate.ActiveResourcesMetric
extends DescriptiveRatioGauge
A ratio gauge that shows active/total resources for a given resource type, where "active" is
defined as having a healthcheck named "status" that is healthy
-
Nested Class Summary
Nested classes/interfaces inherited from class DescriptiveRatioGauge
DescriptiveRatioGauge.Ratio -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class DescriptiveRatioGauge
getDescription, getErrorValue, getUnits, getValueMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DescriptiveMetric
getDescription, getUnits
-
Constructor Details
-
ActiveResourcesMetric
-
-
Method Details
-
getRatio
- Specified by:
getRatioin classDescriptiveRatioGauge- Returns:
- the Ratio which is the gauge's current value
-