213 Commits
Author SHA1 Message Date
Arthur Chaloin 7a6c851693 fix: handle base64 certs not ending by a newline v2.13.0 2022-02-01 19:07:25 +01:00
Arthur Chaloin 3829aafc79 feat: gracefully handle duplicate cert errors 2022-02-01 14:08:29 +01:00
Thibault VINCENT 0568d03a8f feat(ci): push images to quay.io too
[skip release]
2022-01-04 14:47:04 +01:00
Arthur Chaloin b423e295f8 fix: ignore empty k8s secret fields v2.12.1 2021-11-18 16:45:52 +01:00
Thibault VINCENT 5ab89725a1 doc(README): add example of Prometheus alerting rules 2021-11-15 14:48:55 +01:00
Thibault VINCENT 3970d1e52b feat: bump base image to Alpine 3.14 v2.12.0 2021-10-08 13:46:57 +02:00
Thibault VINCENT 5b84b3ad20 feat: build with Golang 1.17 2021-10-08 13:46:42 +02:00
jfcoz 94cca464d7 fix: all multi-arch images contained an amd64 binary
Use --platform arg in cross compilation.
Currently, the arm64 image contains the amd64 binary.
This PR fix this problem by using BUILD/TARGET OS/ARCH/PLATFORM during build
2021-10-08 13:05:16 +02:00
Thibault VINCENT 8d9ec03c90 fix: rebuild from up-to-date base image v2.11.1 2021-10-07 16:21:33 +02:00
Arthur Chaloin d3102780fc chore(test): add listen error test for 100% coverage 2021-08-31 10:38:27 +02:00
Thibault VINCENT e0b8ea1397 docs: update README with newer arguments help v2.11.0 2021-08-10 17:22:23 +02:00
Thibault VINCENT 4a1bece219 feat: set a bind address and port with --listen-address
Allow providing a listening address to bind to as well as the port number with
a single new argument.

This is breaking the command line API if `--port` was used as this argument was
removed. For consistency with other exporters and general practices this approach
appeared more robust.
2021-08-10 17:22:23 +02:00
Arthur Chaloin 0b4f573c91 feat: --expose-per-cert-error-metrics for detailled errors v2.10.0 2021-06-28 18:02:52 +02:00
Arthur Chaloin e4744fa6cd feat: in-memory cache for efficiency on big clusters 2021-05-26 18:15:57 +02:00
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