Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

了解下 Laravel 错误监控 #11

Open
xuchunyang opened this issue Mar 26, 2024 · 0 comments
Open

了解下 Laravel 错误监控 #11

xuchunyang opened this issue Mar 26, 2024 · 0 comments

Comments

@xuchunyang
Copy link
Owner

Laravel App 上可能不时会出现各种问题,比如 AI API 欠费了,但发生异常时,要是能自动通知就好了。

能监控日志也不错了,但是 https://flareapp.io/https://sentry.io/for/laravel/ 看起来不错,但是都用不起,可以调查下其他方案。

ubuntu@VM-4-16-ubuntu:~/chat$ grep ERROR storage/logs/laravel.log | cut -c 1-120
[2024-03-25 15:38:07] production.ERROR: could not find driver (Connection: sqlite, SQL: select name from sqlite_master w
[2024-03-25 15:47:16] production.ERROR: file_put_contents(/var/www/chat/storage/framework/views/a8f168890e63c2214164d587
[2024-03-25 15:47:16] production.ERROR: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database (Connecti
[2024-03-25 15:47:41] production.ERROR: file_put_contents(/var/www/chat/storage/framework/views/a8f168890e63c2214164d587
[2024-03-25 16:03:45] production.ERROR: Pusher error: cURL error 6: Could not resolve host: reverb.chat.xuchunyang.cn (s
[2024-03-25 16:03:48] production.ERROR: Pusher error: cURL error 6: Could not resolve host: reverb.chat.xuchunyang.cn (s
[2024-03-26 06:48:25] production.ERROR: SQLSTATE[23000]: Integrity constraint violation: 19 UNIQUE constraint failed: us
[2024-03-26 06:48:45] production.ERROR: SQLSTATE[23000]: Integrity constraint violation: 19 UNIQUE constraint failed: us
[2024-03-26 13:08:54] production.ERROR: Pusher error: Internal server error.. {"exception":"[object] (Illuminate\\Broadc
[2024-03-26 13:09:06] production.ERROR: Pusher error: Internal server error.. {"exception":"[object] (Illuminate\\Broadc
[2024-03-26 13:19:19] production.ERROR: SQLSTATE[23000]: Integrity constraint violation: 19 UNIQUE constraint failed: us
[2024-03-26 13:21:48] production.ERROR: SQLSTATE[23000]: Integrity constraint violation: 19 UNIQUE constraint failed: us
[2024-03-26 13:22:20] production.ERROR: SQLSTATE[23000]: Integrity constraint violation: 19 UNIQUE constraint failed: us
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant