Commit Graph

3653 Commits

Author SHA1 Message Date
dependabot[bot] 6d0adf9f7e
Merge pull request #378 from NebulousLabs/dependabot/npm_and_yarn/packages/webapp/husky-4.3.0 2020-09-09 09:27:55 +00:00
dependabot[bot] 42455cb2d3
Merge pull request #374 from NebulousLabs/dependabot/npm_and_yarn/packages/webapp/gatsby-2.24.54 2020-09-09 09:27:41 +00:00
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
Ivaylo Novakov 8235d75795
Only announce healthy status once a day. 2020-09-08 18:20:56 +02:00
Ivaylo Novakov ddf72ad850
Make the time comparisons in the health checker timezone-aware. 2020-09-08 18:07:33 +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
dependabot[bot] e82e382c05
Bump react-syntax-highlighter from 13.5.1 to 13.5.3 in /packages/webapp
Bumps [react-syntax-highlighter](https://github.com/react-syntax-highlighter/react-syntax-highlighter) from 13.5.1 to 13.5.3.
- [Release notes](https://github.com/react-syntax-highlighter/react-syntax-highlighter/releases)
- [Changelog](https://github.com/react-syntax-highlighter/react-syntax-highlighter/blob/master/CHANGELOG.MD)
- [Commits](https://github.com/react-syntax-highlighter/react-syntax-highlighter/compare/v13.5.1...v13.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-07 10:30:28 +00:00
dependabot[bot] 83a5b420f1
Bump husky from 4.2.5 to 4.3.0 in /packages/webapp
Bumps [husky](https://github.com/typicode/husky) from 4.2.5 to 4.3.0.
- [Release notes](https://github.com/typicode/husky/releases)
- [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typicode/husky/compare/v4.2.5...v4.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-07 10:27:28 +00:00
dependabot[bot] 5cd7e7f121
Bump gatsby-plugin-manifest from 2.4.27 to 2.4.28 in /packages/webapp
Bumps [gatsby-plugin-manifest](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-manifest) from 2.4.27 to 2.4.28.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-manifest/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-manifest@2.4.28/packages/gatsby-plugin-manifest)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-07 10:24:11 +00:00
dependabot[bot] ad52875bd7
Bump gatsby from 2.24.53 to 2.24.54 in /packages/webapp
Bumps [gatsby](https://github.com/gatsbyjs/gatsby) from 2.24.53 to 2.24.54.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/compare/gatsby@2.24.53...gatsby@2.24.54)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-07 10:13:46 +00:00
dependabot[bot] e16d143e53
Bump gatsby-source-filesystem from 2.3.27 to 2.3.28 in /packages/webapp
Bumps [gatsby-source-filesystem](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-source-filesystem) from 2.3.27 to 2.3.28.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-source-filesystem/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-filesystem@2.3.28/packages/gatsby-source-filesystem)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-07 10:11:06 +00:00
Matthew Sevey 9874eb29d8 update use of fixtures 2020-09-04 15:57:08 -04: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
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