@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-19T23:09:26.590Z") @Stability(value=Experimental) public enum MetricsLevel extends Enum<MetricsLevel>
Example:
Bucket bucket; Application flinkApp = Application.Builder.create(this, "Application") .code(ApplicationCode.fromBucket(bucket, "my-app.jar")) .runtime(Runtime.FLINK_1_13) .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();
Enum Constant and Description |
---|
APPLICATION
(experimental) Application sends the least metrics 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.
|
TASK
(experimental) Task includes task-level metrics sent to CloudWatch.
|
Modifier and Type | Method and Description |
---|---|
static MetricsLevel |
valueOf(String name)
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.
|
@Stability(value=Experimental) public static final MetricsLevel APPLICATION
@Stability(value=Experimental) public static final MetricsLevel TASK
@Stability(value=Experimental) public static final MetricsLevel OPERATOR
@Stability(value=Experimental) public static final MetricsLevel PARALLELISM
public static MetricsLevel[] values()
for (MetricsLevel c : MetricsLevel.values()) System.out.println(c);
public static MetricsLevel valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2023. All rights reserved.