GithubHelp home page GithubHelp logo

araujobsd / prometheus-linux-nfsdv4-exporter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gandi/prometheus-linux-nfsdv4-exporter

0.0 0.0 0.0 37 KB

License: BSD 2-Clause "Simplified" License

Rust 100.00%

prometheus-linux-nfsdv4-exporter's Introduction

prometheus-linux-nfsdv4-exporter - prometheus exporter for NFSv4 server.

prometheus-linux-nfsdv4-exporter 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.

Prometheus metrics:

  • nfs_iobytes_read Total of bytes read
  • nfs_iobytes_write Total of bytes write
  • nfs_network_connections Total amount of network connections
  • nfs_network_netcount Total amount of packets
  • nfs_network_tcpcount Total amount of TCP packets
  • nfs_network_udpcount Total amount of UDP packets
  • nfs_reply_cache_hits Number of cache hits
  • nfs_reply_cache_misses Number of cache misses
  • nfs_reply_cache_nocache Number of nocache
  • nfsv4_op_deleg_per_client Number of deleg operations per NFSv4 client
  • nfsv4_op_layout_per_client Number of layout operations per NFSv4 client
  • nfsv4_op_lock_per_client Number of lock operations per NFSv4 client
  • nfsv4_op_open_per_client Number of open operations per NFSv4 client
  • number_of_nfsv4_clients Number of NFSv4 clients
  • nfsv4_exports_total Number of NFSv4 exports

Build the project:

  • Release: cargo build --release

Debian package:

  • First install: cargo install cargo-deb
  • Generate the debian package: cargo deb -v

Crate:

https://crates.io/crates/prometheus-linux-nfsdv4-exporter

Contributing:

License:

The project is made available under the BSD 2-Clause license. See the LICENSE file for more information.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.