TwiN
01131755bc
fix(logging): Replace log-level parameter by GATUS_LOG_LEVEL env var ( #895 )
...
* fix(logging): Replace log-level parameter by GATUS_LOG_LEVEL env var
* Improve log message if GATUS_LOG_LEVEL isn't set
2024-11-13 23:54:00 -05:00
Gary Hodgson
8060a77b1f
feat(logging): Allow configuring logging verbosity level ( #872 )
...
* introduces TwiN/logr library
* use new features of logr library
* minor tweaks and formatting
* Apply suggestions from code review
---------
Co-authored-by: TwiN <twin@linux.com>
2024-11-13 19:02:53 -05:00
TwiN
f2c5f5911c
feat(alerting): Persist triggered alerts across application restart ( #764 )
...
* feat(alerting): Persist triggered alerts across application restart
Fixes #679
* test(alerting): Add numerous tests related to alerts
2024-05-15 21:29:45 -04:00
TwiN
9d151fcdb4
refactor: Break core package into multiple packages under config/endpoint ( #759 )
...
* refactor: Partially break core package into dns, result and ssh packages
* refactor: Move core package to config/endpoint
* refactor: Fix warning about overlapping imported package name with endpoint variable
* refactor: Rename EndpointStatus to Status
* refactor: Merge result pkg back into endpoint pkg, because it makes more sense
* refactor: Rename parameter r to result in Condition.evaluate
* refactor: Rename parameter r to result
* refactor: Revert accidental change to endpoint.TypeDNS
* refactor: Rename parameter r to result
* refactor: Merge util package into endpoint package
* refactor: Rename parameter r to result
2024-05-09 22:56:16 -04:00
TwiN
f54c45e20e
feat: Implement push-based external endpoints ( #724 )
...
* refactor: Move SSH outside of endpoint.go
* refactor: Use pointers for Alert receivers
* feat: Implement push-based external endpoints
* Fix failing tests
* Validate external endpoints on start
* Add tests for external endpoints
* refactor some error equality checks
* Improve docs and refactor some code
* Fix UI-related issues with external endpoints
2024-04-08 21:00:40 -04:00
TwiN
922638e071
refactor: Clean up code and change log format ( #719 )
2024-04-01 21:47:14 -04:00
I-HSIN Cheng
1e82d2f07d
feat: add ability to delay startup ( #631 )
...
* Feat: add ability to delay startup
* Enable ability to set delay seconds before start up gatus
* Update README.md
* Delete .examples/delay-startup/Makefile
---------
Co-authored-by: TwiN <twin@linux.com>
2023-12-24 20:48:43 -05:00
I-HSIN Cheng
34313bec7e
fix(watchdog): Close dangling file descriptors on shutdown and config reload ( #544 )
...
* fix(watchdog): Add functions to avoid dangling file descriptors
* Change function name and add comment under core/endpoint.go
- change the function name of CloseHTTPConnection() to Close()
- add some comments above Close() function
* Update core/endpoint.go
* Update core/endpoint.go
---------
Co-authored-by: Richard Cheng <richard_cheng@trendmicro.com>
Co-authored-by: TwiN <twin@linux.com>
2023-08-04 18:30:15 -04:00
TwiN
e61a42220c
fix: Log GATUS_CONFIG_FILE deprecation message only if it's non-empty
2023-01-10 19:04:19 -05:00
TwiN
6bdd3c94fe
chore: Add deprecation message for GATUS_CONFIG_FILE
2023-01-09 23:24:20 -05:00
TwiN
3059e3e028
feat: Support multiple configuration files ( #396 )
...
* Revert "Revert "feat: Support multiple configuration files" (#395 )"
This reverts commit 87740e74a6
.
* feat: Properly implement support for config directory
2023-01-08 17:53:37 -05:00
TwiN
87740e74a6
Revert "feat: Support multiple configuration files" ( #395 )
...
Revert "feat: Support multiple configuration files (#389 )"
This reverts commit 8e14302765
.
2023-01-07 03:45:43 -05:00
Henning Janßen
8e14302765
feat: Support multiple configuration files ( #389 )
...
* Allow configuration to be distributed
* catch iteration errors when collecting config files
* rm unused func
* Fix suffix check for config loading
* test configuration loading
* GATUS_CONFIG_PATH can be a file or a directory now
* Add deprecation note
* Fix cs
Co-authored-by: TwiN <twin@linux.com>
* cs fixes
Co-authored-by: TwiN <twin@linux.com>
* cs fixes
Co-authored-by: TwiN <twin@linux.com>
* cs fixes
Co-authored-by: TwiN <twin@linux.com>
* cs + rm useless line
Co-authored-by: TwiN <twin@linux.com>
* Update config/config.go
Co-authored-by: TwiN <twin@linux.com>
2023-01-06 23:46:19 -05:00
TwiN
f6a621da28
chore: Bump module version to v5
2022-12-06 01:41:18 -05:00
TwiN
1aa94a3365
feat(remote): Implement lazy distributed feature ( #64 )
...
THIS IS AN EXPERIMENTAL FEATURE/IMPLEMENTATION, AND IT MAY BE REMOVED IN THE FUTURE.
Note that for now, it will be an undocumented feature.
2022-07-28 20:29:29 -04:00
TwiN
ab2bee9c4b
chore!: Update module from v3 to v4
2022-06-20 21:25:14 -04:00
TwiN
14c42f6e6d
Fix #212 : Stale endpoint on dashboard after config change
2021-12-03 18:20:14 -05:00
TwiN
9287e2f9e2
Move store initialization to store package
...
This will allow importing storage.Config without importing every SQL drivers in the known universe
2021-10-28 19:35:46 -04:00
TwiN
6c45f5b99c
⚠ Migrate TwinProduction/gatus to TwiN/gatus
2021-10-07 21:28:04 -04:00
TwinProduction
2d3fe9795f
Add v3 to module path
...
Gatus wasn't intended to be used as a library, but I have a use case now.
2021-10-03 21:53:59 -04:00
TwinProduction
7a68920889
#77 : Make page title customizable
2021-09-11 01:51:14 -04:00
TwinProduction
5a4fa6f2b0
Fix issue with store closing on configuration file update
2021-07-18 17:29:08 -04:00
TwinProduction
d3a81a2d57
Major fixes and improvements
2021-07-18 17:29:08 -04:00
TwinProduction
9b68582622
Minor update
2021-07-08 23:39:12 -04:00
TwinProduction
db23bd9073
#29 : Automatically reload on configuration file update
2021-05-18 22:29:15 -04:00
TwinProduction
c094c06e56
Minor update
2021-03-03 22:31:55 -05:00
TwinProduction
404a3cea64
Remove useless os.Kill because it cannot be caught
2021-03-01 22:35:32 -05:00
TwinProduction
8e2a2c4dbc
Implement graceful shutdown
...
- Shutdown the HTTP server before exiting
- Persist data to store before exiting, if applicable
2021-02-05 20:45:28 -05:00
TwinProduction
bc4380db19
Work on #62 : Add uptime percentage + badges
2020-12-29 20:22:17 -05:00
TwinProduction
94eb3868e6
Start working on #13 : Service groups
2020-11-26 18:09:01 -05:00
TwinProduction
66bf1c23df
Minor updates
2020-11-21 17:53:26 -05:00
Michael Engelhardt
9af8a02f05
Rename function to PrependWithContextRoot
2020-11-21 21:38:45 +01:00
Michael Engelhardt
5f10a92c36
simplification and refactorings
2020-11-21 03:42:42 +01:00
Michael Engelhardt
f9706a98ed
start working on context root configuration
2020-11-21 02:33:02 +01:00
TwinProduction
1b23b0dd1d
Minor improvements
2020-11-20 17:40:57 -05:00
Michael Engelhardt
3985c6c483
removed remaining flag parsing
2020-11-20 06:48:23 +01:00
Michael Engelhardt
10310cf380
Add configuration values for address and port
...
Add (non-mandatory) configuration values to set address and port on which the web frontent will be served. If not set defaults will be applied.
2020-11-19 19:39:48 +01:00
Michael Engelhardt
9f485b14e0
fix shortcut for host
2020-11-18 00:46:37 +01:00
Michael Engelhardt
9039ef79cf
add parameterization for host and port
...
Host and port can be specified by either a environment variable or a
dedicated command line parameter. Command line parameters will be preferred
over environment variables, which will be preferred over the application
defaults.
2020-11-18 00:29:10 +01:00
TwinProduction
42659a0878
Move discovery configuration validation in config package
2020-11-11 14:22:31 -05:00
Adarsh K Kumar
559d286121
(refactor) Move all k8s config under kubernetes field | Adarsh
2020-11-11 23:36:12 +05:30
Adarsh K Kumar
81e6e0b188
(feat) Add auto-discovery in k8s | Adarsh
2020-10-30 21:01:12 +05:30
TwinProduction
77ad91a297
Fix Golint
2020-10-23 16:29:20 -04:00
TwinProduction
3e9aba6cbb
Wrap /api/v1/results handler with security handler if security config is valid ( #8 )
2020-10-14 19:25:50 -04:00
TwinProduction
e31c017a00
Stop using CDNs + Remove bootstrap.min.js because it wasn't necessary
...
+ Gzip http.FileServer
2020-09-06 00:55:01 -04:00
TwinProduction
139e186ac2
Support sending notifications when alert is resolved
...
Add debug parameter for those wishing to filter some noise from the logs
2020-09-04 21:31:28 -04:00
TwinProduction
1f241ecdb3
Support Gzip and cache result to prevent wasting CPU
2020-08-15 16:44:28 -04:00
TwinProduction
fe3e60dbd4
Add support for headers, method, body and json path with arrays
2020-04-14 19:20:00 -04:00
TwinProduction
16837562ea
Add GATUS_CONFIG_FILE env var to support custom config path
2020-03-08 18:16:39 -04:00
TwinProduction
c4f7370397
Add tooltip on status view response time range instead of latest RT
2019-12-28 12:19:52 -05:00