Package io.micrometer.cloudwatch2
Interface CloudWatchConfig
- All Superinterfaces:
io.micrometer.core.instrument.config.MeterRegistryConfig,io.micrometer.core.instrument.push.PushRegistryConfig,io.micrometer.core.instrument.step.StepRegistryConfig
public interface CloudWatchConfig
extends io.micrometer.core.instrument.step.StepRegistryConfig
Configuration for CloudWatch exporting.
- Since:
- 1.2.0
-
Field Summary
Fields -
Method Summary
Methods inherited from interface io.micrometer.core.instrument.config.MeterRegistryConfig
get, requireValidMethods inherited from interface io.micrometer.core.instrument.push.PushRegistryConfig
connectTimeout, enabled, numThreads, readTimeout, step
-
Field Details
-
MAX_BATCH_SIZE
static final int MAX_BATCH_SIZE- See Also:
-
-
Method Details
-
prefix
- Specified by:
prefixin interfaceio.micrometer.core.instrument.config.MeterRegistryConfig
-
namespace
-
batchSize
default int batchSize()- Specified by:
batchSizein interfaceio.micrometer.core.instrument.push.PushRegistryConfig
-
highResolution
@Incubating(since="1.6.0") default boolean highResolution()Whether to ship high-resolution metrics to CloudWatch at a higher cost. By default, if the step interval is less than one minute, we assume that high-resolution metrics are also desired. This is incubating because CloudWatch supports making this decision on a per-metric level. It's believed that deciding on a per-registry level leads to simpler configuration and will be satisfactory in most cases. To only ship a certain subset of metrics at high resolution, twoCloudWatchMeterRegistryinstances can be configured. One is configured with high-resolution and aMeterFilter.denyUnless(Predicate)filter. The other is configured with low-resolution and aMeterFilter.deny(Predicate)filter. Both use the same predicate.- Returns:
- The decision about whether to accept higher cost high-resolution metrics.
- Since:
- 1.6.0
-
validate
default io.micrometer.core.instrument.config.validate.Validated<?> validate()- Specified by:
validatein interfaceio.micrometer.core.instrument.config.MeterRegistryConfig- Specified by:
validatein interfaceio.micrometer.core.instrument.push.PushRegistryConfig
-