Class StackdriverMeterRegistry

java.lang.Object
io.micrometer.core.instrument.MeterRegistry
io.micrometer.core.instrument.push.PushMeterRegistry
io.micrometer.core.instrument.step.StepMeterRegistry
io.micrometer.stackdriver.StackdriverMeterRegistry

public class StackdriverMeterRegistry extends io.micrometer.core.instrument.step.StepMeterRegistry
StepMeterRegistry for Stackdriver.
Since:
1.1.0
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

    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 inherited from class io.micrometer.core.instrument.MeterRegistry

    clock
  • Constructor Summary

    Constructors
    Constructor
    Description
    StackdriverMeterRegistry(StackdriverConfig config, io.micrometer.core.instrument.Clock clock)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    protected TimeUnit
     
    protected io.micrometer.core.instrument.DistributionSummary
    newDistributionSummary(io.micrometer.core.instrument.Meter.Id id, io.micrometer.core.instrument.distribution.DistributionStatisticConfig distributionStatisticConfig, double scale)
     
    protected io.micrometer.core.instrument.Timer
    newTimer(io.micrometer.core.instrument.Meter.Id id, io.micrometer.core.instrument.distribution.DistributionStatisticConfig distributionStatisticConfig, io.micrometer.core.instrument.distribution.pause.PauseDetector pauseDetector)
     
    protected void
     
    void
    start(ThreadFactory threadFactory)
     
    void
     

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

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

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

    close, start

    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, meterRegistrationFailed, more, newLongTaskTimer, newTimeGauge, remove, remove, removeByPreFilterId, summary, summary, timer, timer

    Methods inherited from class java.lang.Object

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

    • StackdriverMeterRegistry

      public StackdriverMeterRegistry(StackdriverConfig config, io.micrometer.core.instrument.Clock clock)
  • Method Details

    • builder

      public static StackdriverMeterRegistry.Builder builder(StackdriverConfig config)
    • start

      public void start(ThreadFactory threadFactory)
      Overrides:
      start in class io.micrometer.core.instrument.push.PushMeterRegistry
    • stop

      public void stop()
      Overrides:
      stop in class io.micrometer.core.instrument.push.PushMeterRegistry
    • publish

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

      protected io.micrometer.core.instrument.DistributionSummary newDistributionSummary(io.micrometer.core.instrument.Meter.Id id, io.micrometer.core.instrument.distribution.DistributionStatisticConfig distributionStatisticConfig, double scale)
      Overrides:
      newDistributionSummary in class io.micrometer.core.instrument.step.StepMeterRegistry
    • newTimer

      protected io.micrometer.core.instrument.Timer newTimer(io.micrometer.core.instrument.Meter.Id id, io.micrometer.core.instrument.distribution.DistributionStatisticConfig distributionStatisticConfig, io.micrometer.core.instrument.distribution.pause.PauseDetector pauseDetector)
      Overrides:
      newTimer in class io.micrometer.core.instrument.step.StepMeterRegistry
    • getBaseTimeUnit

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