Class IgniteStorageMetrics

java.lang.Object
com.broadleafcommerce.common.extension.cache.IgniteStorageMetrics
All Implemented Interfaces:
io.micrometer.core.instrument.binder.MeterBinder

public class IgniteStorageMetrics extends Object implements io.micrometer.core.instrument.binder.MeterBinder
Add some ignite specific cache metrics to micrometer output on interval.
  • Constructor Summary

    Constructors
    Constructor
    Description
    IgniteStorageMetrics(org.apache.ignite.Ignite ignite, String region, long metricsRefreshFrequencyMillis, Iterable<io.micrometer.core.instrument.Tag> tags)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    bindTo(io.micrometer.core.instrument.MeterRegistry registry)
     
    monitor(io.micrometer.core.instrument.MeterRegistry registry, String region, org.apache.ignite.Ignite ignite, long metricsRefreshFrequencyMillis, String... tags)
     
    void
    refresh(org.apache.ignite.DataRegionMetrics newMetrics)
     
    void
    unregister(io.micrometer.core.instrument.MeterRegistry registry)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • IgniteStorageMetrics

      public IgniteStorageMetrics(org.apache.ignite.Ignite ignite, String region, long metricsRefreshFrequencyMillis, Iterable<io.micrometer.core.instrument.Tag> tags)
  • Method Details

    • monitor

      public static IgniteStorageMetrics monitor(io.micrometer.core.instrument.MeterRegistry registry, String region, org.apache.ignite.Ignite ignite, long metricsRefreshFrequencyMillis, String... tags)
    • bindTo

      public void bindTo(io.micrometer.core.instrument.MeterRegistry registry)
      Specified by:
      bindTo in interface io.micrometer.core.instrument.binder.MeterBinder
    • refresh

      public void refresh(org.apache.ignite.DataRegionMetrics newMetrics)
    • unregister

      public void unregister(io.micrometer.core.instrument.MeterRegistry registry)