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. |
ConnectionCount(props?)
activepublic 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.
TlsNegotiationErrorCount(props?)
clientpublic 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.
LCUs(props?)
consumedpublic 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.
AuthError(props?)
elbpublic 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.
AuthFailure(props?)
elbpublic 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.
AuthLatency(props?)
elbpublic 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.
AuthSuccess(props?)
elbpublic 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.
CodeElb(code, props?)
httppublic 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.
CodeTarget(code, props?)
httppublic 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.
FixedResponseCount(props?)
httppublic httpFixedResponseCount(props?: MetricOptions): Metric
Parameters
- props
Metric
Options
Returns
The number of fixed-response actions that were successful.
RedirectCount(props?)
httppublic httpRedirectCount(props?: MetricOptions): Metric
Parameters
- props
Metric
Options
Returns
The number of redirect actions that were successful.
RedirectUrlLimitExceededCount(props?)
httppublic 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.
ProcessedBytes(props?)
ipv6public ipv6ProcessedBytes(props?: MetricOptions): Metric
Parameters
- props
Metric
Options
Returns
The total number of bytes processed by the load balancer over IPv6.
RequestCount(props?)
ipv6public ipv6RequestCount(props?: MetricOptions): Metric
Parameters
- props
Metric
Options
Returns
The number of IPv6 requests received by the load balancer.
ConnectionCount(props?)
newpublic 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.
Bytes(props?)
processedpublic processedBytes(props?: MetricOptions): Metric
Parameters
- props
Metric
Options
Returns
The total number of bytes processed by the load balancer over IPv4 and IPv6.
ConnectionCount(props?)
rejectedpublic 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.
Count(props?)
requestpublic 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.
Evaluations(props?)
rulepublic 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.
ConnectionErrorCount(props?)
targetpublic targetConnectionErrorCount(props?: MetricOptions): Metric
Parameters
- props
Metric
Options
Returns
The number of connections that were not successfully established between the load balancer and target.
ResponseTime(props?)
targetpublic 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.
TLSNegotiationErrorCount(props?)
targetpublic 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.