@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:53.513Z") @Stability(value=Experimental) public interface MonitoringConfiguration extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.msk.*;
MonitoringConfiguration monitoringConfiguration = MonitoringConfiguration.builder()
.clusterMonitoringLevel(ClusterMonitoringLevel.DEFAULT)
.enablePrometheusJmxExporter(false)
.enablePrometheusNodeExporter(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
MonitoringConfiguration.Builder
A builder for
MonitoringConfiguration |
static class |
MonitoringConfiguration.Jsii$Proxy
An implementation for
MonitoringConfiguration |
| Modifier and Type | Method and Description |
|---|---|
static MonitoringConfiguration.Builder |
builder() |
default ClusterMonitoringLevel |
getClusterMonitoringLevel()
(experimental) Specifies the level of monitoring for the MSK cluster.
|
default Boolean |
getEnablePrometheusJmxExporter()
(experimental) Indicates whether you want to enable or disable the JMX Exporter.
|
default Boolean |
getEnablePrometheusNodeExporter()
(experimental) Indicates whether you want to enable or disable the Prometheus Node Exporter.
|
@Stability(value=Experimental) @Nullable default ClusterMonitoringLevel getClusterMonitoringLevel()
Default: DEFAULT
@Stability(value=Experimental) @Nullable default Boolean getEnablePrometheusJmxExporter()
Default: false
@Stability(value=Experimental) @Nullable default Boolean getEnablePrometheusNodeExporter()
You can use the Prometheus Node Exporter to get CPU and disk metrics for the broker nodes.
Default: false
@Stability(value=Experimental) static MonitoringConfiguration.Builder builder()
MonitoringConfiguration.Builder of MonitoringConfigurationCopyright © 2022. All rights reserved.