Commit Graph

33 Commits

Author SHA1 Message Date
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
TwinProduction
c9c076a959 Allow configuration file to be passed as parameter 2019-12-04 16:44:35 -05:00
TwinProduction
0ed525e032 Expose metrics on /metrics 2019-11-16 16:52:11 -05:00
TwinProduction
40eb35aab2 Set port to 8080 instead of 80 2019-10-05 22:20:36 -04:00
TwinProduction
88c35e30b4 Add first version of UI 2019-09-12 16:15:42 -04:00
TwinProduction
d57da0a1dd Add request handlers and move monitoring to watchdog package 2019-09-06 21:59:50 -04:00
TwinProduction
ee479be716 Move structs to core package 2019-09-06 20:25:31 -04:00
TwinProduction
c1c46b6b30 Add configuration file 2019-09-06 00:01:48 -04:00
TwinProduction
b753443516 Add watchdog package 2019-09-04 19:37:13 -04:00