mirror of
				https://github.com/ClusterCockpit/cc-metric-collector.git
				synced 2025-11-04 02:35:07 +01:00 
			
		
		
		
	change README metric list from * to - and apply minor fixes
This commit is contained in:
		@@ -13,8 +13,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"
 | 
					 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const DEFAULT_GPFS_CMD = "mmpmon"
 | 
					const DEFAULT_GPFS_CMD = "mmpmon"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
## `gpfs` collector
 | 
					## `gpfs` collector
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```json
 | 
					```json
 | 
				
			||||||
  "ibstat": {
 | 
					  "gpfs": {
 | 
				
			||||||
    "mmpmon_path": "/path/to/mmpmon",
 | 
					    "mmpmon_path": "/path/to/mmpmon",
 | 
				
			||||||
    "exclude_filesystem": [
 | 
					    "exclude_filesystem": [
 | 
				
			||||||
      "fs1"
 | 
					      "fs1"
 | 
				
			||||||
@@ -22,18 +22,18 @@ in the configuration. If nothing is set, the collector searches in `$PATH` for `
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Metrics:
 | 
					Metrics:
 | 
				
			||||||
* `gpfs_bytes_read`
 | 
					- `gpfs_bytes_read`
 | 
				
			||||||
* `gpfs_bytes_written`
 | 
					- `gpfs_bytes_written`
 | 
				
			||||||
* `gpfs_num_opens`
 | 
					- `gpfs_num_opens`
 | 
				
			||||||
* `gpfs_num_closes`
 | 
					- `gpfs_num_closes`
 | 
				
			||||||
* `gpfs_num_reads`
 | 
					- `gpfs_num_reads`
 | 
				
			||||||
* `gpfs_num_writes`
 | 
					- `gpfs_num_writes`
 | 
				
			||||||
* `gpfs_num_readdirs`
 | 
					- `gpfs_num_readdirs`
 | 
				
			||||||
* `gpfs_num_inode_updates`
 | 
					- `gpfs_num_inode_updates`
 | 
				
			||||||
* `gpfs_bytes_total = gpfs_bytes_read + gpfs_bytes_written` (if `send_total_values == true`)
 | 
					- `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_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_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_read` (if `send_bandwidths == true`)
 | 
				
			||||||
* `gpfs_bw_write` (if `send_bandwidths == true`)
 | 
					- `gpfs_bw_write` (if `send_bandwidths == true`)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
The collector adds a `filesystem` tag to all metrics
 | 
					The collector adds a `filesystem` tag to all metrics
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user