Skip to content

Add dpdk metrics section for ENA stats on DPDK-bound interfaces#2194

Open
Joffref wants to merge 2 commits into
aws:mainfrom
Joffref:majoffre/ena-vpp-monitoring
Open

Add dpdk metrics section for ENA stats on DPDK-bound interfaces#2194
Joffref wants to merge 2 commits into
aws:mainfrom
Joffref:majoffre/ena-vpp-monitoring

Conversation

@Joffref

@Joffref Joffref commented Jul 10, 2026

Copy link
Copy Markdown

Description of the issue

Interfaces bound to DPDK are detached from the kernel driver, so the ethtool plugin cannot report their ENA extended statistics (pps_allowance_exceeded, bw_*_allowance_exceeded, conntrack_allowance_exceeded, rx_missed_errors, ...).

Description of changes

Enable the upstream telegraf dpdk input, which reads the same stats from the DPDK v2 telemetry socket, and add a "dpdk" section under metrics_collected so it can be configured from the agent JSON config:

  "dpdk": {
    "socket_path": "/var/run/dpdk/rte/dpdk_telemetry.v2",
    "device_types": ["ethdev"],
    "metrics_include": ["pps_allowance_exceeded", ...]
  }

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-network-performance-ena.html#network-performance-metrics-dpdk

License

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Tests

Describe what tests you have done.

Requirements

Before commiting your code, please do the following steps.

  1. Run make fmt and make fmt-sh
  2. Run make lint

Integration Tests

To run integration tests against this PR, add the ready for testing label.

Interfaces bound to DPDK (e.g. by VPP) are detached from the kernel
driver, so the ethtool plugin cannot report their ENA extended
statistics (pps_allowance_exceeded, bw_*_allowance_exceeded,
conntrack_allowance_exceeded, rx_missed_errors, ...). Enable the
upstream telegraf dpdk input, which reads the same stats from the DPDK
v2 telemetry socket, and add a "dpdk" section under
metrics_collected so it can be configured from the agent JSON config:

  "dpdk": {
    "socket_path": "/var/run/dpdk/rte/dpdk_telemetry.v2",
    "device_types": ["ethdev"],
    "metrics_include": ["pps_allowance_exceeded", ...]
  }

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-network-performance-ena.html#network-performance-metrics-dpdk

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Joffref
Joffref requested a review from a team as a code owner July 10, 2026 02:09
@github-actions

Copy link
Copy Markdown
Contributor

This PR was marked stale due to lack of activity.

@github-actions github-actions Bot added the Stale label Jul 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant