Commit Graph

25 Commits

Author SHA1 Message Date
lconsuegra c8a17fbb7d test printers response before parsing 2021-01-15 13:49:33 +01:00
lconsuegra 86ea2a3389 use orig version of go ipp lib 2021-01-15 13:37:17 +01:00
lconsuegra 9c81fabc19 make sure we have a job state in the response before parsing 2021-01-15 09:26:58 +01:00
lconsuegra 87d67327c9 jobs: check if returned job state is known 2021-01-13 17:24:19 +01:00
lconsuegra cf91f9aa90 README: Add docker part and missing metrics in example 2021-01-11 09:39:11 +01:00
lconsuegra 7aa2ee18ed docker release: Add needed steps for build-push-action@v2 2021-01-08 08:59:12 +01:00
lconsuegra b6f252d6d1 adapt workflows 2021-01-08 08:28:40 +01:00
lconsuegra 50ac9451c5 Docker publish : add meta action for auto tag management 2021-01-07 17:08:32 +01:00
lconsuegra 3e3e5145b9 build-push-action v2 : remove deprecated options and add tags 2021-01-07 16:54:53 +01:00
lconsuegra 117784dde8 add push true in docker release action 2021-01-07 16:36:04 +01:00
lconsuegra c49b6e3bb2 adapt workflow coz ghcr.io needs a PAT 2021-01-07 16:23:17 +01:00
lconsuegra f8cce9df4a adapt workflows 2021-01-07 15:49:28 +01:00
lconsuegra e3854bc077 update README 2021-01-07 14:59:22 +01:00
lconsuegra 272ff8da17 Add dockerfile and a github action to publish docker image 2021-01-07 14:58:12 +01:00
lconsuegra adbca53201 linting main.go and exporter.go 2021-01-07 12:04:03 +01:00
lconsuegra 5d5c586337 github actions: add linting and releasing jobs 2021-01-07 11:51:17 +01:00
lconsuegra 34f1fe6017 README: adapt accordingly after the modifications 2021-01-07 11:48:53 +01:00
lconsuegra 51c7d41aaa printers: Add label to differentiate each printers metrics 2021-01-07 11:47:44 +01:00
lconsuegra 3ae05b8690 jobs: Expose real jobs state and add a printer label 2021-01-07 11:46:17 +01:00
lconsuegra 5b3260d47c exporter: Rename up metric to cups_up and add printer label for state metrics 2021-01-07 11:44:04 +01:00
lconsuegra f1e5de93a3 main.go : syntax 2021-01-07 11:36:09 +01:00
lconsuegra 0d3a79d98c update modules 2021-01-07 11:35:00 +01:00
lconsuegra 651b56c446 add gitignore for binary 2021-01-07 11:21:26 +01:00
lconsuegra 3c0124a0d3 remove vendor directory 2021-01-07 11:20:39 +01:00
Fabian 1372cb44ed initial commit2 2019-12-26 21:52:54 +01:00