Commit Graph

1160 Commits

Author SHA1 Message Date
Ivaylo Novakov 2fc6d30c01
Use `os._exit` instead of `sys.exit` - we don't want to raise an exception. 2020-08-31 13:38:45 +02:00
Ivaylo Novakov 8761a77e18
Don't call `await client.close()`. 2020-08-31 13:27:49 +02:00
Ivaylo Novakov ff8c4c2d78
Merge pull request #360 from NebulousLabs/ivo/check_system_load
Check system load
2020-08-31 13:25:50 +02:00
Ivaylo Novakov 59bad59cb7
Make it clear that the uptime data comes from the `uptime` command and not something we're putting together ourselves. 2020-08-28 16:05:24 +02:00
Karol Wypchlo df7decb06c drop Marcin's key 2020-08-28 14:56:01 +02:00
Ivaylo Novakov 58409b8cee
Switch from the "1 minute" to "15 minutes" average. 2020-08-28 11:59:27 +02:00
Ivaylo Novakov efb35054f7
When chekcing logs, check also the system load and report it if it's above 10. 2020-08-28 11:54:47 +02:00
Karol Wypchło e01730bb5c
Merge pull request #359 from NebulousLabs/sevey/readme-update
add cypress test suite info to README
2020-08-28 11:43:41 +02:00
Matthew Sevey 50e3a47122 add cypress test suite info to README 2020-08-27 16:36:54 -04:00
Matthew Sevey 136908d0a5
Merge pull request #358 from NebulousLabs/sevey/add-uncensored-skylinks-to-health-check
Add uncensored library skylinks to health check
2020-08-27 16:28:16 -04:00
Karol Wypchlo 88ee5508d2 Merge branch 'master' into sevey/add-uncensored-skylinks-to-health-check 2020-08-27 12:28:24 +02:00
Karol Wypchło af0cbf6433
use production server backend for tests 2020-08-27 12:27:55 +02:00
Matthew Sevey 29362649af healthcheck: add uncensored library skylinks to health check 2020-08-26 15:49:40 -04:00
Karol Wypchło 15561d4c7a
Merge pull request #330 from NebulousLabs/sevey/health-check-additions
Extend web portal health check
2020-08-26 17:18:36 +02:00
Karol Wypchlo 062cc12a7d make it once per hour 2020-08-26 17:17:33 +02:00
Karol Wypchlo 4eec295035 parse 2020-08-26 17:14:23 +02:00
Karol Wypchlo 913b2dbb15 compare metdata objects 2020-08-26 17:08:52 +02:00
Karol Wypchlo 94154924a1 log metadata 2020-08-26 16:52:23 +02:00
Karol Wypchlo 53b3933bee info should be an object 2020-08-26 16:47:53 +02:00
Karol Wypchlo 9ad39482ad info should be an object 2020-08-26 16:45:25 +02:00
Matthew Sevey f201f9c4b4 add info field and set verbose checks to critical 2020-08-26 10:32:39 -04:00
Karol Wypchlo 843fcfde97 every 5 minutes for debugging 2020-08-26 16:06:45 +02:00
Karol Wypchlo 7e90b6f4dd fix http-status-codes usage 2020-08-26 16:06:12 +02:00
Karol Wypchlo c248efb73b circular dependencies 2020-08-26 16:02:49 +02:00
Karol Wypchlo ec6b73c130 nginx depends on health-check to be up first 2020-08-26 15:59:47 +02:00
Karol Wypchlo 5ceba4e0cf drop unnecessary dep 2020-08-26 15:57:13 +02:00
Karol Wypchlo cb8a521ba7 missing object-hash dep 2020-08-26 15:56:12 +02:00
Ivaylo Novakov c587cb0d38
Merge pull request #349 from NebulousLabs/fix-err-msg
Use a clearer log message and add some debug output.
2020-08-26 15:35:13 +02:00
Karol Wypchlo fd4aadaade Merge remote-tracking branch 'origin/master' into sevey/health-check-additions 2020-08-26 15:31:53 +02:00
Karol Wypchło 401c592e56
Update packages/health-check/src/schedule.js 2020-08-26 14:11:26 +02:00
Karol Wypchlo 66163b69cd update to 1.5.0.2 to fix mime type issues 2020-08-26 13:31:45 +02:00
Karol Wypchlo 5f574fbb0c use 1.5.0.1 docker image 2020-08-26 11:39:37 +02:00
Ivaylo Novakov 2126115df4
Send the last 1MB of error log as a file. 2020-08-26 11:32:58 +03:00
Ivaylo Novakov 3b0c597516
Limit the errors sent in a discord message to under 2000 characters (including prefix message). 2020-08-26 11:13:16 +03:00
Ivaylo Novakov bfe0d385a9
Merge branch 'master' into fix-err-msg 2020-08-26 11:10:45 +03:00
Matthew Sevey bcab934a97 Merge branch 'master' into sevey/health-check-additions 2020-08-25 11:26:31 -04:00
Karol Wypchlo 3190d6a4e4 update http-status-codes 2020-08-25 17:17:11 +02:00
Matthew Sevey 3f406f962c update cron schedule and const definitions 2020-08-25 11:15:25 -04:00
dependabot[bot] 8a2772da2a
Merge pull request #357 from NebulousLabs/dependabot/npm_and_yarn/packages/health-check/http-status-codes-2.1.2 2020-08-25 15:15:06 +00:00
dependabot[bot] e2f5a03e77
Merge pull request #351 from NebulousLabs/dependabot/npm_and_yarn/packages/webapp/cypress-5.0.0 2020-08-25 15:09:06 +00:00
dependabot[bot] 4451a6d9ea
Bump http-status-codes from 1.4.0 to 2.1.2 in /packages/health-check
Bumps [http-status-codes](https://github.com/prettymuchbryce/node-http-status) from 1.4.0 to 2.1.2.
- [Release notes](https://github.com/prettymuchbryce/node-http-status/releases)
- [Commits](https://github.com/prettymuchbryce/node-http-status/compare/v1.4.0...2.1.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-25 15:09:05 +00:00
dependabot[bot] 12d48023bf
Merge pull request #352 from NebulousLabs/dependabot/npm_and_yarn/packages/webapp/http-status-codes-2.1.1 2020-08-25 15:08:00 +00:00
Karol Wypchło 390dff194c
Merge pull request #353 from NebulousLabs/dependabot/npm_and_yarn/packages/webapp/axios-0.20.0
Bump axios from 0.19.2 to 0.20.0 in /packages/webapp
2020-08-25 17:07:34 +02:00
dependabot[bot] 1865daf11a
Bump axios from 0.19.2 to 0.20.0 in /packages/webapp
Bumps [axios](https://github.com/axios/axios) from 0.19.2 to 0.20.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.19.2...v0.20.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-24 10:46:18 +00:00
dependabot[bot] 15ed2c0d74
Bump http-status-codes from 1.4.0 to 2.1.1 in /packages/webapp
Bumps [http-status-codes](https://github.com/prettymuchbryce/node-http-status) from 1.4.0 to 2.1.1.
- [Release notes](https://github.com/prettymuchbryce/node-http-status/releases)
- [Commits](https://github.com/prettymuchbryce/node-http-status/compare/v1.4.0...2.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-24 10:35:15 +00:00
dependabot[bot] 760c422b02
Bump cypress from 4.12.1 to 5.0.0 in /packages/webapp
Bumps [cypress](https://github.com/cypress-io/cypress) from 4.12.1 to 5.0.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Commits](https://github.com/cypress-io/cypress/compare/v4.12.1...v5.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-24 10:29:25 +00:00
Ivaylo Novakov 0eb8ab0d7c
Use a clearer log message and add some debug output. 2020-08-24 12:33:03 +03:00
Karol Wypchlo 09b3c8cf60 require .env-upload for upload node 2020-08-21 11:16:31 +02:00
Matthew Sevey 37b07c642b Merge branch 'master' into sevey/health-check-additions 2020-08-20 14:07:12 -04:00
Matthew Sevey 84282d4cc6 Extend web portal health check to have basic and verbose checks 2020-08-20 14:04:24 -04:00