@aws-cdk_aws-msk-alpha.MonitoringConfiguration

interface MonitoringConfiguration ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.MSK.Alpha.MonitoringConfiguration
Gogithub.com/aws/aws-cdk-go/awscdkmskalpha/v2#MonitoringConfiguration
Javasoftware.amazon.awscdk.services.msk.alpha.MonitoringConfiguration
Pythonaws_cdk.aws_msk_alpha.MonitoringConfiguration
TypeScript (source)@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

NameTypeDescription
clusterMonitoringLevel?๐Ÿ”นClusterMonitoringLevelSpecifies the level of monitoring for the MSK cluster.
enablePrometheusJmxExporter?๐Ÿ”นbooleanIndicates whether you want to enable or disable the JMX Exporter.
enablePrometheusNodeExporter?๐Ÿ”นbooleanIndicates whether you want to enable or disable the Prometheus Node Exporter.

clusterMonitoringLevel?๐Ÿ”น

Type: ClusterMonitoringLevel (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.