Commit Graph

1283 Commits

Author SHA1 Message Date
Ivaylo Novakov 5eece67b03
Move parameter parsing to the top of the script. 2020-09-04 17:13:36 +02:00
Ivaylo Novakov 1cc20903c6
Move max discord message len to a constant.
Report critical checks failed.
Formatting.
2020-09-04 17:07:47 +02:00
Ivaylo Novakov a0a9137ae7
Update setup-scripts/health-checker.py
Co-authored-by: Karol Wypchło <kwypchlo@gmail.com>
2020-09-04 16:44:19 +02:00
Ivaylo Novakov 62e27120cd
Use localhost. 2020-09-04 16:39:39 +02:00
Ivaylo Novakov 59a77bfaf6
Add a health checker script to Gollum. 2020-09-04 16:12:20 +02:00
Karol Wypchlo 44c38faa0b drop health-check endpoint from access.log 2020-09-04 13:00:27 +02:00
dependabot[bot] 7a6a03e862
Merge pull request #368 from NebulousLabs/dependabot/npm_and_yarn/packages/webapp/http-status-codes-2.1.2 2020-09-03 20:24:53 +00:00
dependabot[bot] b7d8420413
Merge pull request #369 from NebulousLabs/dependabot/npm_and_yarn/packages/webapp/node-sass-4.14.1 2020-09-03 20:24:35 +00:00
dependabot[bot] a053552436
Bump node-sass from 4.14.0 to 4.14.1 in /packages/webapp
Bumps [node-sass](https://github.com/sass/node-sass) from 4.14.0 to 4.14.1.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v4.14.0...v4.14.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-03 17:28:14 +00:00
dependabot[bot] e6a553ed75
Bump http-status-codes from 2.1.1 to 2.1.2 in /packages/webapp
Bumps [http-status-codes](https://github.com/prettymuchbryce/node-http-status) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/prettymuchbryce/node-http-status/releases)
- [Commits](https://github.com/prettymuchbryce/node-http-status/compare/2.1.1...2.1.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-03 17:27:43 +00:00
Karol Wypchlo 559960645e fix docker build 2020-09-03 19:19:40 +02:00
Karol Wypchlo 2b36093367 update dapp example to uniswap v2 2020-09-03 19:04:29 +02:00
Karol Wypchło a86b00fc9f
Merge pull request #367 from NebulousLabs/sevey/add-severe-to-log-checker
Add severe check to log checker
2020-09-03 17:13:19 +02:00
Matthew Sevey a911b36f56 Add severe check to log checker 2020-09-03 10:53:52 -04:00
Marcin S 3c6bd7281e
Merge pull request #364 from Kcchouette/patch-1
Fix python SDK code example
2020-09-03 16:14:51 +02:00
Karol Wypchło 746da81725
cache hns response for 5 minutes (#366) 2020-09-03 15:08:55 +02:00
Kcchouette 19cc8a1402
Fix python SDK code example 2020-09-03 00:17:51 +02:00
Matthew Sevey 0f84fb645d Create fixtures directory and move large metadata to individual json files 2020-09-02 16:19:43 -04:00
Christopher Schinnerl 93341a3d4d
fix byte range caching (#362) 2020-09-01 15:26:48 +02:00
Matthew Sevey 58d807dfc6 refactor skygallery metadata and body hash 2020-08-31 15:59:24 -04:00
Matthew Sevey 58d7f395d5 Add Skapps to health check by setting the max http header size 2020-08-31 15:46:42 -04:00
Ivaylo Novakov bf72a7e0c2
Merge pull request #361 from NebulousLabs/ivo/ensure_the_process_exits
Ensure the log checker process exits
2020-08-31 15:02:45 +02:00
Ivaylo Novakov 25cf5625b4
3 seconds timeout. 2020-08-31 13:39:07 +02:00
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