change README metric list from * to - and apply minor fixes

This commit is contained in:
brinkcoder 2025-03-05 00:45:10 +01:00
parent 4126132d64
commit 16ed2c82e6
2 changed files with 23 additions and 24 deletions

View File

@ -14,8 +14,8 @@ import (
"strings" "strings"
"time" "time"
lp "github.com/ClusterCockpit/cc-lib/pkg/ccMessage"
cclog "github.com/ClusterCockpit/cc-metric-collector/pkg/ccLogger" cclog "github.com/ClusterCockpit/cc-metric-collector/pkg/ccLogger"
lp "github.com/ClusterCockpit/cc-energy-manager/pkg/cc-message"
) )
// Struct for the collector-specific JSON config // Struct for the collector-specific JSON config

View File

@ -25,31 +25,30 @@ in the configuration.
When using the `exclude_metrics` option, the excluded metrics are summed as `other`. When using the `exclude_metrics` option, the excluded metrics are summed as `other`.
Important: The metrics listed below, are similar to the naming of BeeGFS. The Collector prefixes these with `beegfs_cstorage_`(beegfs client meta). Important: The metrics listed below are similar to the naming of BeeGFS. The Collector prefixes these with `beegfs_cstorage_`(beegfs client meta).
For example beegfs metric `open`-> `beegfs_cstorage_` For example beegfs metric `open`-> `beegfs_cstorage_open`
Note: BeeGFS FS offers many Metadata Information. Probably it makes sense to exlcude most of them. Nevertheless, these excluded metrics will be summed as `beegfs_cstorage_other`. Note: BeeGFS FS offers many Metadata Information. Probably it makes sense to exclude most of them. Nevertheless, these excluded metrics will be summed as `beegfs_cstorage_other`.
Available Metrics: Available Metrics:
* "sum" - "sum"
* "ack" - "ack"
* "sChDrct" - "sChDrct"
* "getFSize" - "getFSize"
* "sAttr" - "sAttr"
* "statfs" - "statfs"
* "trunc" - "trunc"
* "close" - "close"
* "fsync" - "fsync"
* "ops-rd" - "ops-rd"
* "MiB-rd/s" - "MiB-rd/s"
* "ops-wr" - "ops-wr"
* "MiB-wr/s" - "MiB-wr/s"
* "endbg" - "endbg"
* "hrtbeat" - "hrtbeat"
* "remNode" - "remNode"
* "storInf" - "storInf"
* "unlnk" - "unlnk"
The collector adds a `filesystem` tag to all metrics
The collector adds a `filesystem` tag to all metrics