Class MetricsLevel
(experimental) Granularity of metrics sent to CloudWatch.
Inheritance
Namespace: Amazon.CDK.AWS.KinesisAnalyticsFlink
Assembly: Amazon.CDK.AWS.KinesisAnalyticsFlink.dll
Syntax (csharp)
public sealed class MetricsLevel : Enum
Syntax (vb)
Public NotInheritable Class MetricsLevel
Inherits
Enum
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
Bucket bucket;
var flinkApp = new Application(this, "Application", new ApplicationProps {
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")
});
Synopsis
Fields
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. |
value__ |
Fields
APPLICATION
(experimental) Application sends the least metrics to CloudWatch.
public const MetricsLevel APPLICATION
Field Value
Type | Description |
---|---|
MetricsLevel |
Remarks
Stability: Experimental
OPERATOR
(experimental) Operator includes task-level and operator-level metrics sent to CloudWatch.
public const MetricsLevel OPERATOR
Field Value
Type | Description |
---|---|
MetricsLevel |
Remarks
Stability: Experimental
PARALLELISM
(experimental) Send all metrics including metrics per task thread.
public const MetricsLevel PARALLELISM
Field Value
Type | Description |
---|---|
MetricsLevel |
Remarks
Stability: Experimental
TASK
(experimental) Task includes task-level metrics sent to CloudWatch.
public const MetricsLevel TASK
Field Value
Type | Description |
---|---|
MetricsLevel |
Remarks
Stability: Experimental
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |