Commit Graph
86 Commits
Author SHA1 Message Date
Holger Obermaier e7e51aa4fa Avoid vet warning struct field commands has json tag but is not exported 2022-01-25 11:12:06 +01:00
Holger Obermaier 2de0ab8c45 Avoid vet warning: Println arg list ends with redundant newline 2022-01-25 10:32:08 +01:00
Holger Obermaier f532abdb4e Refactoring 2022-01-25 10:15:16 +01:00
Thomas Roehl a111389c75 Merge branch 'channels' of github.com:ClusterCockpit/cc-metric-collector into channels 2022-01-24 14:56:48 +01:00
Thomas Roehl fb833e95c8 Add collector for NFS clients 2022-01-24 14:54:27 +01:00
Holger Obermaier 5d8abc06a7 Add CPUFreqCollectorCpuinfo
a metric collector to measure the current frequency of the CPUs
as obtained from /proc/cpuinfo
Only measure on the first hyperthread
2022-01-24 14:10:38 +01:00
Holger Obermaier 048b52736c Simplified code 2022-01-24 11:43:00 +01:00
Holger Obermaier a7f7422ebe Avoid staticcheck warning: unnecessary assignment to the blank identifier 2022-01-21 15:27:18 +01:00
Holger Obermaier 699f69ff59 Avoid staticcheck warning: redundant return statement 2022-01-21 15:12:14 +01:00
Holger Obermaier 7a54a9b170 Add CPU frequency collector 2022-01-21 14:17:37 +01:00
Holger Obermaier 827f5c3773 Add sample collector to README.md 2022-01-20 16:46:02 +01:00
Holger Obermaier 5cbd345a1d Avoid go vet warning:
struct field tag `json:"..., omitempty"` not compatible with reflect.StructTag.Get: suspicious space in struct tag value
struct field tag `json:"...", omitempty` not compatible with reflect.StructTag.Get: key:"value" pairs not separated by spaces
2022-01-20 13:06:38 +01:00
Holger Obermaier 7902279750 Add GPFS / IBM Spectrum Scale collector 2022-01-20 09:38:16 +01:00
Holger Obermaier 3e211a9728 Updated to latest stable version of likwid 2022-01-19 15:56:15 +01:00
Holger Obermaier e13a9c1fdd Add IB metrics ib_recv_pkts and ib_xmit_pkts 2022-01-19 10:51:23 +01:00
Thomas Roehl 1997e641d4 Use seconds when calculating LIKWID metrics 2022-01-06 15:33:32 +01:00
Thomas Gruber bb9c0a7043 Update customCmdMetric.md 2021-12-27 17:08:52 +01:00
Thomas Roehl bc28031ffb Add docs for topprocs collector 2021-12-27 17:07:59 +01:00
Thomas Roehl a6a681348a Add docs for ipmistat collector 2021-12-27 17:07:49 +01:00
Thomas Roehl 97ed57bb16 Add docs for customcmd collector 2021-12-27 16:58:57 +01:00
Thomas Roehl 86cdb41521 Fix for tempstat page 2021-12-27 13:03:29 +01:00
Thomas Roehl a14210061c Use seperate page per collector 2021-12-27 13:01:50 +01:00
Thomas Roehl ad647ceeb5 Update collectors README 2021-12-21 18:55:46 +01:00
Thomas Roehl 4b55a18cf5 Update collectors README 2021-12-21 18:15:45 +01:00
Thomas Roehl a6feb16ec1 Formatting 2021-12-21 14:04:31 +01:00
Thomas Roehl b7fbd198ff Use central timer for collectors and router. Add expressions to router 2021-12-20 17:40:28 +01:00
Thomas Roehl 44d8b0c979 Use channels, add a metric router, split up configuration and use extended version of Influx line protocol internally 2021-12-20 12:40:51 +01:00
Thomas Roehl 28163f5d2e Format fixes 2021-11-29 15:32:58 +01:00
Thomas Roehl 6d14e66505 Fix missing colon in netstat collector 2021-11-26 19:02:09 +01:00
Thomas Roehl 3a13a41a15 Catch panic in Nvidia Go Bindings 2021-11-26 19:01:47 +01:00
Thomas Roehl 75f5ac8980 Catch panicing collectors (hello Nvidia Go Bindings) late. 2021-11-26 19:01:31 +01:00
Thomas Roehl cb8221e73c Read config JSON only if there is any 2021-11-26 18:19:45 +01:00
Thomas Roehl 8d643bb5e8 Set default for topprocs collector to Top2 processes if no config is given 2021-11-26 18:19:26 +01:00
Thomas Roehl bf43f6d975 Updated README.md for collectors. Fix TODO 2021-11-26 15:58:59 +01:00
Thomas Roehl 734d9e5b8f Updated README.md for collectors. Not finished 2021-11-26 15:57:11 +01:00
Thomas Gruber 3997984714 Temp collector from sysfs hwmon (#8)
* Add collector for hwmon temperature

* Comment out local tag overrides

* Add temperature collector to README

* Update temperature collector with own config parser
2021-11-25 18:19:09 +01:00
Thomas Gruber 1e7a75598e Add collector to read data from ipmitool or ipmi-sensors (fallback) (#9)
* Add collector to read data from ipmitool or ipmi-sensors

* Update IPMI collector to use own config

* Add 'ipmitool sensor' parser
2021-11-25 18:15:56 +01:00
Thomas Roehl 59ac123662 Add Makefile, update LIKWID Makefile and fix Github Action 2021-11-25 17:51:34 +01:00
Thomas Roehl 156664d78f Make Infiniband collector more configurable 2021-11-25 16:25:20 +01:00
Thomas Roehl 512fa44a74 Remove unneeded stuff 2021-11-25 16:20:52 +01:00
Thomas Roehl f6a707ac31 Remove unneeded function and const values 2021-11-25 16:01:16 +01:00
Thomas Roehl 9232dd9732 Formatting 2021-11-25 15:11:39 +01:00
Thomas Roehl 51b8c62d4d Collector-specific configuration. LIKWID collector derives metrics itself, Run once CLI option 2021-11-25 14:04:03 +01:00
Thomas Roehl 7044858c2c Change CPI metric to IPC and inverse measurement 2021-11-02 15:50:18 +01:00
Thomas Roehl dc4b8d13c2 Add collectors for custom commands and /proc/diskstat. Per default add a hostname tag to all measurements 2021-10-08 13:29:57 +02:00
Thomas Roehl 4688997071 Add two helper functions to collector definition 2021-10-08 13:28:02 +02:00
Thomas Roehl 7f1694adc7 Fix format of infiniband collector 2021-10-08 13:27:36 +02:00
Thomas Roehl cdc253b569 Return proper error for init() of memstat collector 2021-10-08 13:27:15 +02:00
Thomas Gruber d7ef32de18 Merge branch 'main' into alternate_storage 2021-10-04 15:49:46 +02:00
Thomas Roehl 486df91a9d Fix format 2021-10-04 15:47:03 +02:00