Interface Monitorable


public interface Monitorable
Plugins can implement this interface to register their own metrics.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Provides a PluginMetrics instance from the component that instantiates the plugin.
  • Method Details

    • withPluginMetrics

      void withPluginMetrics(PluginMetrics metrics)
      Provides a PluginMetrics instance from the component that instantiates the plugin. PluginMetrics can be used by the plugin to register and unregister metrics at any point in their lifecycle prior to their close method being called. Any metrics registered will be automatically removed when the plugin is closed.