aws-cdk-lib.aws_elasticloadbalancingv2.IApplicationTargetGroupMetrics

interface IApplicationTargetGroupMetrics

LanguageType name
.NETAmazon.CDK.AWS.ElasticLoadBalancingV2.IApplicationTargetGroupMetrics
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awselasticloadbalancingv2#IApplicationTargetGroupMetrics
Javasoftware.amazon.awscdk.services.elasticloadbalancingv2.IApplicationTargetGroupMetrics
Pythonaws_cdk.aws_elasticloadbalancingv2.IApplicationTargetGroupMetrics
TypeScript (source)aws-cdk-lib » aws_elasticloadbalancingv2 » IApplicationTargetGroupMetrics

Contains all metrics for a Target Group of a Application Load Balancer.

Methods

NameDescription
custom(metricName, props?)Return the given named metric for this Network Target Group.
healthyHostCount(props?)The number of healthy hosts in the target group.
httpCodeTarget(code, props?)The number of HTTP 2xx/3xx/4xx/5xx response codes generated by all targets in this target group.
ipv6RequestCount(props?)The number of IPv6 requests received by the target group.
requestCount(props?)The number of requests processed over IPv4 and IPv6.
requestCountPerTarget(props?)The average number of requests received by each target in a target group.
targetConnectionErrorCount(props?)The number of connections that were not successfully established between the load balancer and target.
targetResponseTime(props?)The time elapsed, in seconds, after the request leaves the load balancer until a response from the target is received.
targetTLSNegotiationErrorCount(props?)The number of TLS connections initiated by the load balancer that did not establish a session with the target.
unhealthyHostCount(props?)The number of unhealthy hosts in the target group.

custom(metricName, props?)

public custom(metricName: string, props?: MetricOptions): Metric

Parameters

  • metricName string
  • props MetricOptions

Returns

  • Metric

Return the given named metric for this Network Target Group.


healthyHostCount(props?)

public healthyHostCount(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

The number of healthy hosts in the target group.


httpCodeTarget(code, props?)

public httpCodeTarget(code: HttpCodeTarget, props?: MetricOptions): Metric

Parameters

  • code HttpCodeTarget
  • props MetricOptions

Returns

  • Metric

The number of HTTP 2xx/3xx/4xx/5xx response codes generated by all targets in this target group.

This does not include any response codes generated by the load balancer.


ipv6RequestCount(props?)

public ipv6RequestCount(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

The number of IPv6 requests received by the target group.


requestCount(props?)

public requestCount(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

The number of requests processed over IPv4 and IPv6.

This count includes only the requests with a response generated by a target of the load balancer.


requestCountPerTarget(props?)

public requestCountPerTarget(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

The average number of requests received by each target in a target group.

The only valid statistic is Sum. Note that this represents the average not the sum.


targetConnectionErrorCount(props?)

public targetConnectionErrorCount(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

The number of connections that were not successfully established between the load balancer and target.


targetResponseTime(props?)

public targetResponseTime(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

The time elapsed, in seconds, after the request leaves the load balancer until a response from the target is received.


targetTLSNegotiationErrorCount(props?)

public targetTLSNegotiationErrorCount(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

The number of TLS connections initiated by the load balancer that did not establish a session with the target.

Possible causes include a mismatch of ciphers or protocols.


unhealthyHostCount(props?)

public unhealthyHostCount(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

The number of unhealthy hosts in the target group.