Commit Graph

302 Commits

Author SHA1 Message Date
Thomas Gruber
d4229ecfee
Update rpmbuild.yml 2021-11-22 16:34:35 +01:00
Thomas Gruber
14fdb28d51
Create rpmbuild.yml 2021-11-22 16:33:06 +01:00
Thomas Roehl
728b5f3e48 Add initial RPM spec file 2021-11-22 16:32:41 +01:00
Thomas Roehl
7044858c2c Change CPI metric to IPC and inverse measurement 2021-11-02 15:50:18 +01:00
Thomas Gruber
f37a9575c1
Merge pull request #5 from ClusterCockpit/system_scripts
Add init script and unit file for systemd
2021-11-02 15:15:36 +01:00
Thomas Gruber
3d47f894fa
Merge pull request #7 from ClusterCockpit/alternate_storage
Alternative storage
2021-11-02 15:15:14 +01:00
Lou Knauer
485223c590 Add new httpSink
This sink is compatible with the HTTP API of cc-metric-store.
Example config.json section:

```
"sink": {
    "type": "http",
    "host": "localhost",
    "port": "8080",
    "database": "api/write",
    "password": "<JWT>"
},
```

The password/JWT can be omitted.
2021-10-12 13:44:38 +02:00
Lou Knauer
cdc1811576 Add Flush method to sink interface 2021-10-12 13:43:58 +02: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
f74d5dc51a Reuse parser to avoid overhead in NATS receiver 2021-10-08 13:28:44 +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 Roehl
1762e33c36 Adjust README 2021-10-04 16:22:30 +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
Thomas Roehl
b06572c865 Reset buffer in nats sink 2021-10-04 15:46:51 +02:00
Thomas Roehl
558bbaba59 Change storage format 2021-10-04 15:23:43 +02:00
Lou Knauer
1cc9491eca Reset encoder buffer in nats sink 2021-08-20 12:17:46 +02:00
Thomas Roehl
e456497956 Update sink README with SSL for Influx sink 2021-06-30 17:03:56 +02:00
Thomas Roehl
586c6c12ac Add SSL to InfluxDB sink 2021-06-30 16:56:47 +02:00
Thomas Roehl
34585d88df Skip InfiniBand collector if perfquery does not exist 2021-06-30 14:14:04 +02:00
Thomas Roehl
2083906086 Add init script and unit file for systemd 2021-05-29 14:11:44 +02:00
Thomas Roehl
8956ce7ad5 CLI option for PID file and fix for DefaultTags 2021-05-29 03:40:12 +02:00
Thomas Roehl
ed2020a490 Update README 2021-05-19 19:24:01 +02:00
Thomas Roehl
99f3f3b815 Update READMEs 2021-05-19 01:46:52 +02:00
Thomas Roehl
da11523448 Add default_tags to example config 2021-05-19 01:46:37 +02:00
Thomas Roehl
39c96da409 Add config option for default tags like cluster name 2021-05-19 01:34:30 +02:00
Thomas Roehl
b7789cc723 Fixing JSON in README 2021-05-18 15:55:34 +02:00
Thomas Roehl
f3697b9991 Format Receivers 2021-05-18 15:44:42 +02:00
Thomas Roehl
7106e465ad Check length of receiver type configuration 2021-05-18 15:44:32 +02:00
Thomas Roehl
ac41f02dfc Update READMEs 2021-05-18 15:42:11 +02:00
Thomas Roehl
97c31fbcd0 Update included config.json 2021-05-18 15:41:49 +02:00
Thomas Roehl
cb9ff89e92 Rename variable in ReceiverConfig 2021-05-18 15:39:46 +02:00
Thomas Roehl
308ee13a10 Add README for receivers 2021-05-18 15:39:22 +02:00
Thomas Roehl
2e9cec5488 Update README for sinks and rename file 2021-05-18 15:39:02 +02:00
Thomas Roehl
9a205717f7 Unify collector names 2021-05-18 15:30:11 +02:00
Thomas Roehl
1b9cb8955c Hand over full config to Sink and Receiver 2021-05-18 15:16:10 +02:00
Thomas Roehl
b1e6b8e379 Add Nats receiver 2021-05-18 15:15:26 +02:00
Thomas Roehl
36f34e13c7 Don't use absolute path for 'ps' 2021-05-18 15:14:37 +02:00
Thomas Roehl
cda6ebf884 Properly check error codes in LikwidCollector 2021-05-18 15:14:11 +02:00
Thomas Roehl
6e7babe084 Adding Nvidia NVML collector 2021-05-14 19:22:59 +02:00
Thomas Roehl
1da906470d Skip collectors that fail at init. Only write metrics with fields 2021-05-14 19:22:42 +02:00
Thomas Roehl
6b6e28d4c7 Return error at Init for skip collectors early 2021-05-14 19:21:16 +02:00
Thomas Roehl
9b59429a93 Add some more memory metrics to memstat collector 2021-05-12 18:09:15 +02:00
Thomas Roehl
fd6f19ea07 Add proc_total and proc_run to loadavg collector 2021-05-12 18:08:43 +02:00
Thomas Roehl
14bc29f766 Add collector for the top5 processes in %cpu 2021-05-12 17:47:12 +02:00
Thomas Roehl
b84dc08cd6 Enable strings as field values in stdout sink 2021-05-12 17:46:16 +02:00
Thomas Roehl
e8b2bbdae1 Fix format for cpustat collector 2021-05-12 17:45:41 +02:00
Thomas Roehl
e35a9f6b86 Add Cpustat collector for /proc/stat 2021-05-12 16:57:18 +02:00