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 Details

    • SimpleMeterRegistryFactory

      public SimpleMeterRegistryFactory()
  • Method Details

    • registry

      public io.micrometer.core.instrument.simple.SimpleMeterRegistry registry(Map<String,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 interface MeterRegistryFactory<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 String type()
      Specified by:
      type in interface MeterRegistryFactory<io.micrometer.core.instrument.simple.SimpleMeterRegistry>