Renovate Bot
b349ada44e
Update golang Docker tag to v1.25
2025-12-10 19:23:55 +00:00
IamTheFij
fbf92d924c
Merge pull request 'Configure Renovate' ( #6 ) from renovate/configure into master
...
Reviewed-on: https://git.iamthefij.com/iamthefij/minitor-go/pulls/6
2025-12-10 19:19:21 +00:00
Renovate Bot
fd292b005c
Add renovate.json
2025-12-10 18:23:06 +00:00
Ian Fijolek
3ef06fb78d
Stop getting errors when tzdata updates
v1.5.2
2025-02-13 13:28:06 -08:00
IamTheFij
0535bdf156
Fix incorrect alertCount
v1.5.1
2025-02-13 12:12:01 -08:00
Ian Fijolek
03f0ab69fe
Add documentation for default_alert_every
2025-02-13 11:26:39 -08:00
Ian Fijolek
312821fa8d
Add pycompat warning
2024-11-14 13:09:23 -08:00
Ian Fijolek
7604138c9e
Use buildx
v1.5.0
2024-04-03 12:15:11 -07:00
Ian Fijolek
f58b4c1495
Adds ability to run specified alerts on startup
...
This is helpful to determine if your alerts are valid before an actual failure
2024-04-03 12:03:17 -07:00
Ian Fijolek
6a2b44673e
Upgrade prometheus client and protobuf
2024-04-03 11:28:01 -07:00
Ian Fijolek
01cca50532
Add tzdata
...
Allows setting container timezone using TZ env variable
v1.4.1
2023-08-11 06:20:35 -07:00
Ian Fijolek
2789aa63e4
More loosely pins apk packages
2023-08-11 06:20:15 -07:00
Ian Fijolek
37db4b2db0
Update error string when failing to send alert
...
Wrap both originating errors
v1.4.0
2023-08-10 16:23:02 -04:00
Ian Fijolek
41a1dbeceb
Add date format functions
2023-08-10 16:22:30 -04:00
Ian Fijolek
c02d64d674
Update go to 1.20
2023-08-10 16:21:33 -04:00
Ian Fijolek
46f4561bea
Update alpine and system package versions
...
Bump to alpine 3.18
2023-06-14 16:52:04 -07:00
Ian Fijolek
a1e0e9698b
Add dig and nslookup
v1.3.0
2023-05-05 14:07:53 -07:00
Ian Fijolek
ded4e129a1
Switch from deprecated ioutil
v1.2.0
2023-04-18 16:17:06 -07:00
Ian Fijolek
95cb24ac04
Upgrade golangci-lint pre-commit hook
2023-04-18 16:16:53 -07:00
Ian Fijolek
e6447b615f
Upgrade some dependencies
2023-04-18 16:09:41 -07:00
Ian Fijolek
2680eabd40
Rebuild when mod files change
2023-04-18 16:09:30 -07:00
Ian Fijolek
23340e823f
Update go version in go.mod
2023-04-18 16:02:04 -07:00
Ian Fijolek
99b8723abc
Add curl script to simplify http healthchecks
2023-04-18 15:56:59 -07:00
Ian Fijolek
7d87c3d036
Add default values for AlertEvery
...
There is also a test error corrected in TestMonitorFailureAlertEvery
where the same test conditions were repeated twice.
2022-12-19 15:49:32 -08:00
Ian Fijolek
deec04bf0d
Allow setting of global defaults for some values
...
This helps with reducing redundant config.
Note: There is no default for `alert_every` because the zero value has a
meaning and cannot be interpreted as an omission.
2022-12-19 15:49:32 -08:00
Ian Fijolek
958446050f
Update linters
2022-12-19 15:34:47 -08:00
Ian Fijolek
88e94642d9
Remove some hooks included in golangci-lint and upgrade existing
2022-06-07 21:39:18 -07:00
Ian Fijolek
bc83a51907
Switch pre-commit url for golang
2022-04-04 20:12:01 -07:00
Ian Fijolek
08b8932331
Update curl version
v1.1.2
2022-01-24 16:08:18 -08:00
Ian Fijolek
9072d97bb8
Make linters happy
v1.1.1
2022-01-24 10:39:53 -08:00
Ian Fijolek
cdd8a69669
Update go version
2021-12-01 14:47:58 -08:00
Ian Fijolek
3c14a02770
Continue checking all monitors after sending alert
...
Previously this was mistakenly returning after sending an alert. Now
all alerts will be sent unless there is an exception on one of them.
2021-09-02 10:20:04 -07:00
Ian Fijolek
328ea83c25
Some linting cleanup
2021-09-02 10:19:03 -07:00
Ian Fijolek
ce986e8d1d
Roll back to alpine:3.12
...
Looks like there is a clock issue with raspbian
https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.13.0#time64_requirements
v1.1.0
2021-05-12 19:06:41 -07:00
Ian Fijolek
31a4b484bf
Merge branch 'duration-intervals'
2021-05-12 18:32:12 -07:00
Ian Fijolek
49e3635819
Add backwards compatility explanation in Readme
2021-05-12 16:37:59 -07:00
Ian Fijolek
444d060736
Remove qemu-user-static from Dockerfile and update alpine
...
My build machine now has proper qemu support added, so this is not needed
2021-05-12 23:22:24 +00:00
Ian Fijolek
860c2cdf43
Add custom type to parse out seconds as int and durations as strings
2021-05-12 10:33:42 -07:00
Ian Fijolek
befea7375f
Add check runtime metric
2021-05-11 10:41:39 -07:00
Ian Fijolek
04395fa693
Add duration parsing tests
2021-05-11 10:41:39 -07:00
Ian Fijolek
bdf7355fa7
Add duration parsing for intervals
2021-05-11 10:41:39 -07:00
Ian Fijolek
30c2c7d6b2
Add Dockerfile linting back in
2021-05-10 21:53:26 -07:00
Ian Fijolek
5f250f17a8
Add more liniting and update to pass
2021-05-10 21:53:26 -07:00
Ian Fijolek
fda9e1bfc3
Replace log with slog
2021-05-10 21:53:26 -07:00
Ian Fijolek
f0e179851f
Update linting and a test case
2021-01-08 18:31:22 -05:00
Ian Fijolek
9e124803da
Add release uploads
2021-01-08 18:13:48 -05:00
Ian Fijolek
2c4543a7bc
Update go version to 1.15
2021-01-08 18:13:34 -05:00
Ian Fijolek
a1b906b94a
Update for go 1.15
2020-11-16 15:56:31 -08:00
Ian Fijolek
0a5be250b5
Scripts: Add echoing log lines to helper scripts
...
Rather than only returning the status of whether or not a container is
healhthy, the helper scripts will now optionally echo some of the latest
log lines.
2020-11-16 15:52:21 -08:00
Ian Fijolek
88f77aa27c
Fix Makefile comment
2020-11-16 15:51:41 -08:00