199 Commits
Author SHA1 Message Date
Arthur Chaloin bf43bb14a5 fix: upgrade dependencies to use latest security patches v2.9.2 2021-05-19 10:39:17 +02:00
Arthur Chaloin 559bda79f9 fix: don't ignore --expose-labels flag v2.9.1 2021-04-28 15:38:37 +02:00
Arthur Chaloin 7b1177fe08 Merge pull request #15 from enix/feature/filterable-labels
Feature/filterable labels
v2.9.0
2021-04-22 19:26:09 +02:00
Arthur Chaloin f62f2480f4 feat: --expose-labels flags to filter labels 2021-04-22 17:25:51 +02:00
Arthur Chaloin b47b179e77 refactor: use label map for easier filtering 2021-04-22 14:14:56 +02:00
Arthur Chaloin 0abe561ffe fix: use latest security patches from base docker image v2.8.1 2021-03-31 18:37:22 +02:00
Arthur Chaloin d05f553bbb chore: bump required go version to 1.16 2021-03-31 18:36:38 +02:00
Arthur Chaloin 5696b1fc71 test: fix consecutive tests not cleaning state properly 2021-03-17 19:15:17 +01:00
Arthur Chaloin e013d861e6 fix: handle unhandled error on listen call 2021-03-17 19:14:59 +01:00
Arthur Chaloin b019c372fa fix: use relevant descriptors for relative metrics 2021-03-17 15:09:43 +01:00
Arthur Chaloin 5cc6ba2e84 Merge pull request #13 from jfcoz/x509_read_timestamp
add x509_read_timestamp
v2.8.0
2021-03-15 16:57:08 +01:00
Arthur Chaloin 65415ef095 chore: remove unreachable code 2021-03-15 15:22:45 +01:00
Arthur Chaloin f5660c66cc chore: remove unreachable code 2021-03-15 15:11:52 +01:00
Arthur Chaloin 3b5aab86c9 docs: typo in readme 2021-03-15 15:06:35 +01:00
Arthur Chaloin 5d29539acf docs: update readme 2021-03-15 15:05:50 +01:00
Arthur Chaloin c6d36ca8b9 test: add test for duration metrics 2021-03-15 14:54:28 +01:00
Arthur Chaloin e15719dd37 feat: --expose-relative-metrics flag for timestamp calculations 2021-03-15 14:54:07 +01:00
jfcoz 5e47fbf45b --add-delays argument calculate delays in seconds
x509_cert_seconds_since_not_before and x509_cert_seconds_until_not_after
2021-03-15 14:24:37 +01:00
Thibault VINCENT 809b324bae make x509_read_timestamp an optional metric
To preserve storage efficiency in TSDB systems that don't need the
metric for alerting.

Argument --timestamp-metric is to be used when x509_read_timestamp
should be emitted.

Signed-off-by: Thibault VINCENT <root@paraneko.org>
2021-03-12 12:30:23 +01:00
jfcoz 32acde5c04 add x509_read_timestamp
For monitoring tools that does not have timestamp calculation functions
2021-03-12 11:04:29 +01:00
Arthur Chaloin 8250623f7e test: adapt failing test to environment v2.7.0 2021-03-11 14:50:06 +01:00
Arthur Chaloin adc0d4b7c3 refactor: use appropriate contexts instead of TODO() 2021-03-11 14:49:19 +01:00
Arthur Chaloin f5967f2f2c feat: flag to watch custom secret types 2021-03-11 14:39:12 +01:00
lianhu.yin 745889e93b chore: remove redundant dependency 2021-03-04 16:35:43 +01:00
Arthur Chaloin 3fedef237e fix: don't fail when pem block isn't a certificate v2.6.1 2021-03-02 12:57:48 +01:00
Arthur Chaloin f4558bc9a4 docs: readme wording 2021-03-02 11:49:53 +01:00
Romain Dégez f69191496a Update Readme.md
Explain that the exporter can be used in Kubernetes or in standalone mode.
2021-03-02 11:49:53 +01:00
Arthur Chaloin 3e97062b5d test: fix folder test count v2.6.0 2021-03-01 17:22:36 +01:00
Arthur Chaloin 49017cd6b1 feat: try to resolve symlinks in current directory 2021-03-01 17:15:33 +01:00
Thibault VINCENT 6109abea77 feat: add Dockerfile EXPOSE statement v2.5.0 2021-02-25 18:04:26 +01:00
Thibault VINCENT 70fbc4eb1d feat: add OCI annotations 2021-02-25 18:03:58 +01:00
Thibault VINCENT 5bdcb4368d doc: fix link on license badge 2021-02-25 17:35:37 +01:00
Arthur Chaloin 9ef4b48f92 fix(ci): upload assets on correct release v2.4.1 2021-02-24 17:10:38 +01:00
Arthur Chaloin 580c093624 docs: update default port v2.4.0 2021-02-24 15:36:42 +01:00
Arthur Chaloin 9d03cc018d docs: typo in readme 2021-02-24 15:36:42 +01:00
Arthur Chaloin 6f3f72f1c2 docs: update readme 2021-02-24 15:36:42 +01:00
Arthur Chaloin bc3bb0aee3 chore(ci): only do standalone build for releases 2021-02-24 15:36:27 +01:00
Arthur Chaloin d4ce86ebb4 chore(ci): run go mod tidy before tests 2021-02-24 15:16:10 +01:00
Arthur Chaloin 8827177b27 refactor: migrate to go 1.16 2021-02-24 15:04:49 +01:00
Arthur Chaloin 8bf23b8c80 refactor: reduce cyclomatic complexity of getWatchedSecrets
closes #9
2021-02-24 13:17:37 +01:00
Arthur Chaloin deab8d33f6 chore(ci): build for many platforms 2021-02-24 12:10:52 +01:00
Arthur Chaloin bac91af386 refactor: listen on 9793 by default 2021-02-24 12:03:33 +01:00
Arthur Chaloin d9b973b32a chore(ci): run builds on ubuntu 2021-02-24 11:56:39 +01:00
Arthur Chaloin 2683bc4004 chore(ci): quote release url 2021-02-24 11:33:41 +01:00
Arthur Chaloin 75fdaf8ed5 chore(ci): debug 2021-02-23 17:20:39 +01:00
Arthur Chaloin 9747360fc4 chore: add license 2021-02-23 17:17:56 +01:00
Arthur Chaloin 9f4908312a chore(ci): fllow github auth redirect 2021-02-23 17:04:12 +01:00
Arthur Chaloin 5ce2a29ebb docs: add go report badge to readme 2021-02-23 16:31:45 +01:00
Arthur Chaloin e864c6df85 chore(ci): use sh compatible syntax 2021-02-23 16:26:06 +01:00
Arthur Chaloin 83efb0c75d chore: fix minor go report issues 2021-02-23 16:25:59 +01:00