Enum MetricsLevel
java.lang.Object
java.lang.Enum<MetricsLevel>
software.amazon.awscdk.services.kinesisanalytics.flink.alpha.MetricsLevel
- All Implemented Interfaces:
Serializable
,Comparable<MetricsLevel>
,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-09T21:22:32.371Z")
@Stability(Experimental)
public enum MetricsLevel
extends Enum<MetricsLevel>
(experimental) Granularity of metrics sent to CloudWatch.
Example:
Bucket bucket; Application flinkApp = Application.Builder.create(this, "Application") .code(ApplicationCode.fromBucket(bucket, "my-app.jar")) .runtime(Runtime.FLINK_1_20) .checkpointingEnabled(true) // default is true .checkpointInterval(Duration.seconds(30)) // default is 1 minute .minPauseBetweenCheckpoints(Duration.seconds(10)) // default is 5 seconds .logLevel(LogLevel.ERROR) // default is INFO .metricsLevel(MetricsLevel.PARALLELISM) // default is APPLICATION .autoScalingEnabled(false) // default is true .parallelism(32) // default is 1 .parallelismPerKpu(2) // default is 1 .snapshotsEnabled(false) // default is true .logGroup(new LogGroup(this, "LogGroup")) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription(experimental) Application sends the least metrics to CloudWatch.(experimental) Operator includes task-level and operator-level metrics sent to CloudWatch.(experimental) Send all metrics including metrics per task thread.(experimental) Task includes task-level metrics sent to CloudWatch. -
Method Summary
Modifier and TypeMethodDescriptionstatic MetricsLevel
Returns the enum constant of this type with the specified name.static MetricsLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
APPLICATION
(experimental) Application sends the least metrics to CloudWatch. -
TASK
(experimental) Task includes task-level metrics sent to CloudWatch. -
OPERATOR
(experimental) Operator includes task-level and operator-level metrics sent to CloudWatch. -
PARALLELISM
(experimental) Send all metrics including metrics per task thread.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-