interface JMXPrometheusExporterProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ApplicationInsights.CfnApplication.JMXPrometheusExporterProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsapplicationinsights#CfnApplication_JMXPrometheusExporterProperty |
![]() | software.amazon.awscdk.services.applicationinsights.CfnApplication.JMXPrometheusExporterProperty |
![]() | aws_cdk.aws_applicationinsights.CfnApplication.JMXPrometheusExporterProperty |
![]() | aws-cdk-lib » aws_applicationinsights » CfnApplication » JMXPrometheusExporterProperty |
The AWS::ApplicationInsights::Application JMXPrometheusExporter
property type defines the JMXPrometheus Exporter configuration.
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 { aws_applicationinsights as applicationinsights } from 'aws-cdk-lib';
const jMXPrometheusExporterProperty: applicationinsights.CfnApplication.JMXPrometheusExporterProperty = {
hostPort: 'hostPort',
jmxurl: 'jmxurl',
prometheusPort: 'prometheusPort',
};
Properties
Name | Type | Description |
---|---|---|
host | string | The host and port to connect to through remote JMX. |
jmxurl? | string | The complete JMX URL to connect to. |
prometheus | string | The target port to send Prometheus metrics to. |
hostPort?
Type:
string
(optional)
The host and port to connect to through remote JMX.
Only one of jmxURL
and hostPort
can be specified.
jmxurl?
Type:
string
(optional)
The complete JMX URL to connect to.
prometheusPort?
Type:
string
(optional)
The target port to send Prometheus metrics to.
If not specified, the default port 9404
is used.