Commit Graph

9 Commits (6300fab8219549a7bb800bb7c296c8e14c9c5bb2)

Author SHA1 Message Date
Sam DeHaan c55b81403e Update prometheus/common 2025-02-13 12:59:48 -05:00
Marc Tuduri c01a7c2c57
use pointers 2023-09-27 18:00:19 +02:00
Marc Tuduri 58bc86d2a6
Merge branch 'master' into marctc/refactor_kingpin 2023-09-27 15:06:40 +02:00
Marc Tuduri 96f13a2e27
Refactor collectors - part 3 2023-09-26 16:41:39 +02:00
Marc Tuduri 58a99510d2
Refactor collectors - part 1 2023-09-25 17:41:34 +02:00
Daniel Swarbrick 3fb5f70b0c Drop redundant GOOS build tags if already in filename
Drop redundant GOOS build tags at start of file if the constraint is
already specified by the filename, e.g. foo_GOOS.go or
foo_GOOS_GOARCH.go, avoiding potential confusion in future.

cf. https://pkg.go.dev/cmd/go#hdr-Build_constraints

Signed-off-by: Daniel Swarbrick <daniel.swarbrick@gmail.com>
2023-08-08 14:30:39 +02:00
Ben Kochie 9c6ff78e74
Refactor collector package configuration
Add a new pattern to allow moving the flag handling out of the collector
package and into a separate package. This allows collector package users
to create their own config or flag handling.

Signed-off-by: Ben Kochie <superq@gmail.com>
2023-07-21 16:08:45 +02:00
Julien Pivotto 68a6c78c0d
Update go to 1.17 (#2159)
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-10-03 13:35:24 +02:00
Benjamin Drung b23146db3f Add nvme collector
Add a collector for NVMes to expose the firmware versions. This requires
procfs >= 0.7.0.

Fixes #1891
Signed-off-by: Benjamin Drung <benjamin.drung@ionos.com>
2021-07-06 13:38:15 +02:00