{"id":20357882,"url":"https://github.com/gandi/prometheus-linux-nfsdv4-exporter","last_synced_at":"2025-04-12T03:14:54.495Z","repository":{"id":42056802,"uuid":"406577207","full_name":"Gandi/prometheus-linux-nfsdv4-exporter","owner":"Gandi","description":null,"archived":false,"fork":false,"pushed_at":"2023-02-17T01:14:58.000Z","size":37,"stargazers_count":10,"open_issues_count":2,"forks_count":3,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-12T03:14:48.799Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Gandi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-09-15T01:44:58.000Z","updated_at":"2023-12-04T07:43:50.000Z","dependencies_parsed_at":"2024-02-13T21:53:25.732Z","dependency_job_id":null,"html_url":"https://github.com/Gandi/prometheus-linux-nfsdv4-exporter","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gandi%2Fprometheus-linux-nfsdv4-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gandi%2Fprometheus-linux-nfsdv4-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gandi%2Fprometheus-linux-nfsdv4-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gandi%2Fprometheus-linux-nfsdv4-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Gandi","download_url":"https://codeload.github.com/Gandi/prometheus-linux-nfsdv4-exporter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248510001,"owners_count":21116130,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T23:24:19.496Z","updated_at":"2025-04-12T03:14:54.473Z","avatar_url":"https://github.com/Gandi.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# prometheus-linux-nfsdv4-exporter - prometheus exporter for NFSv4 server. \n\n\u003cb\u003eprometheus-linux-nfsdv4-exporter\u003c/b\u003e It is a prometheus-exporter that reports basic metrics of NFSv4 clients from the server side. Since Linux Kernel 5.3, NFSv4 mount points have information reported inside the /proc/fs/nfsd/clients/, it is possible to retrieve some limited information of clients that are using NFSv4. \n\n### Prometheus metrics:\n* nfs_iobytes_read Total of bytes read\n* nfs_iobytes_write Total of bytes write\n* nfs_network_connections Total amount of network connections\n* nfs_network_netcount Total amount of packets\n* nfs_network_tcpcount Total amount of TCP packets\n* nfs_network_udpcount Total amount of UDP packets\n* nfs_reply_cache_hits Number of cache hits\n* nfs_reply_cache_misses Number of cache misses\n* nfs_reply_cache_nocache Number of nocache\n* \u003cb\u003enfsv4_op_deleg_per_client Number of deleg operations per NFSv4 client\u003c/b\u003e\n* \u003cb\u003enfsv4_op_layout_per_client Number of layout operations per NFSv4 client\u003c/b\u003e\n* \u003cb\u003enfsv4_op_lock_per_client Number of lock operations per NFSv4 client\u003c/b\u003e\n* \u003cb\u003enfsv4_op_open_per_client Number of open operations per NFSv4 client\u003c/b\u003e\n* \u003cb\u003enumber_of_nfsv4_clients Number of NFSv4 clients\u003c/b\u003e\n* \u003cb\u003enfsv4_exports_total Number of NFSv4 exports\u003c/b\u003e\n \n### Build the project:\n* Release: \u003cb\u003e```cargo build --release```\u003c/b\u003e\n\n### Debian package:\n* First install: \u003cb\u003e```cargo install cargo-deb```\u003c/b\u003e\n* Generate the debian package: \u003cb\u003e```cargo deb -v```\u003c/b\u003e\n\n### Crate:\n[https://crates.io/crates/prometheus-linux-nfsdv4-exporter](https://crates.io/crates/prometheus-linux-nfsdv4-exporter)\n\n### Contributing:\n\u003ca href=\"https://github.com/Gandi/prometheus-linux-nfsdv4-exporter/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contributors-img.web.app/image?repo=Gandi/prometheus-linux-nfsdv4-exporter\" /\u003e\n\u003c/a\u003e\n\n### License:\n\nThe project is made available under the BSD 2-Clause license. See the `LICENSE` file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgandi%2Fprometheus-linux-nfsdv4-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgandi%2Fprometheus-linux-nfsdv4-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgandi%2Fprometheus-linux-nfsdv4-exporter/lists"}