Interface CfnApplicationPropsMixin.IJMXPrometheusExporterProperty
The AWS::ApplicationInsights::Application JMXPrometheusExporter property type defines the JMXPrometheus Exporter configuration.
Namespace: Amazon.CDK.Mixins.Preview.AWS.ApplicationInsights.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface CfnApplicationPropsMixin.IJMXPrometheusExporterProperty
Syntax (vb)
Public Interface CfnApplicationPropsMixin.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.Mixins.Preview.AWS.ApplicationInsights.Mixins;
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.
string? HostPort { get; }
Property Value
Remarks
Only one of jmxURL and hostPort can be specified.
Jmxurl
The complete JMX URL to connect to.
string? Jmxurl { get; }
Property Value
Remarks
PrometheusPort
The target port to send Prometheus metrics to.
string? PrometheusPort { get; }
Property Value
Remarks
If not specified, the default port 9404 is used.