Holger Obermaier
3181f81db1
Suggestions from the gocritic linter
2026-02-11 14:56:21 +01:00
Holger Obermaier
18e2518660
Fix derivative values should be float
2026-02-11 14:27:08 +01:00
Holger Obermaier
2cca8d6ac0
Revert wrong use of slices.Delete()
2026-02-11 14:02:47 +01:00
Holger Obermaier
6bfdd6ff17
Wrap errors so that they can be unwrapped
2026-02-11 13:51:58 +01:00
Holger Obermaier
ca95494a83
Use cclog for logging
2026-02-11 12:15:58 +01:00
Holger Obermaier
e512f3255c
Use cclog for logging
2026-02-11 12:01:47 +01:00
Holger Obermaier
5b08183d54
Removed unused code
2026-02-11 11:45:08 +01:00
dependabot[bot]
b69281dae6
Bump github.com/ClusterCockpit/cc-lib/v2 from 2.1.0 to 2.2.1 ( #193 )
...
Bumps [github.com/ClusterCockpit/cc-lib/v2](https://github.com/ClusterCockpit/cc-lib ) from 2.1.0 to 2.2.1.
- [Release notes](https://github.com/ClusterCockpit/cc-lib/releases )
- [Commits](https://github.com/ClusterCockpit/cc-lib/compare/v2.1.0...v2.2.1 )
---
updated-dependencies:
- dependency-name: github.com/ClusterCockpit/cc-lib/v2
dependency-version: 2.2.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-10 13:45:21 +01:00
boesr
053eb27463
fixes rpm config paths ( #190 )
2026-02-10 13:42:36 +01:00
dependabot[bot]
665db57a11
Bump golang.org/x/sys from 0.40.0 to 0.41.0 ( #194 )
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.40.0 to 0.41.0.
- [Commits](https://github.com/golang/sys/compare/v0.40.0...v0.41.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-version: 0.41.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-10 13:40:56 +01:00
Holger Obermaier
fc297854d2
Golangci modernize fixes ( #196 )
...
* Fix: Loop can be simplified using slices.Contains
* Fix: for loop can be modernized using range over int
* Fix: interface{} can be replaced by any
* Fix: Replace m[k]=v loop with maps.Copy
* Run all linters with golangci-lint
2026-02-10 13:33:04 +01:00
Holger Obermaier
cca0d23efa
Golangci lint fixes ( #195 )
...
* Add golangci-lin as make target
* Fix: could omit type ... from declaration; it will be inferred from the right-hand side (staticcheck)
* Fix func intArrayContains is unused (unused)
* Fix: could use strings.ReplaceAll instead (staticcheck)
* Fix: could expand call to math.Pow (staticcheck)
* Fix: could use tagged switch on `...` (staticcheck)
* Fix: Error return value of `...` is not checked (errcheck)
* Fix: ineffectual assignment to err (ineffassign)
* Fix: There is no need to wait for command completion
* Add cpustat, diskstat and schedstat config
* Use slices to exclude metrics
* Replaced stringArrayContains by slices.Contains
* Replace m[k]=v loop with maps.Copy
* Use module slices from the standard library. Remove use of golang.org/x/exp/slices
* Use SplitSeq and max to modernize code
2026-02-09 14:51:31 +01:00
Holger Obermaier
7cff283001
Update ci ( #192 )
...
Add static analysis with GolangCI-Lint, govet and staticcheck
2026-01-23 14:39:39 +01:00
Holger Obermaier
fa45d0d973
Update ci ( #191 )
...
* Add UBI 10 build
* Add Almalinux 10 build
* Use Appstream Repository from Red Hat Universal Base Image
* Use Appstream Repository from Almalinux
2026-01-21 15:20:12 +01:00
Holger Obermaier
e70fd658f0
Update CI pipeline ( #189 )
...
* Updated Action "checkout" and "Setup golang"
* Update go-toolset to latest version
* Add golang-race dependency
* Update download-artifact and upload-artifact
2026-01-15 14:35:43 +01:00
Holger Obermaier
c58790cd54
Switch to cc-lib v2
2026-01-15 11:30:50 +01:00
dependabot[bot]
67ee09ffef
Bump golang.org/x/sys from 0.38.0 to 0.39.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.38.0 to 0.39.0.
- [Commits](https://github.com/golang/sys/compare/v0.38.0...v0.39.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-version: 0.39.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-22 11:59:49 +01:00
dependabot[bot]
7f575269eb
Bump github.com/ClusterCockpit/cc-lib from 0.11.0 to 1.0.2
...
Bumps [github.com/ClusterCockpit/cc-lib](https://github.com/ClusterCockpit/cc-lib ) from 0.11.0 to 1.0.2.
- [Release notes](https://github.com/ClusterCockpit/cc-lib/releases )
- [Commits](https://github.com/ClusterCockpit/cc-lib/compare/v0.11.0...v1.0.2 )
---
updated-dependencies:
- dependency-name: github.com/ClusterCockpit/cc-lib
dependency-version: 1.0.2
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-22 11:59:33 +01:00
dependabot[bot]
c8cd11796c
Bump github.com/ClusterCockpit/cc-lib from 0.10.1 to 0.11.0
...
Bumps [github.com/ClusterCockpit/cc-lib](https://github.com/ClusterCockpit/cc-lib ) from 0.10.1 to 0.11.0.
- [Release notes](https://github.com/ClusterCockpit/cc-lib/releases )
- [Commits](https://github.com/ClusterCockpit/cc-lib/compare/v0.10.1...v0.11.0 )
---
updated-dependencies:
- dependency-name: github.com/ClusterCockpit/cc-lib
dependency-version: 0.11.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-08 12:37:40 +01:00
Roland Pabel
92f6c75d23
Gpfs collector restructure ( #182 )
...
* restructure metric similiar to lustre collector
* make sure total metric is not saved if none of the base metrics are present
* reuse variable
* corrections per ho-ob review
2025-12-01 14:52:18 +01:00
Thomas Roehl
62d40cfe00
Update workflow with latest golang RPM URLs
2025-11-26 08:36:12 +01:00
Thomas Roehl
ece1a52082
Move example configurations and update docs. Fixed #150
2025-11-26 08:24:23 +01:00
dependabot[bot]
398aa207a9
Bump github.com/tklauser/go-sysconf from 0.3.15 to 0.3.16
...
Bumps [github.com/tklauser/go-sysconf](https://github.com/tklauser/go-sysconf ) from 0.3.15 to 0.3.16.
- [Release notes](https://github.com/tklauser/go-sysconf/releases )
- [Commits](https://github.com/tklauser/go-sysconf/compare/v0.3.15...v0.3.16 )
---
updated-dependencies:
- dependency-name: github.com/tklauser/go-sysconf
dependency-version: 0.3.16
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-26 08:22:54 +01:00
dependabot[bot]
b51bf592d0
Bump golang.org/x/sys from 0.37.0 to 0.38.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.37.0 to 0.38.0.
- [Commits](https://github.com/golang/sys/compare/v0.37.0...v0.38.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-version: 0.38.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-10 12:19:48 +01:00
Thomas Roehl
6243203880
Fix startup error of iostat collector
2025-10-20 17:06:10 +02:00
Thomas Roehl
c7c9f8c273
Fix max clock metrics
2025-10-20 17:05:59 +02:00
Roland Pabel
6a4ad067ac
return new error
2025-10-20 16:29:36 +02:00
Roland Pabel
ed2378f794
StartsWith -> HasPrefix
2025-10-20 16:29:36 +02:00
Roland Pabel
99e066ff5f
docu update for sudo
2025-10-20 16:29:36 +02:00
Roland Pabel
67cdbefb02
getting filename from error doesn't work, mmpmon path must be provided when using sudo
2025-10-20 16:29:36 +02:00
Roland Pabel
b522aca693
fix config.Mmpmon is the empty string because of the error thrown
2025-10-20 16:29:36 +02:00
Roland Pabel
ea7c4f4ec7
correctly check for EACCESS when searching for mmpmon with exec.LookPath
2025-10-20 16:29:36 +02:00
Roland Pabel
09cf89a951
with sudo, ignore EPERM for exec.LookPath
2025-10-20 16:29:36 +02:00
Roland Pabel
d6499935a4
enable sudo support
2025-10-20 16:29:36 +02:00
dependabot[bot]
3e19c47ae4
Bump github.com/ClusterCockpit/cc-lib from 0.9.1 to 0.10.1
...
Bumps [github.com/ClusterCockpit/cc-lib](https://github.com/ClusterCockpit/cc-lib ) from 0.9.1 to 0.10.1.
- [Release notes](https://github.com/ClusterCockpit/cc-lib/releases )
- [Commits](https://github.com/ClusterCockpit/cc-lib/compare/v0.9.1...v0.10.1 )
---
updated-dependencies:
- dependency-name: github.com/ClusterCockpit/cc-lib
dependency-version: 0.10.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-10-20 16:14:43 +02:00
brinkcoder
97e09f13f4
fix numastat collector sending node metrics instead of memoryDomain metrics
2025-10-20 16:12:58 +02:00
Roland Pabel
e08bd3d926
fix wrong variable in calculation of gpfs_reads_rate
2025-10-15 17:20:08 +02:00
dependabot[bot]
fc525b7430
Bump golang.org/x/sys from 0.36.0 to 0.37.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.36.0 to 0.37.0.
- [Commits](https://github.com/golang/sys/compare/v0.36.0...v0.37.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-version: 0.37.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-10-13 12:04:12 +02:00
brinkcoder
69d4567ecf
add support for passwordless sudo
2025-10-07 13:10:17 +02:00
brinkcoder
c5183feafc
add slurm_cgroup Collector
2025-10-07 13:10:17 +02:00
dependabot[bot]
a45366646e
Bump github.com/ClusterCockpit/cc-lib from 0.8.0 to 0.9.1
...
Bumps [github.com/ClusterCockpit/cc-lib](https://github.com/ClusterCockpit/cc-lib ) from 0.8.0 to 0.9.1.
- [Release notes](https://github.com/ClusterCockpit/cc-lib/releases )
- [Commits](https://github.com/ClusterCockpit/cc-lib/compare/v0.8.0...v0.9.1 )
---
updated-dependencies:
- dependency-name: github.com/ClusterCockpit/cc-lib
dependency-version: 0.9.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-10-06 12:07:06 +02:00
dependabot[bot]
a551616566
Bump github.com/ClusterCockpit/cc-lib from 0.7.0 to 0.8.0
...
Bumps [github.com/ClusterCockpit/cc-lib](https://github.com/ClusterCockpit/cc-lib ) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/ClusterCockpit/cc-lib/releases )
- [Commits](https://github.com/ClusterCockpit/cc-lib/compare/v0.7.0...v0.8.0 )
---
updated-dependencies:
- dependency-name: github.com/ClusterCockpit/cc-lib
dependency-version: 0.8.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-15 13:42:07 +02:00
dependabot[bot]
a9fa168117
Bump golang.org/x/sys from 0.35.0 to 0.36.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.35.0 to 0.36.0.
- [Commits](https://github.com/golang/sys/compare/v0.35.0...v0.36.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-version: 0.36.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-15 13:10:18 +02:00
Thomas Gruber
39d37597ab
Update README.md
2025-09-09 14:43:07 +02:00
Thomas Gruber
aeaba0021b
Update likwid_perfgroup_to_cc_config.py
...
Add "UMC" to socket-counters
2025-08-28 15:59:48 +02:00
dependabot[bot]
5ceffb44b4
Bump github.com/NVIDIA/go-nvml from 0.12.9-0 to 0.13.0-1
...
Bumps [github.com/NVIDIA/go-nvml](https://github.com/NVIDIA/go-nvml ) from 0.12.9-0 to 0.13.0-1.
- [Release notes](https://github.com/NVIDIA/go-nvml/releases )
- [Commits](https://github.com/NVIDIA/go-nvml/compare/v0.12.9-0...v0.13.0-1 )
---
updated-dependencies:
- dependency-name: github.com/NVIDIA/go-nvml
dependency-version: 0.13.0-1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-25 14:14:21 +02:00
dependabot[bot]
e29942a4be
Bump github.com/ClusterCockpit/cc-lib from 0.6.0 to 0.7.0
...
Bumps [github.com/ClusterCockpit/cc-lib](https://github.com/ClusterCockpit/cc-lib ) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/ClusterCockpit/cc-lib/releases )
- [Commits](https://github.com/ClusterCockpit/cc-lib/compare/v0.6.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: github.com/ClusterCockpit/cc-lib
dependency-version: 0.7.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-11 12:24:44 +02:00
dependabot[bot]
0b9b9a6e68
Bump golang.org/x/sys from 0.34.0 to 0.35.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.34.0 to 0.35.0.
- [Commits](https://github.com/golang/sys/compare/v0.34.0...v0.35.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-version: 0.35.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-11 12:24:27 +02:00
dependabot[bot]
b47cb3a0c4
Merge pull request #163 from ClusterCockpit/dependabot/go_modules/github.com/ClusterCockpit/cc-lib-0.6.0
2025-07-28 05:18:37 +00:00
dependabot[bot]
b49ae7b612
Bump github.com/ClusterCockpit/cc-lib from 0.5.0 to 0.6.0
...
Bumps [github.com/ClusterCockpit/cc-lib](https://github.com/ClusterCockpit/cc-lib ) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/ClusterCockpit/cc-lib/releases )
- [Commits](https://github.com/ClusterCockpit/cc-lib/compare/v0.5.0...v0.6.0 )
---
updated-dependencies:
- dependency-name: github.com/ClusterCockpit/cc-lib
dependency-version: 0.6.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-07-28 04:49:00 +00:00