MonitoringConfiguration
- class aws_cdk.aws_msk_alpha.MonitoringConfiguration(*, cluster_monitoring_level=None, enable_prometheus_jmx_exporter=None, enable_prometheus_node_exporter=None)
Bases:
object
(experimental) Monitoring Configuration.
- Parameters:
cluster_monitoring_level (
Optional
[ClusterMonitoringLevel
]) – (experimental) Specifies the level of monitoring for the MSK cluster. Default: DEFAULTenable_prometheus_jmx_exporter (
Optional
[bool
]) – (experimental) Indicates whether you want to enable or disable the JMX Exporter. Default: falseenable_prometheus_node_exporter (
Optional
[bool
]) – (experimental) 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. Default: false
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_msk_alpha as msk_alpha monitoring_configuration = msk_alpha.MonitoringConfiguration( cluster_monitoring_level=msk_alpha.ClusterMonitoringLevel.DEFAULT, enable_prometheus_jmx_exporter=False, enable_prometheus_node_exporter=False )
Attributes
- cluster_monitoring_level
(experimental) Specifies the level of monitoring for the MSK cluster.
- Default:
DEFAULT
- Stability:
experimental
- enable_prometheus_jmx_exporter
(experimental) Indicates whether you want to enable or disable the JMX Exporter.
- Default:
false
- Stability:
experimental
- enable_prometheus_node_exporter
(experimental) 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.
- Default:
false
- Stability:
experimental