项目作者: Gandi

项目描述 :
Prometheus exporter for NFS-Ganesha
高级语言: Go
项目地址: git://github.com/Gandi/ganesha_exporter.git
创建时间: 2019-05-21T09:01:01Z
项目社区:https://github.com/Gandi/ganesha_exporter

开源协议:

下载


NFS-Ganesha Exporter

Prometheus exporter for NFS-Ganesha

This exporter uses Dbus interface to get the metrics.

Installation

You can build the latest version using Go v1.11+ via go get:

  1. go get -u github.com/Gandi/ganesha_exporter

Usage

  1. usage: ganesha_exporter [<flags>]
  2. Flags:
  3. -h, --help Show context-sensitive help (also try --help-long and --help-man).
  4. --web.listen-address=":9587"
  5. Address on which to expose metrics and web interface.
  6. --web.telemetry-path="/metrics"
  7. Path under which to expose metrics.
  8. --gandi Activate Gandi specific fields
  9. --collector.exports Activate exports collector
  10. --collector.exports.nfsv3 Activate NFSv3 stats
  11. --collector.exports.nfsv40
  12. Activate NFSv4.0 stats
  13. --collector.exports.nfsv41
  14. Activate NFSv4.1 stats
  15. --collector.exports.pnfsv41
  16. Activate pNFSv4.1 stats
  17. --collector.clients Activate clients collector
  18. --collector.clients.nfsv3 Activate NFSv3 stats
  19. --collector.clients.nfsv40
  20. Activate NFSv4.0 stats
  21. --collector.clients.nfsv41
  22. Activate NFSv4.1 stats
  23. --collector.clients.pnfsv41
  24. Activate pNFSv4.1 stats
  25. --log.level="info" Only log messages with the given severity or above. Valid levels: [debug,
  26. info, warn, error, fatal]
  27. --log.format="logger:stderr"
  28. Set the log target and format. Example:
  29. "logger:syslog?appname=bob&local=7" or "logger:stdout?json=true"
  30. --version Show application version.

All collectors are activated by default, they can be de-activated using --no-collector.XXX

The additional statistics retrieved by the --gandi flag are part of an internal WIP to get more
comprehensive statistics and will be proposed upstream as soon as they are fully done.