Class OracleCloudMeterRegistry

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.OracleCloudMeterRegistry

public class OracleCloudMeterRegistry extends io.micrometer.core.instrument.step.StepMeterRegistry
StepMeterRegistry for Oracle Cloud Monitoring that produces aggregated data.
Since:
1.2
Author:
Pavol Gressa
  • 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
    OracleCloudMeterRegistry(OracleCloudConfig oracleCloudConfig, io.micrometer.core.instrument.Clock clock, jakarta.inject.Provider<MonitoringIngestionClient> monitoringIngestionClientProvider)
     
    OracleCloudMeterRegistry(OracleCloudConfig oracleCloudConfig, io.micrometer.core.instrument.Clock clock, jakarta.inject.Provider<MonitoringIngestionClient> monitoringIngestionClientProvider, ThreadFactory threadFactory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected TimeUnit
     
    protected List<com.oracle.bmc.monitoring.model.MetricDataDetails>
     
    protected void
     

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

    close, defaultHistogramConfig, newCounter, newDistributionSummary, newFunctionCounter, newFunctionTimer, newGauge, newLongTaskTimer, newMeter, newTimer, start, stop

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

    getLastScheduledPublishStartTime, isPublishing, start, 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

    • OracleCloudMeterRegistry

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

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

    • getMetricData

      protected List<com.oracle.bmc.monitoring.model.MetricDataDetails> getMetricData()
      Returns:
      list of all Meter data transformed into MetricDataDetails
    • 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