Jan-Otto Kröpke
6890f391d4
fix lint
...
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de >
2023-07-09 22:42:00 +02:00
Jan-Otto Kröpke
8509bc69a6
switch to go-kit logger
...
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de >
2023-07-09 22:37:27 +02:00
Ben Reedy
04257a1b25
chore: Ensure collector build funcs are private
...
Collector builder functions are only used internally in the `collector`
package, and shouldn't needlessly be exposed as part of the package API
to downstream clients.
Signed-off-by: Ben Reedy <breed808@breed808.com >
2023-04-01 17:54:41 +10:00
Ben Reedy
9214a87d0d
feat: Remove init functions from collectors
...
Behaviour of init functions has been centralised in `collector/init.go`,
and can be called during exporter startup. This allows the exporter to
control the timing of collector initialisation, rather than relying on
the import & `init()` method.
This should reduce unexpected behaviour arising from the use of
`init()`, such as #551 .
Signed-off-by: Ben Reedy <breed808@breed808.com >
2023-04-01 17:54:40 +10:00
Ben Reedy
746158d354
Merge pull request #895 from akrauza/ADCS
...
Add Collector for Active Directory Certificate Services (ADCS)
2022-01-02 19:43:47 +10:00
Austin D. Krauza
a89b53779d
Initial commit for ADCS collector
...
Signed-off-by: Austin D. Krauza <krauza.austin@gmail.com >
2022-01-02 01:24:11 -05:00
Mario Trangoni
e4a43c539b
codespell: Fix word spelling issues
...
See,
```
$ codespell --skip=".git,./vendor" --ignore-words-list=calle
./exporter.go:262: overriden ==> overridden
./collector/dfsr.go:132: receieved ==> received
./collector/dns.go:140: reponses ==> responses
./collector/exchange.go:238: occational ==> occasional
./collector/mssql.go:1961: shoud ==> should
./collector/process.go:137: sharable ==> shareable
./collector/remote_fx.go:64: seccond ==> second
./docs/collector.dfsr.md:47: fils ==> fills, files, file
./docs/collector.exchange.md:39: lengt ==> length
./docs/collector.fsrmquota.md:3: Ressource ==> Resource
./docs/collector.fsrmquota.md:51: Ressource ==> Resource
./docs/collector.os.md:20: sotred ==> sorted, stored
./docs/collector.process.md:56: sharable ==> shareable
./docs/collector.smtp.md:27: mailformed ==> malformed
```
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com >
2021-12-18 19:19:06 +01:00
Mario Trangoni
b98a956d51
gofmt: Fix File is not gofmt-ed with -s for go1.17
...
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com >
2021-12-18 19:01:29 +01:00
Calle Pettersson
c5a545540d
Take over prometheus/common/log into local log package
...
Signed-off-by: Calle Pettersson <carlpett@users.noreply.github.com >
2021-01-30 11:53:51 +01:00
Ashok Siyani
17324b9fc6
add Terminal service & RemoteFx Collector ( #491 )
2020-04-23 12:17:17 +02:00