Package io.openlineage.client.metrics
Class SimpleMeterRegistryFactory
- java.lang.Object
-
- io.openlineage.client.metrics.SimpleMeterRegistryFactory
-
- All Implemented Interfaces:
MeterRegistryFactory<io.micrometer.core.instrument.simple.SimpleMeterRegistry>
public class SimpleMeterRegistryFactory extends java.lang.Object implements MeterRegistryFactory<io.micrometer.core.instrument.simple.SimpleMeterRegistry>
This class implements the MetricsBuilder interface with SimpleMeterRegistry as its type. SimpleMeterRegistry is a type of MeterRegistry, designed for testing functionality that does not require a backend monitoring system.
-
-
Constructor Summary
Constructors Constructor Description SimpleMeterRegistryFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.micrometer.core.instrument.simple.SimpleMeterRegistry
registry(java.util.Map<java.lang.String,java.lang.Object> config)
Constructs a SimpleMeterRegistry.java.lang.String
type()
-
-
-
Method Detail
-
registry
public io.micrometer.core.instrument.simple.SimpleMeterRegistry registry(java.util.Map<java.lang.String,java.lang.Object> config)
Constructs a SimpleMeterRegistry. This method doesn't use the given map parameter, as SimpleMeterRegistry does not require configuration options.- Specified by:
registry
in interfaceMeterRegistryFactory<io.micrometer.core.instrument.simple.SimpleMeterRegistry>
- Parameters:
config
- The map intended to contain the configurations. This parameter is not used.- Returns:
- A new SimpleMeterRegistry instance.
-
type
public java.lang.String type()
- Specified by:
type
in interfaceMeterRegistryFactory<io.micrometer.core.instrument.simple.SimpleMeterRegistry>
-
-