@Stability(value=Stable)
public static interface CfnApplication.JMXPrometheusExporterProperty
extends software.amazon.jsii.JsiiSerializable
For more information, see the component configuration in the CloudWatch Application Insights documentation.
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.applicationinsights.*;
JMXPrometheusExporterProperty jMXPrometheusExporterProperty = JMXPrometheusExporterProperty.builder()
.hostPort("hostPort")
.jmxurl("jmxurl")
.prometheusPort("prometheusPort")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnApplication.JMXPrometheusExporterProperty.Builder
A builder for
CfnApplication.JMXPrometheusExporterProperty |
static class |
CfnApplication.JMXPrometheusExporterProperty.Jsii$Proxy
An implementation for
CfnApplication.JMXPrometheusExporterProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnApplication.JMXPrometheusExporterProperty.Builder |
builder() |
default String |
getHostPort()
The host and port to connect to through remote JMX.
|
default String |
getJmxurl()
The complete JMX URL to connect to.
|
default String |
getPrometheusPort()
The target port to send Prometheus metrics to.
|
@Stability(value=Stable) @Nullable default String getHostPort()
Only one of jmxURL and hostPort can be specified.
@Stability(value=Stable) @Nullable default String getJmxurl()
@Stability(value=Stable) @Nullable default String getPrometheusPort()
If not specified, the default port 9404 is used.
@Stability(value=Stable) static CfnApplication.JMXPrometheusExporterProperty.Builder builder()
Copyright © 2022. All rights reserved.