Class NoOpMetricsConfig
- java.lang.Object
-
- ai.konduit.serving.config.metrics.NoOpMetricsConfig
-
- All Implemented Interfaces:
MetricsConfig,TextConfig
public class NoOpMetricsConfig extends java.lang.Object implements MetricsConfig
A no opMetricsConfigfor use with theMetricsBinderRendererAdapter- Author:
- Adam Gibson
-
-
Constructor Summary
Constructors Constructor Description NoOpMetricsConfig()
-
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 NoOpMetricsConfigfromJson(java.lang.String json)static NoOpMetricsConfigfromYaml(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 NoOpMetricsConfig fromJson(java.lang.String json)
-
fromYaml
public static NoOpMetricsConfig fromYaml(java.lang.String yaml)
-
-