Improve web instance (#149)

This commit is contained in:
Simon Lecoq authored and GitHub committed 2021-02-20 19:50:15 +01:00
1 parent a55942b293
commit 66d7c79acb
8 files changed
+124 -49

No files matched your search

-16
View File
@@ -101,22 +101,6 @@ systemctl status github_metrics
</details>
<details>
<summary>⚠️ HTTP errors code</summary>
Following error codes may be encountered on web instance:
| Error code | Description |
| ------------------------- | -------------------------------------------------------------------------- |
| `400 Bad request` | Invalid query (e.g. unsupported template) |
| `403 Forbidden` | User not allowed in `restricted` users list |
| `404 Not found` | GitHub API did not found the requested user |
| `429 Too many requests` | Thrown when rate limiter is trigerred |
| `500 Internal error` | Server error while generating metrics images (check logs for more details) |
| `503 Service unavailable` | Maximum user capacity reached, only cached images can be accessed for now |
</details>
<details>
<summary>🔗 HTTP parameters</summary>