> **Experimental**
>
> `@aws-cdk/aws-msk-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# MonitoringConfiguration

Monitoring Configuration.

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/cluster.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0-alpha.0/packages/@aws-cdk/aws-msk-alpha/lib/cluster.ts#L274)

## Example

```ts
// 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

- `clusterMonitoringLevel`: [ClusterMonitoringLevel](/cdk/api/v2/docs/@aws-cdk_aws-msk-alpha.ClusterMonitoringLevel.html) = DEFAULT — Specifies the level of monitoring for the MSK cluster.

- `enablePrometheusJmxExporter`: boolean = false — Indicates whether you want to enable or disable the JMX Exporter.

- `enablePrometheusNodeExporter`: boolean = 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.
