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 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
-
Method Summary
-
Constructor Details
-
SimpleMeterRegistryFactory
public SimpleMeterRegistryFactory()
-
-
Method Details
-
registry
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
- Specified by:
type
in interfaceMeterRegistryFactory<io.micrometer.core.instrument.simple.SimpleMeterRegistry>
-