Commit Graph

839 Commits

Author SHA1 Message Date
Marcin S 306a43aeba
Merge pull request #381 from NebulousLabs/code-samples
Update code samples for API v2
2020-09-09 08:38:21 +00:00
Karol Wypchło 0593b41201
Nginx Log Format (#356)
* add filebeat

* nginx.conf access.log

* nginx.conf access.log

* fix filebeat

* add upstream data to access log

* Update nginx.conf

* Add content type header to access_log format

* Add quotes

* logs with wildcard to include gzipped ones

* Remove filebeat config

Co-authored-by: PJ <peterjan.brone@gmail.com>
2020-09-09 10:17:12 +02:00
Marcin S 072b626475 Fix syntax error in panic calls 2020-09-08 16:53:05 +02:00
Karol Wypchło e301b035ad
assign static ips to containers (#383) 2020-09-08 16:30:54 +02:00
Ivaylo Novakov 19ffd73503
Merge pull request #382 from NebulousLabs/ivo/free_disk_check
Add free disk space check to health-checker.py.
2020-09-08 14:49:00 +02:00
Ivaylo Novakov 2d032dbf17
Docstrings. 2020-09-07 17:59:39 +02:00
Ivaylo Novakov 0838e4f5e5
Add free disk space check to health-checker.py.
Move load-average check to health-checker.py.
2020-09-07 17:56:47 +02:00
Marcin S ab66b6ff5b Update code samples for API v2 2020-09-07 17:32:25 +02:00
Ivaylo Novakov ff56990faa
Merge pull request #372 from NebulousLabs/ivo/gollum_health_checks
Add a health checker script to Gollum.
2020-09-04 17:30:07 +02:00
Ivaylo Novakov 3f4742a436
Only notify the team if critical checks have failed. 2020-09-04 17:17:26 +02:00
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
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
Christopher Schinnerl 93341a3d4d
fix byte range caching (#362) 2020-09-01 15:26:48 +02: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