interface MonitoringConfiguration
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.MSK.Alpha.MonitoringConfiguration |
![]() | github.com/aws/aws-cdk-go/awscdkmskalpha/v2#MonitoringConfiguration |
![]() | software.amazon.awscdk.services.msk.alpha.MonitoringConfiguration |
![]() | aws_cdk.aws_msk_alpha.MonitoringConfiguration |
![]() | @aws-cdk/aws-msk-alpha ยป 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_alpha from '@aws-cdk/aws-msk-alpha';
const monitoringConfiguration: msk_alpha.MonitoringConfiguration = {
clusterMonitoringLevel: msk_alpha.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.