Provide basic runtime metrics for NRI plugins
Maintainers usually reply within 6 days
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
- Domain
- observability-sre
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
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from containerd/nri
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
containerd/nri#363 · 8 comments ·
Maintainers usually reply within 6 days
-
Difficulty 5/5 Over a week Newbie friendliness 12/100
containerd/nri#353 · 15 comments ·
Maintainers usually reply within 6 days
-
[Proposal] Allow configuring request timeout per plugin instead of using a single global timeoutPossibly taken @CoderSherlock claimed this 118 days ago. Open
Difficulty 5/5 Over a week Newbie friendliness 45/100
containerd/nri#287 · 7 comments · 7 reactions ·
Maintainers usually reply within 6 days
-
Difficulty 5/5 Over a week Newbie friendliness 32/100
containerd/nri#282 · 19 comments ·
Maintainers usually reply within 6 days
-
v1.0 required
Difficulty 5/5 Over a week Newbie friendliness 35/100
containerd/nri#273 · 2 comments ·
Maintainers usually reply within 6 days
Similar issues
-
ready-for-agent
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
jordansmall/spindrift#7895 ·
Maintainers usually reply within 1 day
-
documentation priority: medium skill: intermediate status: ready for dev
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
hyperledger-labs/fabric-smart-client#2830 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day
-
P3 tech debt
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day