prometheus / prometheus/procfs

RFE: Support all Linux kernel NFSv4 client and server RPC operations

Open
#699 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
883
Forks
388
Avg merge
13h 28m
Merged PRs (30d)
3

Description

Currently, procfs has incomplete support for NFSv4 RPC operation statistics for both NFS clients and NFS servers. The NFS server metrics are missing all NFS v4.1, v4.2, and RFC 8276 xattr operations. The NFS v4 client operations are more complicated (because the Linux kernel is more complicated here), but I believe it's missing nine operations (it has up to 'Copy' and is missing from 'Copy' onward).

One additional effect of the current state is that the Linux client metrics include operations that the NFS server metrics don't, which can be confusing if you have an all-Linux NFS environment and you're trying to watch both clients and servers.

Contributor guide

Open the contributing guide

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.

Research direction

Locate the procfs code that parses NFS client and server RPC operation statistics, then compare its supported NFSv4 operations with the Linux kernel definitions and the operations described in the issue. Completion means covering the missing server operations and the nine client operations after Copy, with validation for both metric sets.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, linux
Domain
networking, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.