Ben Kochie
090957658e
Update logging ( #3097 )
...
Switch from promlog/go-kit to promslog/slog for logging.
* Update Go build to 1.23.
Signed-off-by: Ben Kochie <superq@gmail.com>
2 months ago
Pranshu Srivastava
c0c1a8c572
chore: sync with latest `procfs` release ( #3059 )
...
Needed-for: https://github.com/prometheus/node_exporter/pull/3032
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
4 months ago
Ayoub Mrini
bf67c859bb
fibre_channel: update procfs to take into account optional attributes ( #2933 )
...
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
7 months ago
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>
1 year ago
Ben Kochie
49db7c81e1
Fixup codespell ( #2455 )
...
* Fix some mistakes
* Switch to an ignore file.
Signed-off-by: Ben Kochie <superq@gmail.com>
Signed-off-by: Ben Kochie <superq@gmail.com>
2 years ago
Julien Pivotto
68a6c78c0d
Update go to 1.17 ( #2159 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
3 years ago
Ben Kochie
3bc9a93c20
Add ErrorLog plumbing to promhttp
...
Fix the error logging of the promhttp handler by connecting it to the
promlog setup.
* Switch to go-kit/log.
* Cleanup CHANGELOG.
Fixes: https://github.com/prometheus/node_exporter/issues/1886
Signed-off-by: Ben Kochie <superq@gmail.com>
4 years ago
mhiles
5a28930e2e
change fc_host everywhere, update fixtures
...
Signed-off-by: mhiles <hiles@hpe.com>
4 years ago
mhiles
56eba80306
add fibrechannel to default list in read me; host -> fc_host to avoid name collision
...
Signed-off-by: mhiles <hiles@hpe.com>
4 years ago
Matthew Hiles
3fcccd5b14
Update collector/fibrechannel_linux.go
...
Co-authored-by: Ben Kochie <superq@gmail.com>
Signed-off-by: mhiles <hiles@hpe.com>
4 years ago
mhiles
6e02d5bff1
invalid_tx_word_total -> invalid_tx_words_total
...
Signed-off-by: mhiles <hiles@hpe.com>
4 years ago
mhiles
10f6841caf
counter compliance again
...
Signed-off-by: mhiles <hiles@hpe.com>
4 years ago
mhiles
d80ae383b7
conform to metric naming conventions
...
Signed-off-by: mhiles <hiles@hpe.com>
4 years ago
mhiles
62403d6748
add fibre channel collector
...
Signed-off-by: mhiles <hiles@hpe.com>
4 years ago