Ian Fijolek
b0ea3dc6d4
Bump go version
2025-12-11 16:26:05 -08:00
Ian Fijolek
5c97f2e5c4
Update defaults and add tests for them
2025-12-11 16:18:26 -08:00
Ian Fijolek
85afa3d9ef
Merge branch 'master' into next-major
2025-12-11 16:17:38 -08:00
IamTheFij
fb9d637614
Merge pull request 'Update actions/setup-go action to v6' ( #13 ) from renovate/actions-setup-go-6.x into master
...
Reviewed-on: https://git.iamthefij.com/iamthefij/minitor-go/pulls/13
2025-12-11 23:09:33 +00:00
Renovate Bot
98be873220
Update actions/setup-go action to v6
2025-12-11 23:09:33 +00:00
IamTheFij
f59848fb61
Merge pull request 'Update actions/setup-python action to v6' ( #14 ) from renovate/actions-setup-python-6.x into master
...
Reviewed-on: https://git.iamthefij.com/iamthefij/minitor-go/pulls/14
2025-12-11 23:09:11 +00:00
Renovate Bot
e74fe89cab
Update actions/setup-python action to v6
2025-12-11 23:09:11 +00:00
IamTheFij
1bc8ab5dac
Merge pull request 'Update alpine Docker tag to v3.23' ( #7 ) from renovate/alpine-3.x into master
...
Reviewed-on: https://git.iamthefij.com/iamthefij/minitor-go/pulls/7
2025-12-11 22:33:11 +00:00
Renovate Bot
f21dce1cc6
Update alpine Docker tag to v3.23
2025-12-11 22:33:11 +00:00
IamTheFij
cfcdf04990
Merge pull request 'Update module github.com/prometheus/client_golang to v1.23.2' ( #9 ) from renovate/github.com-prometheus-client_golang-1.x into master
...
Reviewed-on: https://git.iamthefij.com/iamthefij/minitor-go/pulls/9
2025-12-11 22:29:30 +00:00
Renovate Bot
9892af48d1
Update module github.com/prometheus/client_golang to v1.23.2
2025-12-11 20:46:36 +00:00
IamTheFij
c8e914d1b8
Merge pull request 'Switch to gitea actions' ( #11 ) from gitea-actions into master
...
Reviewed-on: https://git.iamthefij.com/iamthefij/minitor-go/pulls/11
2025-12-11 19:07:28 +00:00
Ian Fijolek
845604c54c
Use temporary hadolint hook location
2025-12-11 11:03:39 -08:00
Ian Fijolek
49acca1c79
Switch to gitea actions
2025-12-10 23:17:42 -08:00
IamTheFij
2bdafd908d
Merge pull request 'Update golang Docker tag to v1.25' ( #8 ) from renovate/golang-1.x into master
...
Reviewed-on: https://git.iamthefij.com/iamthefij/minitor-go/pulls/8
2025-12-10 19:27:55 +00:00
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
Ian Fijolek
4aef7b7458
Remove redundant logging
2025-02-13 12:17:59 -08:00
Ian Fijolek
be2e8121c5
Refactor validation for alert and monitor to return errors
2025-02-13 12:17:59 -08:00
Ian Fijolek
9e20c00dde
Move monitor init to it's own method and refactor config validate to return err
2025-02-13 12:17:59 -08:00
Ian Fijolek
3fb418151b
Update readme and update some test files to be better examples
2025-02-13 12:17:59 -08:00
Ian Fijolek
df1c7aa74b
Refactor test package and some field types
...
Fairly big test refactor and changing some of the fields from pointers
2025-02-13 12:17:59 -08:00
Ian Fijolek
7c72eabd6b
Initial step of hcl migration
2025-02-13 12:17:46 -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
9ec62528d9
Make linters happy
2024-11-14 13:13:16 -08:00
Ian Fijolek
312821fa8d
Add pycompat warning
2024-11-14 13:09:23 -08:00
Ian Fijolek
32745c816c
Improve test structures using subtests
2024-11-14 11:35:26 -08:00
Ian Fijolek
3f6c8f5a22
Breaking: Remove 'SecondsOrDuration' for check_interval
...
Now requires an explicit duration unit. Eg. 30s
2024-11-14 11:18:39 -08:00
Ian Fijolek
67d7e0574e
Breaking: Remove python compat flag
2024-11-14 11:18:05 -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