interface IApplicationTargetGroupMetrics
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ElasticLoadBalancingV2.IApplicationTargetGroupMetrics |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awselasticloadbalancingv2#IApplicationTargetGroupMetrics |
![]() | software.amazon.awscdk.services.elasticloadbalancingv2.IApplicationTargetGroupMetrics |
![]() | aws_cdk.aws_elasticloadbalancingv2.IApplicationTargetGroupMetrics |
![]() | aws-cdk-lib » aws_elasticloadbalancingv2 » IApplicationTargetGroupMetrics |
Contains all metrics for a Target Group of a Application Load Balancer.
Methods
Name | Description |
---|---|
custom(metricName, props?) | Return the given named metric for this Network Target Group. |
healthy | The number of healthy hosts in the target group. |
http | The number of HTTP 2xx/3xx/4xx/5xx response codes generated by all targets in this target group. |
ipv6 | The number of IPv6 requests received by the target group. |
request | The number of requests processed over IPv4 and IPv6. |
request | The average number of requests received by each target in a target group. |
target | The number of connections that were not successfully established between the load balancer and target. |
target | The time elapsed, in seconds, after the request leaves the load balancer until a response from the target is received. |
target | The number of TLS connections initiated by the load balancer that did not establish a session with the target. |
unhealthy | The number of unhealthy hosts in the target group. |
custom(metricName, props?)
public custom(metricName: string, props?: MetricOptions): Metric
Parameters
- metricName
string
- props
Metric
Options
Returns
Return the given named metric for this Network Target Group.
healthyHostCount(props?)
public healthyHostCount(props?: MetricOptions): Metric
Parameters
- props
Metric
Options
Returns
The number of healthy hosts in the target group.
httpCodeTarget(code, props?)
public httpCodeTarget(code: HttpCodeTarget, props?: MetricOptions): Metric
Parameters
- code
Http
Code Target - props
Metric
Options
Returns
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
Metric
Options
Returns
The number of IPv6 requests received by the target group.
requestCount(props?)
public requestCount(props?: MetricOptions): Metric
Parameters
- props
Metric
Options
Returns
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
Metric
Options
Returns
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
Metric
Options
Returns
The number of connections that were not successfully established between the load balancer and target.
targetResponseTime(props?)
public targetResponseTime(props?: MetricOptions): Metric
Parameters
- props
Metric
Options
Returns
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
Metric
Options
Returns
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
Metric
Options
Returns
The number of unhealthy hosts in the target group.