java.lang.Object
java.lang.Enum<MetricsLevel>
software.amazon.awscdk.services.kinesis.analytics.flink.MetricsLevel
All Implemented Interfaces:
Serializable, Comparable<MetricsLevel>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:39.674Z") @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_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 Details

    • APPLICATION

      @Stability(Experimental) public static final MetricsLevel APPLICATION
      (experimental) Application sends the least metrics to CloudWatch.
    • TASK

      @Stability(Experimental) public static final MetricsLevel TASK
      (experimental) Task includes task-level metrics sent to CloudWatch.
    • OPERATOR

      @Stability(Experimental) public static final MetricsLevel OPERATOR
      (experimental) Operator includes task-level and operator-level metrics sent to CloudWatch.
    • PARALLELISM

      @Stability(Experimental) public static final MetricsLevel PARALLELISM
      (experimental) Send all metrics including metrics per task thread.
  • Method Details

    • values

      public static MetricsLevel[] 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

      public static MetricsLevel valueOf(String name)
      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 name
      NullPointerException - if the argument is null