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 inherited from class io.micrometer.core.instrument.MeterRegistry
clock
-
Constructor Summary
ConstructorDescriptionOracleCloudMeterRegistry
(io.micronaut.http.client.HttpClientRegistry<?> httpClientRegistry, OracleCloudConfig oracleCloudConfig, io.micrometer.core.instrument.Clock clock, jakarta.inject.Provider<MonitoringIngestionClient> monitoringIngestionClientProvider) Deprecated, for removal: This API element is subject to removal in a future version.OracleCloudMeterRegistry
(io.micronaut.http.client.HttpClientRegistry<?> httpClientRegistry, OracleCloudConfig oracleCloudConfig, io.micrometer.core.instrument.Clock clock, jakarta.inject.Provider<MonitoringIngestionClient> monitoringIngestionClientProvider, ThreadFactory threadFactory) Deprecated, for removal: This API element is subject to removal in a future version.UseOracleCloudMeterRegistry(OracleCloudConfig, Clock, Provider, ThreadFactory)
instead.OracleCloudMeterRegistry
(OracleCloudConfig oracleCloudConfig, io.micrometer.core.instrument.Clock clock, jakarta.inject.Provider<MonitoringIngestionClient> monitoringIngestionClientProvider) -
Method Summary
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, 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
-
Field Details
-
oracleCloudConfig
-
-
Constructor Details
-
OracleCloudMeterRegistry
public OracleCloudMeterRegistry(OracleCloudConfig oracleCloudConfig, io.micrometer.core.instrument.Clock clock, jakarta.inject.Provider<MonitoringIngestionClient> monitoringIngestionClientProvider) - Parameters:
oracleCloudConfig
- Oracle Cloud Configclock
- ClockmonitoringIngestionClientProvider
- Monitoring Ingestion Client Provider
-
OracleCloudMeterRegistry
@Deprecated(forRemoval=true, since="4.3.0") public OracleCloudMeterRegistry(io.micronaut.http.client.HttpClientRegistry<?> httpClientRegistry, OracleCloudConfig oracleCloudConfig, io.micrometer.core.instrument.Clock clock, jakarta.inject.Provider<MonitoringIngestionClient> monitoringIngestionClientProvider) Deprecated, for removal: This API element is subject to removal in a future version.UseOracleCloudMeterRegistry(OracleCloudConfig, Clock, Provider, ThreadFactory)
instead.- Parameters:
httpClientRegistry
- Http Client RegistryoracleCloudConfig
- Oracle Cloud Configclock
- ClockmonitoringIngestionClientProvider
- Monitoring Ingestion Client Provider
-
OracleCloudMeterRegistry
@Deprecated(forRemoval=true, since="4.3.0") public OracleCloudMeterRegistry(io.micronaut.http.client.HttpClientRegistry<?> httpClientRegistry, OracleCloudConfig oracleCloudConfig, io.micrometer.core.instrument.Clock clock, jakarta.inject.Provider<MonitoringIngestionClient> monitoringIngestionClientProvider, ThreadFactory threadFactory) Deprecated, for removal: This API element is subject to removal in a future version.UseOracleCloudMeterRegistry(OracleCloudConfig, Clock, Provider, ThreadFactory)
instead.- Parameters:
httpClientRegistry
- Http Client RegistryoracleCloudConfig
- Oracle Cloud Configclock
- ClockmonitoringIngestionClientProvider
- Monitoring Ingestion Client ProviderthreadFactory
- Thread Factory
-
-
Method Details
-
getMetricData
- Returns:
- list of all
Meter
data transformed intoMetricDataDetails
-
getBaseTimeUnit
- Specified by:
getBaseTimeUnit
in classio.micrometer.core.instrument.MeterRegistry
-
publish
protected void publish()- Specified by:
publish
in classio.micrometer.core.instrument.push.PushMeterRegistry
-
OracleCloudMeterRegistry(OracleCloudConfig, Clock, Provider, ThreadFactory)
instead.