Class OracleCloudRawMeterRegistry

java.lang.Object
io.micrometer.core.instrument.MeterRegistry
io.micrometer.core.instrument.push.PushMeterRegistry
io.micrometer.core.instrument.step.StepMeterRegistry
io.micronaut.oraclecloud.monitoring.micrometer.OracleCloudRawMeterRegistry

public class OracleCloudRawMeterRegistry extends io.micrometer.core.instrument.step.StepMeterRegistry
StepMeterRegistry for Oracle Cloud Monitoring that produces raw data.
Since:
3.6
Author:
Nemanja Mikic
  • Nested Class Summary

    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 final OracleCloudConfig
     

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

    clock
  • Constructor Summary

    Constructors
    Constructor
    Description
    OracleCloudRawMeterRegistry(OracleCloudConfig oracleCloudConfig, io.micrometer.core.instrument.Clock clock, jakarta.inject.Provider<MonitoringIngestionClient> monitoringIngestionClientProvider)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected TimeUnit
     
    protected List<com.oracle.bmc.monitoring.model.MetricDataDetails>
     
    io.micrometer.core.instrument.Counter
    newCounter(io.micrometer.core.instrument.Meter.Id id)
     
    io.micrometer.core.instrument.DistributionSummary
    newDistributionSummary(io.micrometer.core.instrument.Meter.Id id, io.micrometer.core.instrument.distribution.DistributionStatisticConfig distributionStatisticConfig, double scale)
     
    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
     

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

    close, defaultHistogramConfig, newFunctionCounter, newFunctionTimer, newGauge, newLongTaskTimer, newMeter, start, stop

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

    getLastScheduledPublishStartTime, isPublishing, start, startMessage, waitForInProgressScheduledPublish

    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
  • Field Details

  • Constructor Details

    • OracleCloudRawMeterRegistry

      public OracleCloudRawMeterRegistry(OracleCloudConfig oracleCloudConfig, io.micrometer.core.instrument.Clock clock, jakarta.inject.Provider<MonitoringIngestionClient> monitoringIngestionClientProvider)
  • Method Details

    • newTimer

      public 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
      Parameters:
      id - The id that uniquely identifies the timer.
      distributionStatisticConfig - Configuration for published distribution statistics.
      pauseDetector - The pause detector to use for coordinated omission compensation.
      Returns:
    • newCounter

      public io.micrometer.core.instrument.Counter newCounter(io.micrometer.core.instrument.Meter.Id id)
      Overrides:
      newCounter in class io.micrometer.core.instrument.step.StepMeterRegistry
      Parameters:
      id - The id that uniquely identifies the counter.
      Returns:
    • newDistributionSummary

      public 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
      Parameters:
      id - The id that uniquely identifies the distribution summary.
      distributionStatisticConfig - Configuration for published distribution statistics.
      scale - Multiply every recorded sample by this factor.
      Returns:
    • getMetricData

      protected List<com.oracle.bmc.monitoring.model.MetricDataDetails> getMetricData()
    • getBaseTimeUnit

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

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