You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See [API](API.md) for complete auto-generated documentation.
70
78
79
+
You can also browse the documentation at https://constructs.dev/packages/cdk-monitoring-constructs/
80
+
81
+
| Item | Monitoring | Alarms | Notes |
82
+
| ---- | ---------- | ------ | ----- |
83
+
| AWS API Gateway (REST API) (`.monitorApiGateway()`) | TPS, latency, errors | Latency, error count/rate | To see metrics, you have to enable Advanced Monitoring |
84
+
| AWS API Gateway V2 (HTTP API) (`.monitorApiGatewayV2HttpApi()`) | TPS, latency, errors | Latency, error count/rate | To see route level metrics, you have to enable Advanced Monitoring|
| AWS Kinesis Data Stream (`.monitorKinesisDataStream()`) | Put/Get/Incoming Record/s and Throttling | Iterator max age ||
99
+
| AWS Kinesis Firehose (`.monitorKinesisFirehose()`) | Number of records, requests, latency |||
100
+
| AWS Lambda (`.monitorLambdaFunction()`) | Latency, errors, iterator max age | Latency, errors, throttles, iterator max age | Optional Lambda Insights metrics (opt-in) support |
101
+
| AWS Load Balancing (`.monitorNetworkLoadBalancer()`, `.monitorFargateApplicationLoadBalancer()`, `.monitorFargateNetworkLoadBalancer()`, `.monitorEc2ApplicationLoadBalancer()`, `.monitorEc2NetworkLoadBalancer()`) | System resources and task health | Unhealthy task count, running tasks count, (for Fargate/Ec2 apps) CPU/memory usage | Use for FargateService or Ec2Service backed by a NetworkLoadBalancer or ApplicationLoadBalancer |
102
+
| AWS OpenSearch/Elasticsearch (`.monitorOpenSearchCluster()`, `.monitorElasticsearchCluster()`) | Indexing and search latency, disk/memory/CPU usage | Indexing and search latency, disk/memory/CPU usage, cluster status ||
103
+
| AWS RDS (`.monitorRdsCluster()`) | Query duration, connections, latency, disk/CPU usage | Disk and CPU usage ||
104
+
| AWS Redshift (`.monitorRedshiftCluster()`) | Query duration, connections, latency, disk/CPU usage | Disk and CPU usage ||
105
+
| AWS S3 Bucket (`.monitorS3Bucket()`) | Bucket size and number of objects |||
106
+
| AWS SecretsManager (`.monitorSecretsManagerSecret()`) | Days since last rotation | Days since last rotation | Requires the `@aws-cdk/aws-secretsmanager:parseOwnedSecretName`[feature flag](https://docs.aws.amazon.com/cdk/latest/guide/featureflags.html)|
- monitoring of execution count and breakdown per state
163
-
- alarms on duration, failed, failed rate, aborted, throttled, timed out executions
164
-
- AWS Billing (`.monitorBilling()`)
165
-
- monitoring AWS account cost ([you need to enable](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/gs_monitor_estimated_charges_with_cloudwatch.html#gs_turning_on_billing_metrics) the **Receive Billing Alerts** option in AWS Console / Billing Preferences)
166
-
- no alarms support yet
167
-
- CloudWatch Logs (`.monitorLog()`)
168
-
- monitoring of patterns present in the log group
169
-
- Custom metrics (`.monitorCustom()`)
170
-
- simple addition of custom metrics into the dashboard (each group is a widget)
171
-
- supports anomaly detection
172
-
173
117
## License
174
118
175
119
This project is licensed under the Apache-2.0 License.
0 commit comments