cd71a06345
Merge pull request #17 from nikdoof/renovate/wangyoucao577-go-release-action-1.x
...
chore(deps): update wangyoucao577/go-release-action action to v1.36
2023-03-23 21:48:54 +00:00
6bc8841336
Merge pull request #22 from nikdoof/renovate/github.com-prometheus-client_golang-1.x
...
fix(deps): update module github.com/prometheus/client_golang to v1.14.0
2023-03-23 21:48:42 +00:00
9a854913d7
Merge pull request #24 from nikdoof/renovate/docker-build-push-action-4.x
...
chore(deps): update docker/build-push-action action to v4
2023-03-23 21:48:33 +00:00
renovate[bot]
9481bd72bc
chore(deps): update wangyoucao577/go-release-action action to v1.36
2023-03-02 05:56:38 +00:00
renovate[bot]
dfec9d8cc8
chore(deps): update docker/build-push-action action to v4
2023-02-28 14:13:45 +00:00
d0172e19e1
Merge pull request #18 from nikdoof/renovate/alpine-3.x
...
chore(deps): update alpine docker tag to v3.16.3
2023-02-28 14:12:31 +00:00
renovate[bot]
9b728749da
fix(deps): update module github.com/prometheus/client_golang to v1.14.0
2022-11-20 17:55:16 +00:00
renovate[bot]
aa0fb72066
chore(deps): update alpine docker tag to v3.16.3
2022-11-20 17:54:47 +00:00
e699b7747f
chore: Update build and docker dependencies
0.1.4
2022-07-16 12:43:23 +01:00
6ac0db075b
chore: Update dependencies
2022-07-16 12:42:50 +01:00
83d3970baf
Update Go release version
0.1.3
2022-05-05 13:45:01 +01:00
dd126704ef
Merge pull request #9 from nikdoof/renovate/github.com-urfave-cli-v2-2.x
...
fix(deps): update module github.com/urfave/cli/v2 to v2.5.1
2022-05-05 13:41:01 +01:00
f7f77145b8
Merge pull request #6 from nikdoof/renovate/wangyoucao577-go-release-action-1.x
...
chore(deps): update wangyoucao577/go-release-action action to v1.26
2022-05-05 13:40:41 +01:00
Renovate Bot
ad7aa373c7
fix(deps): update module github.com/urfave/cli/v2 to v2.5.1
2022-05-05 12:40:21 +00:00
Renovate Bot
78137c798c
chore(deps): update wangyoucao577/go-release-action action to v1.26
2022-05-05 12:40:08 +00:00
92e6e207a7
Merge pull request #5 from nikdoof/renovate/github.com-prometheus-client_golang-1.x
...
fix(deps): update module github.com/prometheus/client_golang to v1.12.1
2022-05-05 13:38:30 +01:00
1aee823fe4
Merge pull request #8 from nikdoof/renovate/alpine-3.x
...
chore(deps): update dependency alpine to v3.15.4
2022-05-05 13:38:09 +01:00
05626a2a8d
Merge pull request #7 from nikdoof/renovate/actions-checkout-3.x
...
chore(deps): update actions/checkout action to v3
2022-05-05 13:37:54 +01:00
122ec1ecec
Merge pull request #4 from nikdoof/renovate/golang-1.x
...
chore(deps): update dependency golang to v1.18.1
2022-05-05 13:37:43 +01:00
Renovate Bot
b8e44f0e76
chore(deps): update dependency golang to v1.18.1
2022-04-24 23:14:37 +00:00
Renovate Bot
776e0862aa
chore(deps): update dependency alpine to v3.15.4
2022-04-24 23:14:34 +00:00
Renovate Bot
ed4c96ec25
chore(deps): update actions/checkout action to v3
2022-03-07 15:38:10 +00:00
Renovate Bot
a7655910b0
fix(deps): update module github.com/prometheus/client_golang to v1.12.1
2022-01-29 15:30:56 +00:00
24766c5931
Merge pull request #3 from nikdoof/renovate/golang-1.x
...
chore(deps): update golang docker tag to v1.17.5
0.1.2
2021-12-18 13:09:34 +00:00
6d212d488f
Fix tags for Docker Build
2021-12-18 13:07:53 +00:00
fac6dacc47
Add to CONTRIBUTORS
2021-12-18 13:04:40 +00:00
d51167ac6f
Switch to GHCR
2021-12-18 13:04:34 +00:00
Renovate Bot
0e3bc340f9
chore(deps): update golang docker tag to v1.17.5
2021-12-09 18:07:15 +00:00
0a8edc22d6
chore: update README
2021-12-05 10:08:53 +00:00
8eb5ab412c
fix: release workflow
0.1.1
2021-12-05 10:01:31 +00:00
ae1b37e493
chore: build release assets
0.1.0
2021-12-05 09:55:01 +00:00
b0fe4d71de
chore!: pin alpine version, and change executable name
2021-12-05 09:50:17 +00:00
cf74740370
chore: update example kubernetes deployment
2021-12-05 09:31:35 +00:00
f0527718e7
chore: move renovate config under github tree
2021-12-05 09:28:53 +00:00
f2e714dce5
chore: update module name
2021-12-05 09:28:25 +00:00
2a885cf111
Merge pull request #1 from nikdoof/renovate/configure
...
Configure Renovate
2021-12-05 09:20:58 +00:00
Renovate Bot
e9928b404e
chore(deps): add renovate.json
2021-12-05 09:20:30 +00:00
375ba14315
Correct ref name
0.0.1
2021-12-05 09:07:55 +00:00
c9492d28d7
Handle tags as well
2021-12-05 09:06:42 +00:00
abcd2e1d9f
Add docker build workflow
2021-12-05 09:02:58 +00:00
Dominic Evans
46f04e00fa
chore: add golangci config
2021-05-13 10:19:36 +01:00
Dominic Evans
cfb8bf7513
fix: ensure response body is closed
2021-05-13 10:19:36 +01:00
Dominic Evans
8085c2d3ca
chore: add .gitignore
2021-05-13 10:19:35 +01:00
Dominic Evans
ef3ac24b07
chore: gofmt/goimports
2021-05-13 10:19:35 +01:00
Dominic Evans
5373e12542
chore: refresh dependencies
2021-05-13 10:12:33 +01:00
Dominic Evans
f3ade9e942
fix: add context-based timeout to HTTP GET
2021-05-13 10:12:18 +01:00
Dominic Evans
10827cf62e
fix: add /metrics handler and stop logging
2021-05-13 10:11:32 +01:00
Dominic Evans
baf88bdc78
fix: reset gauge in-between collect() calls
...
It looks like in the `collect()` loop the `dsl_status` gauge is latched to 1 with the current status label set
```go
c.status.WithLabelValues(
c.host, c.identifier, status.DSLCfg.Status, status.DSLCfg.Modulation, status.DSLCfg.DataPath).Set(1)
```
However, this means that all historically seen statuses are latched to 1 and never reset to 0:
```
dsl_status{dataPath="",host="192.168.2.1",identifier="BT",modulation="",status="EstablishingLink"} 1
dsl_status{dataPath="",host="192.168.2.1",identifier="BT",modulation="",status="Initializing"} 1
dsl_status{dataPath="",host="192.168.2.1",identifier="BT",modulation="",status="NoSignal"} 1
```
Ideally in the `collect()` loop it would loop over all known status
values and set them to 0 for the ongoing publishes when the status has
changed. However, as a simpler workaround in this commit we just call
`.Reset()` on the gauge before the call to `.Set(1)` and that stops
publishing the metric label for the old statuses
2020-07-03 11:24:12 +00:00
Jake Keeys
2fe6ee5a32
remove options
2020-01-26 16:41:51 +00:00
Jake Keeys
426af4d465
readme tweaks
2020-01-26 15:58:36 +00:00