Class MultiLabelMetricsConfig
- java.lang.Object
-
- ai.konduit.serving.config.metrics.impl.MultiLabelMetricsConfig
-
- All Implemented Interfaces:
MetricsConfig,TextConfig
public class MultiLabelMetricsConfig extends java.lang.Object implements MetricsConfig
A metrics configuration for a metrics render that, given a set of specified labels takes in counts of columns to increment. The input is either a matrix or a vector representing the columns to increment the count by. The column counts should be the same order as the specified labels for this configuration.- Author:
- Adam Gibson
-
-
Constructor Summary
Constructors Constructor Description MultiLabelMetricsConfig()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>configValues()The configuration value separated by name and valuestatic MultiLabelMetricsConfigfromJson(java.lang.String json)static MultiLabelMetricsConfigfromYaml(java.lang.String yaml)java.lang.Class<? extends io.micrometer.core.instrument.binder.MeterBinder>metricsBinderImplementation()MeterBinderimplementation associated with this configuration-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ai.konduit.serving.config.TextConfig
toJson, toJsonObject, toYaml
-
-
-
-
Method Detail
-
metricsBinderImplementation
public java.lang.Class<? extends io.micrometer.core.instrument.binder.MeterBinder> metricsBinderImplementation()
Description copied from interface:MetricsConfigMeterBinderimplementation associated with this configuration- Specified by:
metricsBinderImplementationin interfaceMetricsConfig- Returns:
- teh meter binder class associated with this configuration
-
configValues
public java.util.Map<java.lang.String,java.lang.Object> configValues()
Description copied from interface:MetricsConfigThe configuration value separated by name and value- Specified by:
configValuesin interfaceMetricsConfig- Returns:
-
fromJson
public static MultiLabelMetricsConfig fromJson(java.lang.String json)
-
fromYaml
public static MultiLabelMetricsConfig fromYaml(java.lang.String yaml)
-
-