From bcfe2b522ab0677db59a8d611a2b33824b3fb632 Mon Sep 17 00:00:00 2001 From: brinkcoder Date: Wed, 5 Mar 2025 01:00:21 +0100 Subject: [PATCH] change README metric list from * to - and apply minor fixes --- collectors/gpfsMetric.go | 2 +- collectors/gpfsMetric.md | 28 ++++++++++++++-------------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/collectors/gpfsMetric.go b/collectors/gpfsMetric.go index 31856cb..ac7fc0b 100644 --- a/collectors/gpfsMetric.go +++ b/collectors/gpfsMetric.go @@ -13,8 +13,8 @@ import ( "strings" "time" + lp "github.com/ClusterCockpit/cc-lib/pkg/ccMessage" cclog "github.com/ClusterCockpit/cc-metric-collector/pkg/ccLogger" - lp "github.com/ClusterCockpit/cc-energy-manager/pkg/cc-message" ) const DEFAULT_GPFS_CMD = "mmpmon" diff --git a/collectors/gpfsMetric.md b/collectors/gpfsMetric.md index ece9a1f..65e070e 100644 --- a/collectors/gpfsMetric.md +++ b/collectors/gpfsMetric.md @@ -1,7 +1,7 @@ ## `gpfs` collector ```json - "ibstat": { + "gpfs": { "mmpmon_path": "/path/to/mmpmon", "exclude_filesystem": [ "fs1" @@ -22,18 +22,18 @@ in the configuration. If nothing is set, the collector searches in `$PATH` for ` Metrics: -* `gpfs_bytes_read` -* `gpfs_bytes_written` -* `gpfs_num_opens` -* `gpfs_num_closes` -* `gpfs_num_reads` -* `gpfs_num_writes` -* `gpfs_num_readdirs` -* `gpfs_num_inode_updates` -* `gpfs_bytes_total = gpfs_bytes_read + gpfs_bytes_written` (if `send_total_values == true`) -* `gpfs_iops = gpfs_num_reads + gpfs_num_writes` (if `send_total_values == true`) -* `gpfs_metaops = gpfs_num_inode_updates + gpfs_num_closes + gpfs_num_opens + gpfs_num_readdirs` (if `send_total_values == true`) -* `gpfs_bw_read` (if `send_bandwidths == true`) -* `gpfs_bw_write` (if `send_bandwidths == true`) +- `gpfs_bytes_read` +- `gpfs_bytes_written` +- `gpfs_num_opens` +- `gpfs_num_closes` +- `gpfs_num_reads` +- `gpfs_num_writes` +- `gpfs_num_readdirs` +- `gpfs_num_inode_updates` +- `gpfs_bytes_total = gpfs_bytes_read + gpfs_bytes_written` (if `send_total_values == true`) +- `gpfs_iops = gpfs_num_reads + gpfs_num_writes` (if `send_total_values == true`) +- `gpfs_metaops = gpfs_num_inode_updates + gpfs_num_closes + gpfs_num_opens + gpfs_num_readdirs` (if `send_total_values == true`) +- `gpfs_bw_read` (if `send_bandwidths == true`) +- `gpfs_bw_write` (if `send_bandwidths == true`) The collector adds a `filesystem` tag to all metrics