Chuyển đến nội dung
Skillpedia
Triển khai và đám mây (DevOps)75k · #2835

error-monitoring

Skill này làm gì

Skill này kiểm tra xem một ứng dụng đang chạy có báo lỗi về một dịch vụ giám sát hay không, và giúp thiết lập một dịch vụ như vậy. Skill dành cho các nhóm vận hành ứng dụng mà người dùng thực sự phụ thuộc vào.

Khi nào nên dùng

  • ✓Khi ứng dụng của bạn đã chạy trực tiếp và bạn không có cách nào thấy lỗi người dùng gặp phải.
  • ✓Khi bạn bắt đầu một dự án mới và muốn có giám sát từ đầu.
  • ✓Khi người dùng báo về vấn đề mà bạn chưa biết.

Liên kết skill

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/error-monitoring/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/error-monitoring/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Bạn có thể thiết lập giám sát lỗi để tôi biết ngay khi ứng dụng đang chạy của tôi bị sập không?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent kiểm tra xem một công cụ giám sát như Sentry hoặc Datadog có đang ghi nhận các lỗi không được xử lý và các yêu cầu thất bại hay không. Agent gợi ý thêm SDK, gắn thẻ các bản phát hành và thiết lập cảnh báo.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Integrate real-time error monitoring in production

Production errors are invisible without monitoring. Users rarely file detailed bug reports — they simply leave. Error monitoring gives you actionable stack traces, breadcrumbs, and user context within seconds of an issue occurring, cutting mean time to detect (MTTD) from days to minutes and dramatically reducing the cost of incidents.

Quick Reference

  • Install an error monitoring SDK (Sentry, Datadog, Bugsnag, etc.) early in the app entry point
  • Capture unhandled exceptions, unhandled promise rejections, and React error boundaries
  • Attach user context, release version, and environment to every event
  • Configure alert thresholds and on-call routing so critical errors page the right team
  • Capture failed network requests and production RUM signals such as Core Web Vitals

Check

Check whether an error monitoring service is configured and capturing unhandled errors, promise rejections, React/framework-level errors, failed network requests, and production Core Web Vitals signals.

Fix

Integrate an error monitoring SDK, configure environment and release tagging, capture failed network requests and RUM metrics, and set up alerts for critical error thresholds and regressions.

Explain

Explain how error monitoring services work, what signals they capture, and how error grouping reduces alert noise.

Code Review

Review the monitoring initialisation code. Flag missing user context, absent release tagging, overly broad event filters, missing network instrumentation, and any patterns that would swallow errors before they reach the monitoring service.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/testing/error-monitoring

Câu hỏi thường gặp

Skill nhắc đến những công cụ nào?

Skill nêu các lựa chọn như Sentry, Datadog và Bugsnag làm ví dụ.

Skill ghi nhận những gì?

Skill bao gồm các ngoại lệ không được xử lý, promise rejection không được xử lý, lỗi của framework và các yêu cầu mạng thất bại.

Vì sao phải nhóm các lỗi lại với nhau?

Skill nói rằng nhóm lỗi giảm tiếng ồn cảnh báo, để cùng một vấn đề không kích hoạt nhiều cảnh báo riêng lẻ.

Chi tiết

Mô tả gốc của tác giả

Use when setting up a new project's production observability stack, reviewing incident response readiness, or investigating why errors are going undetected.

repo: thedaviddias/Front-End-Checklist

Độ phổ biến

Sao GitHub
75k
Vị trí xếp hạng
#2835
Giấy phép
MIT
Cập nhật
31/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự