# INetworkLoadBalancerMetrics

Contains all metrics for a Network Load Balancer.

- Source: [`aws-elasticloadbalancingv2/lib/nlb/network-load-balancer.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-elasticloadbalancingv2/lib/nlb/network-load-balancer.ts#L538)
- Type last changed: v2.64.0 · 9 Feb 2023

## Methods

- `activeFlowCount(props?: MetricOptions): Metric` — 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?: MetricOptions): Metric` — The number of load balancer capacity units (LCU) used by your load balancer.

- `custom(metricName: string, props?: MetricOptions): Metric` — Return the given named metric for this Network Load Balancer.

- `newFlowCount(props?: MetricOptions): Metric` — The total number of new TCP flows (or connections) established from clients to targets in the time period.

- `processedBytes(props?: MetricOptions): Metric` — The total number of bytes processed by the load balancer, including TCP/IP headers.

- `tcpClientResetCount(props?: MetricOptions): Metric` — 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?: MetricOptions): Metric` — The total number of reset (RST) packets generated by the load balancer.

- `tcpTargetResetCount(props?: MetricOptions): Metric` — 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.
