Class CfnApplication.JMXPrometheusExporterProperty
The AWS::ApplicationInsights::Application JMXPrometheusExporter
property type defines the JMXPrometheus Exporter configuration.
Inheritance
System.Object
CfnApplication.JMXPrometheusExporterProperty
Namespace: Amazon.CDK.AWS.ApplicationInsights
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class JMXPrometheusExporterProperty : Object, CfnApplication.IJMXPrometheusExporterProperty
Syntax (vb)
Public Class JMXPrometheusExporterProperty
Inherits Object
Implements CfnApplication.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
Constructors
JMXPrometheusExporterProperty() |
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. |
Constructors
JMXPrometheusExporterProperty()
public JMXPrometheusExporterProperty()
Properties
HostPort
The host and port to connect to through remote JMX.
public string HostPort { get; set; }
Property Value
System.String
Remarks
Only one of jmxURL
and hostPort
can be specified.
Jmxurl
The complete JMX URL to connect to.
public string Jmxurl { get; set; }
Property Value
System.String
Remarks
PrometheusPort
The target port to send Prometheus metrics to.
public string PrometheusPort { get; set; }
Property Value
System.String
Remarks
If not specified, the default port 9404
is used.