interface INetworkLoadBalancerMetrics
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ElasticLoadBalancingV2.INetworkLoadBalancerMetrics |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awselasticloadbalancingv2#INetworkLoadBalancerMetrics |
Java | software.amazon.awscdk.services.elasticloadbalancingv2.INetworkLoadBalancerMetrics |
Python | aws_cdk.aws_elasticloadbalancingv2.INetworkLoadBalancerMetrics |
TypeScript (source) | aws-cdk-lib » aws_elasticloadbalancingv2 » INetworkLoadBalancerMetrics |
Contains all metrics for a Network Load Balancer.
Methods
Name | Description |
---|---|
active | The total number of concurrent TCP flows (or connections) from clients to targets. |
consumed | The number of load balancer capacity units (LCU) used by your load balancer. |
custom(metricName, props?) | Return the given named metric for this Network Load Balancer. |
new | The total number of new TCP flows (or connections) established from clients to targets in the time period. |
processed | The total number of bytes processed by the load balancer, including TCP/IP headers. |
tcp | The total number of reset (RST) packets sent from a client to a target. |
tcp | The total number of reset (RST) packets generated by the load balancer. |
tcp | The total number of reset (RST) packets sent from a target to a client. |
activeFlowCount(props?)
public activeFlowCount(props?: MetricOptions): Metric
Parameters
- props
Metric
Options
Returns
The total number of concurrent TCP flows (or connections) from clients to targets.
This metric includes connections in the SYN_SENT and ESTABLISHED states. TCP connections are not terminated at the load balancer, so a client opening a TCP connection to a target counts as a single flow.
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 Network Load Balancer.
newFlowCount(props?)
public newFlowCount(props?: MetricOptions): Metric
Parameters
- props
Metric
Options
Returns
The total number of new TCP flows (or connections) established from clients to targets in the time period.
processedBytes(props?)
public processedBytes(props?: MetricOptions): Metric
Parameters
- props
Metric
Options
Returns
The total number of bytes processed by the load balancer, including TCP/IP headers.
tcpClientResetCount(props?)
public tcpClientResetCount(props?: MetricOptions): Metric
Parameters
- props
Metric
Options
Returns
The total number of reset (RST) packets sent from a client to a target.
These resets are generated by the client and forwarded by the load balancer.
tcpElbResetCount(props?)
public tcpElbResetCount(props?: MetricOptions): Metric
Parameters
- props
Metric
Options
Returns
The total number of reset (RST) packets generated by the load balancer.
tcpTargetResetCount(props?)
public tcpTargetResetCount(props?: MetricOptions): Metric
Parameters
- props
Metric
Options
Returns
The total number of reset (RST) packets sent from a target to a client.
These resets are generated by the target and forwarded by the load balancer.