cc-metric-collector/collectors/lustreMetric.md
Thomas Gruber f6dae7c013
Derived metrics (#57)
* Add time-based derivatived (e.g. bandwidth) to some collectors

* Add documentation

* Add comments

* Fix: Only compute rates with a valid previous state

* Only compute rates with a valid previous state

* Define const values for net/dev fields

* Set default config values

* Add comments

* Refactor: Consolidate data structures

* Refactor: Consolidate data structures

* Refactor: Avoid struct deep copy

* Refactor: Avoid redundant tag maps

* Refactor: Use int64 type for absolut values

Co-authored-by: Holger Obermaier <40787752+ho-ob@users.noreply.github.com>
2022-03-11 13:48:18 +01:00

766 B

lustrestat collector

  "lustrestat": {
    "procfiles" : [
      "/proc/fs/lustre/llite/lnec-XXXXXX/stats"
    ],
    "exclude_metrics": [
      "setattr",
      "getattr"
    ],
    "send_abs_values" : true,
    "send_derived_values" : true
  }

The lustrestat collector reads from the procfs stat files for Lustre like /proc/fs/lustre/llite/lnec-XXXXXX/stats.

Metrics:

  • lustre_read_bytes
  • lustre_read_requests
  • lustre_write_bytes
  • lustre_write_requests
  • lustre_open
  • lustre_close
  • lustre_getattr
  • lustre_setattr
  • lustre_statfs
  • lustre_inode_permission
  • lustre_read_bytes_bw (if send_derived_values == true)
  • lustre_write_bytes_bw (if send_derived_values == true)

This collector adds an device tag.