MonitoringConfiguration

class aws_cdk.aws_msk.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: DEFAULT

  • enable_prometheus_jmx_exporter (Optional[bool]) – (experimental) Indicates whether you want to enable or disable the JMX Exporter. Default: false

  • enable_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

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 as msk

monitoring_configuration = msk.MonitoringConfiguration(
    cluster_monitoring_level=msk.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

Return type

Optional[ClusterMonitoringLevel]

enable_prometheus_jmx_exporter

(experimental) Indicates whether you want to enable or disable the JMX Exporter.

Default

false

Stability

experimental

Return type

Optional[bool]

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

Return type

Optional[bool]