Interface OracleCloudConfig
- All Superinterfaces:
io.micrometer.core.instrument.config.MeterRegistryConfig
,io.micrometer.core.instrument.push.PushRegistryConfig
,io.micrometer.core.instrument.step.StepRegistryConfig
public interface OracleCloudConfig
extends io.micrometer.core.instrument.step.StepRegistryConfig
Configuration for
OracleCloudMeterRegistry
.- Since:
- 1.2
- Author:
- Pavol Gressa
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
Application name used as a default dimension forMetricDataDetails
.default com.oracle.bmc.monitoring.model.PostMetricDataDetails.BatchAtomicity
default int
default String
default boolean
Flag whether meter description should be sent to monitoring service.default String
default String
prefix()
default String
A resource group is a custom string that can be used as a filter.default io.micrometer.core.instrument.config.validate.Validated<?>
validate()
Methods inherited from interface io.micrometer.core.instrument.config.MeterRegistryConfig
get, requireValid
Methods inherited from interface io.micrometer.core.instrument.push.PushRegistryConfig
connectTimeout, enabled, numThreads, readTimeout, step
-
Field Details
-
PREFIX
- See Also:
-
NAMESPACE_REGEX
- See Also:
-
NAMESPACE_PATTERN
-
-
Method Details
-
prefix
- Specified by:
prefix
in interfaceio.micrometer.core.instrument.config.MeterRegistryConfig
-
batchAtomicity
default com.oracle.bmc.monitoring.model.PostMetricDataDetails.BatchAtomicity batchAtomicity()- Returns:
- batch atomicity behaviour
-
applicationName
Application name used as a default dimension forMetricDataDetails
.- Returns:
- application name
-
namespace
- Returns:
- metric namespace.
-
compartmentId
- Returns:
- metrics compartment id, if not provided then OCI SDK tenantId is used.
-
resourceGroup
A resource group is a custom string that can be used as a filter.- Returns:
- resource group
-
description
default boolean description()Flag whether meter description should be sent to monitoring service.- Returns:
- description flag
-
batchSize
default int batchSize()- Specified by:
batchSize
in interfaceio.micrometer.core.instrument.push.PushRegistryConfig
- Returns:
- maximum number of metrics sent in one request, defaults to 50.
-
validate
default io.micrometer.core.instrument.config.validate.Validated<?> validate()- Specified by:
validate
in interfaceio.micrometer.core.instrument.config.MeterRegistryConfig
- Specified by:
validate
in interfaceio.micrometer.core.instrument.push.PushRegistryConfig
-