Class AppOpticsMeterRegistry

java.lang.Object
io.micrometer.core.instrument.MeterRegistry
io.micrometer.core.instrument.push.PushMeterRegistry
io.micrometer.core.instrument.step.StepMeterRegistry
io.micrometer.appoptics.AppOpticsMeterRegistry

public class AppOpticsMeterRegistry
extends io.micrometer.core.instrument.step.StepMeterRegistry
Publishes metrics to AppOptics.
Since:
1.1.0
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static class  AppOpticsMeterRegistry.Builder  

    Nested classes/interfaces inherited from class io.micrometer.core.instrument.MeterRegistry

    io.micrometer.core.instrument.MeterRegistry.Config, io.micrometer.core.instrument.MeterRegistry.More
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected static java.lang.String BODY_MEASUREMENTS_PREFIX  

    Fields inherited from class io.micrometer.core.instrument.MeterRegistry

    clock
  • Constructor Summary

    Constructors
    Modifier Constructor Description
      AppOpticsMeterRegistry​(AppOpticsConfig config, io.micrometer.core.instrument.Clock clock)  
    protected AppOpticsMeterRegistry​(AppOpticsConfig config, io.micrometer.core.instrument.Clock clock, java.util.concurrent.ThreadFactory threadFactory, io.micrometer.core.ipc.http.HttpSender httpClient)  
  • Method Summary

    Modifier and Type Method Description
    static AppOpticsMeterRegistry.Builder builder​(AppOpticsConfig config)  
    protected java.util.concurrent.TimeUnit getBaseTimeUnit()  
    protected void publish()  

    Methods inherited from class io.micrometer.core.instrument.step.StepMeterRegistry

    defaultHistogramConfig, newCounter, newDistributionSummary, newFunctionCounter, newFunctionTimer, newGauge, newLongTaskTimer, newMeter, newTimer

    Methods inherited from class io.micrometer.core.instrument.push.PushMeterRegistry

    close, start, start, stop

    Methods inherited from class io.micrometer.core.instrument.MeterRegistry

    clear, config, counter, counter, find, forEachMeter, gauge, gauge, gauge, gauge, gaugeCollectionSize, gaugeMapSize, get, getConventionName, getConventionTags, getMeters, isClosed, more, newLongTaskTimer, newTimeGauge, remove, remove, summary, summary, timer, timer

    Methods inherited from class java.lang.Object

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

    • BODY_MEASUREMENTS_PREFIX

      protected static final java.lang.String BODY_MEASUREMENTS_PREFIX
      See Also:
      Constant Field Values
  • Constructor Details

    • AppOpticsMeterRegistry

      public AppOpticsMeterRegistry​(AppOpticsConfig config, io.micrometer.core.instrument.Clock clock)
    • AppOpticsMeterRegistry

      protected AppOpticsMeterRegistry​(AppOpticsConfig config, io.micrometer.core.instrument.Clock clock, java.util.concurrent.ThreadFactory threadFactory, io.micrometer.core.ipc.http.HttpSender httpClient)
  • Method Details

    • builder

      public static AppOpticsMeterRegistry.Builder builder​(AppOpticsConfig config)
    • publish

      protected void publish()
      Specified by:
      publish in class io.micrometer.core.instrument.push.PushMeterRegistry
    • getBaseTimeUnit

      protected java.util.concurrent.TimeUnit getBaseTimeUnit()
      Specified by:
      getBaseTimeUnit in class io.micrometer.core.instrument.MeterRegistry