Interface CfnApplication.IJMXPrometheusExporterProperty
The AWS::ApplicationInsights::Application JMXPrometheusExporter
property type defines the JMXPrometheus Exporter configuration.
Namespace: Amazon.CDK.AWS.ApplicationInsights
Assembly: Amazon.CDK.AWS.ApplicationInsights.dll
Syntax (csharp)
public interface IJMXPrometheusExporterProperty
Syntax (vb)
Public Interface IJMXPrometheusExporterProperty
Remarks
For more information, see the component configuration in the CloudWatch Application Insights documentation.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ApplicationInsights;
var jMXPrometheusExporterProperty = new JMXPrometheusExporterProperty {
HostPort = "hostPort",
Jmxurl = "jmxurl",
PrometheusPort = "prometheusPort"
};
Synopsis
Properties
HostPort | The host and port to connect to through remote JMX. |
Jmxurl | The complete JMX URL to connect to. |
PrometheusPort | The target port to send Prometheus metrics to. |
Properties
HostPort
The host and port to connect to through remote JMX.
virtual string HostPort { get; }
Property Value
System.String
Remarks
Only one of jmxURL
and hostPort
can be specified.
Jmxurl
The complete JMX URL to connect to.
virtual string Jmxurl { get; }
Property Value
System.String
Remarks
PrometheusPort
The target port to send Prometheus metrics to.
virtual string PrometheusPort { get; }
Property Value
System.String
Remarks
If not specified, the default port 9404
is used.