feat: 建立监控告警体系和生产环境配置
阶段三:建立监控告警体系 - 集成Sentry错误监控:安装依赖,创建配置文件,初始化Sentry - 配置性能监控:创建监控工具类,实现健康检查API - 更新环境变量模板,添加Sentry和数据库配置 阶段四:配置生产环境 - 创建生产环境变量模板 - 创建Dockerfile和docker-compose.prod.yml - 创建备份和恢复脚本 - 设置脚本执行权限
This commit is contained in:
@@ -7,6 +7,9 @@ import { OrganizationSchema, WebsiteSchema } from "@/components/seo/structured-d
|
||||
import { MobileTabBar } from "@/components/layout/mobile-tab-bar";
|
||||
import { ErrorBoundary } from "@/components/ui/error-boundary";
|
||||
import { SessionProvider } from "@/providers/session-provider";
|
||||
import { initSentry } from "@/lib/sentry";
|
||||
|
||||
initSentry();
|
||||
|
||||
const geistSans = Geist({
|
||||
variable: "--font-geist-sans",
|
||||
|
||||
Reference in New Issue
Block a user