Commit Graph

29 Commits

Author SHA1 Message Date
treydock f60e0b3804
Support cgroup v2 (#28)
Fixes #27
2024-01-24 12:54:50 -05:00
treydock 640ac7ef56
Avoid possible nil pointer errors (#24) 2023-05-12 15:58:16 -04:00
treydock 7f3562cb6d
Update to Go 1.20 and update Go module dependencies (#23) 2023-05-06 08:35:46 -04:00
treydock 15c70a8254
Trim exec path in middle (#22) 2023-05-06 08:00:41 -04:00
treydock 7fe1ae6685
Avoid null references during what appears to be race condition (#21) 2022-11-15 08:50:15 -05:00
treydock 0224b523ec
Update Go module dependencies (#20)
* Update Go module dependencies

* Update Prometheus orb
2022-03-08 11:56:57 -05:00
Trey Dockendorf 42bb4f8350 Update to Go 1.16 2021-04-23 09:52:33 -04:00
Trey Dockendorf a2dea897a8 Parallelize cgroup loads and process info collection 2020-10-02 16:24:03 -04:00
Trey Dockendorf b9b73e7658 Switch logging to promlog 2020-10-02 15:28:03 -04:00
Trey Dockendorf 1666fe6c96 Add cgroup_process_exec_count metric 2020-10-02 13:53:15 -04:00
Trey Dockendorf 839bed51c3 Add cgroup_cpu_info metric 2020-10-01 10:50:22 -04:00
Trey Dockendorf e0f7c0470d Add cgroup_memory_rss_bytes and cgroup_memory_cache_bytes metrics 2020-04-03 08:54:56 -04:00
Trey Dockendorf 714fd70b14 Replace swap metrics with memsw to describe the raw values 2020-02-27 11:03:20 -05:00
Trey Dockendorf a58b20c257 Fix error handling 2020-02-20 15:13:04 -05:00
Trey Dockendorf 903b0fd581 Cleanup collect_error metric 2020-02-20 14:46:08 -05:00
Trey Dockendorf 64869138e2 Rename cgroup_cpu_kernel_seconds to cgroup_cpu_system_seconds 2020-02-20 14:31:49 -05:00
Trey Dockendorf 025dd068b9 Combine cgroup_userslice_info and cgroup_job_info into cgroup_info 2020-02-20 14:13:45 -05:00
Trey Dockendorf cd39799d62 Remove success metric 2020-02-20 13:51:46 -05:00
Trey Dockendorf 9bfac687d6 Add metric to indicate collect failures 2020-02-20 13:48:02 -05:00
Trey Dockendorf 88c000ca82 Add fail count metrics for memory and swap 2020-02-14 12:08:22 -05:00
Trey Dockendorf a40dc18d63 Fix swap metrics 2020-02-14 12:01:24 -05:00
Trey Dockendorf ffc560b3af Adjust default port 2020-02-13 11:59:25 -05:00
Trey Dockendorf f77ce89891 Add Torque cgroup support 2020-02-13 10:52:43 -05:00
Trey Dockendorf fb1bf083dc SLURM support 2020-02-13 10:42:16 -05:00
Trey Dockendorf 2c8d40b431 Fix user slice username extraction 2020-02-12 12:58:18 -05:00
Trey Dockendorf eb5a04e1be Add swap metrics 2020-02-12 12:49:06 -05:00
Trey Dockendorf bb06e04d87 Support getting user slice information
Linting and style fixes
2020-02-12 12:41:36 -05:00
Trey Dockendorf ed41afdeac Support getting user slice information 2020-02-12 12:33:18 -05:00
Trey Dockendorf 5e904971a7 Initial commit 2020-02-12 11:07:45 -05:00