interface MonitoringConfiguration
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MSK.MonitoringConfiguration |
Java | software.amazon.awscdk.services.msk.MonitoringConfiguration |
Python | aws_cdk.aws_msk.MonitoringConfiguration |
TypeScript (source) | @aws-cdk/aws-msk » MonitoringConfiguration |
Monitoring Configuration.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as msk from '@aws-cdk/aws-msk';
const monitoringConfiguration: msk.MonitoringConfiguration = {
clusterMonitoringLevel: msk.ClusterMonitoringLevel.DEFAULT,
enablePrometheusJmxExporter: false,
enablePrometheusNodeExporter: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| cluster | Cluster | Specifies the level of monitoring for the MSK cluster. |
| enable | boolean | Indicates whether you want to enable or disable the JMX Exporter. |
| enable | boolean | Indicates whether you want to enable or disable the Prometheus Node Exporter. |
clusterMonitoringLevel?
Type:
Cluster
(optional, default: DEFAULT)
Specifies the level of monitoring for the MSK cluster.
enablePrometheusJmxExporter?
Type:
boolean
(optional, default: false)
Indicates whether you want to enable or disable the JMX Exporter.
enablePrometheusNodeExporter?
Type:
boolean
(optional, default: false)
Indicates whether you want to enable or disable the Prometheus Node Exporter.
You can use the Prometheus Node Exporter to get CPU and disk metrics for the broker nodes.

.NET
Java
Python
TypeScript (