public static interface CfnApplication.JMXPrometheusExporterProperty
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 java.lang.String |
getHostPort()
The host and port to connect to through remote JMX.
|
default java.lang.String |
getJmxurl()
The complete JMX URL to connect to.
|
default java.lang.String |
getPrometheusPort()
The target port to send Prometheus metrics to.
|
default java.lang.String getHostPort()
Only one of jmxURL
and hostPort
can be specified.
default java.lang.String getJmxurl()
default java.lang.String getPrometheusPort()
If not specified, the default port 9404
is used.
static CfnApplication.JMXPrometheusExporterProperty.Builder builder()