Provide basic runtime metrics for NRI plugins

Open
#272 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 6 days

@mikebrow is already working on this.

Since Oct 30, 2026.

  • #351 by @mikebrow — open

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
go

Research direction

Start with the v1.0 requirements document and the NRI framework/plugin invocation flow. Clarify the design for collecting plugin counts, invocation success and failure counts, and health data, then determine how that data is passed to the container runtime. Done means the agreed design and implementation support runtime exposure through mechanisms such as Prometheus or OpenTelemetry.

Written by the indexing model from the issue text.

Description

v1.0 required

To improve the observability of the NRI framework and its plugins, we need to provide basic runtime metrics. This is a requirement for v1.0. Currently this data is not collected which makes troubleshooting difficult.

This is a tracking issue to discuss the design and implementation of basic runtime metrics for NRI plugins.

Specifically, the NRI framework needs to collect and provide data such as:

  • Plugin counts (registered, active, etc.)
  • Success and failure counts for plugin invocations/adjustments
  • General plugin health

In the v1.0 requirements doc it's mentioned that the NRI framework itself should not expose these metrics directly. Instead, it should be passed to the container runtime, which can then expose it using its existing mechanisms (Prometheus, OpenTelemetry, etc.) for consumption.

Dominant language
Go
Stars
419
Forks
105
Avg merge
9d 7h
Merged PRs (30d)
14

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from containerd/nri

All issues in containerd/nri

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.