---
name: "rte_metric_name"
section: "3"
platform: "linux"
package: "dpdk-doc"
version: "24.11.4-0+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rte_metric_name"
---

# rte\_metric\_name(3)

## NAME

rte\_metric\_name

## SYNOPSIS

`#include <rte_metrics.h>`

### Data Fields

char **name** \[**RTE\_METRICS\_MAX\_NAME\_LEN**\]\

## Detailed Description

A name-key lookup for metrics.

An array of this structure is returned by **rte\_metrics\_get\_names()**. The struct **rte\_metric\_value** references these names via their array index.

Definition at line **54** of file **rte\_metrics.h**.

## Field Documentation

### char name\[RTE\_METRICS\_MAX\_NAME\_LEN\]

String describing metric

Definition at line **56** of file **rte\_metrics.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
