interface IApplicationLoadBalancerMetrics
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ElasticLoadBalancingV2.IApplicationLoadBalancerMetrics |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awselasticloadbalancingv2#IApplicationLoadBalancerMetrics |
Java | software.amazon.awscdk.services.elasticloadbalancingv2.IApplicationLoadBalancerMetrics |
Python | aws_cdk.aws_elasticloadbalancingv2.IApplicationLoadBalancerMetrics |
TypeScript (source) | aws-cdk-lib » aws_elasticloadbalancingv2 » IApplicationLoadBalancerMetrics |
Contains all metrics for an Application Load Balancer.
Methods
Name | Description |
---|---|
active | The total number of concurrent TCP connections active from clients to the load balancer and from the load balancer to targets. |
client | The number of TLS connections initiated by the client that did not establish a session with the load balancer. |
consumed | The number of load balancer capacity units (LCU) used by your load balancer. |
custom(metricName, props?) | Return the given named metric for this Application Load Balancer. |
elb | The number of user authentications that could not be completed. |
elb | The number of user authentications that could not be completed because the IdP denied access to the user or an authorization code was used more than once. |
elb | The time elapsed, in milliseconds, to query the IdP for the ID token and user info. |
elb | The number of authenticate actions that were successful. |
http | The number of HTTP 3xx/4xx/5xx codes that originate from the load balancer. |
http | The number of HTTP 2xx/3xx/4xx/5xx response codes generated by all targets in the load balancer. |
http | The number of fixed-response actions that were successful. |
http | The number of redirect actions that were successful. |
http | The number of redirect actions that couldn't be completed because the URL in the response location header is larger than 8K. |
ipv6 | The total number of bytes processed by the load balancer over IPv6. |
ipv6 | The number of IPv6 requests received by the load balancer. |
new | The total number of new TCP connections established from clients to the load balancer and from the load balancer to targets. |
processed | The total number of bytes processed by the load balancer over IPv4 and IPv6. |
rejected | The number of connections that were rejected because the load balancer had reached its maximum number of connections. |
request | The number of requests processed over IPv4 and IPv6. |
rule | The number of rules processed by the load balancer given a request rate averaged over an hour. |
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. |
activeConnectionCount(props?)
public activeConnectionCount(props?: MetricOptions): Metric
Parameters
- props
Metric
Options
Returns
The total number of concurrent TCP connections active from clients to the load balancer and from the load balancer to targets.
clientTlsNegotiationErrorCount(props?)
public clientTlsNegotiationErrorCount(props?: MetricOptions): Metric
Parameters
- props
Metric
Options
Returns
The number of TLS connections initiated by the client that did not establish a session with the load balancer.
Possible causes include a mismatch of ciphers or protocols.
consumedLCUs(props?)
public consumedLCUs(props?: MetricOptions): Metric
Parameters
- props
Metric
Options
Returns
The number of load balancer capacity units (LCU) used by your load balancer.
custom(metricName, props?)
public custom(metricName: string, props?: MetricOptions): Metric
Parameters
- metricName
string
- props
Metric
Options
Returns
Return the given named metric for this Application Load Balancer.
elbAuthError(props?)
public elbAuthError(props?: MetricOptions): Metric
Parameters
- props
Metric
Options
Returns
The number of user authentications that could not be completed.
Because an authenticate action was misconfigured, the load balancer couldn't establish a connection with the IdP, or the load balancer couldn't complete the authentication flow due to an internal error.
elbAuthFailure(props?)
public elbAuthFailure(props?: MetricOptions): Metric
Parameters
- props
Metric
Options
Returns
The number of user authentications that could not be completed because the IdP denied access to the user or an authorization code was used more than once.
elbAuthLatency(props?)
public elbAuthLatency(props?: MetricOptions): Metric
Parameters
- props
Metric
Options
Returns
The time elapsed, in milliseconds, to query the IdP for the ID token and user info.
If one or more of these operations fail, this is the time to failure.
elbAuthSuccess(props?)
public elbAuthSuccess(props?: MetricOptions): Metric
Parameters
- props
Metric
Options
Returns
The number of authenticate actions that were successful.
This metric is incremented at the end of the authentication workflow, after the load balancer has retrieved the user claims from the IdP.
httpCodeElb(code, props?)
public httpCodeElb(code: HttpCodeElb, props?: MetricOptions): Metric
Parameters
- code
Http
Code Elb - props
Metric
Options
Returns
The number of HTTP 3xx/4xx/5xx codes that originate from the load balancer.
This does not include any response codes generated by the targets.
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 the load balancer.
This does not include any response codes generated by the load balancer.
httpFixedResponseCount(props?)
public httpFixedResponseCount(props?: MetricOptions): Metric
Parameters
- props
Metric
Options
Returns
The number of fixed-response actions that were successful.
httpRedirectCount(props?)
public httpRedirectCount(props?: MetricOptions): Metric
Parameters
- props
Metric
Options
Returns
The number of redirect actions that were successful.
httpRedirectUrlLimitExceededCount(props?)
public httpRedirectUrlLimitExceededCount(props?: MetricOptions): Metric
Parameters
- props
Metric
Options
Returns
The number of redirect actions that couldn't be completed because the URL in the response location header is larger than 8K.
ipv6ProcessedBytes(props?)
public ipv6ProcessedBytes(props?: MetricOptions): Metric
Parameters
- props
Metric
Options
Returns
The total number of bytes processed by the load balancer over IPv6.
ipv6RequestCount(props?)
public ipv6RequestCount(props?: MetricOptions): Metric
Parameters
- props
Metric
Options
Returns
The number of IPv6 requests received by the load balancer.
newConnectionCount(props?)
public newConnectionCount(props?: MetricOptions): Metric
Parameters
- props
Metric
Options
Returns
The total number of new TCP connections established from clients to the load balancer and from the load balancer to targets.
processedBytes(props?)
public processedBytes(props?: MetricOptions): Metric
Parameters
- props
Metric
Options
Returns
The total number of bytes processed by the load balancer over IPv4 and IPv6.
rejectedConnectionCount(props?)
public rejectedConnectionCount(props?: MetricOptions): Metric
Parameters
- props
Metric
Options
Returns
The number of connections that were rejected because the load balancer had reached its maximum number of connections.
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.
ruleEvaluations(props?)
public ruleEvaluations(props?: MetricOptions): Metric
Parameters
- props
Metric
Options
Returns
The number of rules processed by the load balancer given a request rate averaged over an hour.
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.