Interface BeanMetricManager

All Known Implementing Classes:
DummyMetricRegistrator, InternalMetricRegistrator, MetricRegistrator, MicrometerRegistrator

public interface BeanMetricManager
Since:
11.0
Author:
Niv Ingberg
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Unregisters all the metrics registered via this BeanMetricManager instance.
    void
    register(String name, Metric metric)
    Registers the specified metric with the specified metric name.
    void
    Unregisters the specified metric.
  • Method Details

    • register

      void register(String name, Metric metric)
      Registers the specified metric with the specified metric name.
      Parameters:
      name - Name of metric to register
      metric - Metric to register
    • unregister

      void unregister(String name)
      Unregisters the specified metric.
      Parameters:
      name - Name of metric to unregister
    • clear

      void clear()
      Unregisters all the metrics registered via this BeanMetricManager instance.