Logo Observability Monitoring

Observability Monitoring

Cộng đồng
peterbamuhigire
observability-monitoring

Dùng khi thiết kế hoặc đánh giá log, metrics, trace, cảnh báo, SLO, dashboard, sự kiện kiểm toán hoặc telemetry production cho ứng dụng web, API, nền tảng SaaS, backend di động và hệ thống AI. Bao gồm chiến lược instrumentation, telemetry ưu tiên chẩn đoán, chất lượng cảnh báo và khả năng quan sát vận hành.

Add to TypingMind

Tổng quan

Nhà phát hànhpeterbamuhigire
Kho mãchwezi-dev-engine
Tên kỹ năngobservability-monitoring
Sao
29
Bản fork
6
Tệp đi kèm
6
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 6 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được peterbamuhigire công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Observability Monitoring trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/peterbamuhigire/chwezi-dev-engine/tree/main/skills/devops-cloud/observability-monitoring
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/peterbamuhigire/chwezi-dev-engine.git /tmp/chwezi-dev-engine
mkdir -p .claude/skills
cp -r /tmp/chwezi-dev-engine/skills/devops-cloud/observability-monitoring .claude/skills/observability-monitoring
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Observability Monitoring trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Observability Monitoring ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Observability Monitoring với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Observability Monitoring

Acknowledgement: Shared by Peter Bamuhigire, techguypeter.com, +256 784 464178.

Use When

  • Use when designing or reviewing logs, metrics, traces, alerts, SLOs, dashboards, audit events, or production telemetry for web apps, APIs, SaaS platforms, mobile backends, and AI systems. Covers instrumentation strategy, diagnosis-first telemetry, alert quality, and operational visibility.

Do Not Use When

  • The request is business analytics without a production diagnosis, service-level, audit, or operator-response requirement.
  • The task only asks to install a monitoring product; first define the operational questions and service outcomes this skill requires.

Required Inputs

InputRequiredWhy it matters
Critical user and system flowsyesDetermines what must be observable
Service ownership and escalation pathsyesConnects signals to accountable action
Architecture, dependencies, and async boundariesyesDefines correlation and trace coverage
Data sensitivity, retention, and cost limitsconditionalConstrains event fields, sampling, and storage

Workflow

Start from critical flows and operator questions, define service outcomes and SLOs, map logs, metrics, traces, and audit events, set correlation and cardinality rules, create actionable alerts and dashboards, then test diagnosis using a known failure.

Quality Standards

Every page has a named owner, user-impact rationale, and first action. Signals carry enough version, environment, tenant, and dependency context to diagnose safely, while secrets and sensitive payloads remain excluded or redacted.

Outputs

OutputConsumerAcceptance condition
Telemetry mapDevelopers and operatorsLinks each critical flow and failure mode to logs, metrics, traces, audit events, and correlation fields
SLO and alert catalogueService owner and on-call teamDefines measurement, target, window, severity, owner, runbook, and paging action
Diagnostic dashboard and verification recordIncident respondersAnswers impact, location, change, and next-action questions during an injected or known failure

Evidence Produced

CategoryArtifactFormatExample
OperabilitySLO recordMarkdown doc per skill-composition-standards/references/slo-template.mddocs/slo/checkout-service.md
OperabilityObservability wiring noteMarkdown doc listing logs, metrics, traces, and dashboards wireddocs/observability/checkout-wiring.md
OperabilityAlert catalogueMarkdown doc listing alert name, threshold, and runbook linkdocs/observability/checkout-alerts.md

Capability contract

Inspect telemetry read-only by default. Deploy collectors, change retention, create paging rules, or access sensitive logs only with explicit authority.

Decision rules

ConditionAction
Signal has no operator actionDo not page
Label cardinality is unboundedRemove or aggregate it
SLO absentDefine service outcome first

Domain Anti-Patterns

  • Logging secrets. Fix: redact at collection.
  • Paging on CPU alone. Fix: alert on user impact.
  • Using request IDs as metric labels. Fix: keep them in traces.
  • Building ownerless dashboards. Fix: assign a decision and owner.
  • Treating missing telemetry as healthy. Fix: alert on collection gaps.

References

  • Use the references/ directory for deep detail after reading the core workflow below.
  • Load references/observability-platform.md when the task is platform buildout, SigNoz/OpenTelemetry stack design, collector topology, storage, retention, or dashboard infrastructure.

Use this skill when a system must be diagnosable in production. It covers operational telemetry, not just analytics. The goal is to make failures understandable, actionable, and bounded.

Load Order

  1. Load world-class-engineering.
  2. Load this skill before finalizing architecture, APIs, jobs, or release design.
  3. Pair it with deployment-release-engineering for rollout and incident visibility.

Observability Workflow

1. Identify Critical Flows

For each critical flow define:

  • trigger
  • expected success outcome
  • known failure modes
  • business impact if degraded
  • operator action if it fails

Instrument the highest-impact flows first.

2. Define Telemetry By Question

For every important signal, ask:

  • what question will this answer?
  • who needs the answer?
  • how quickly must they see it?

Use this mapping:

  • logs for detailed forensic context
  • metrics for trend, rate, saturation, and alerting
  • traces for multi-hop latency and dependency diagnosis
  • audit events for material business or security actions
  • profiles when CPU, memory, lock, or cost behavior matters

3. Design Correlation

Every request, job, and workflow should have:

  • request or trace ID
  • actor or service identity
  • tenant or ownership context where applicable
  • environment and version metadata
  • release marker or deploy version
  • dependency identity for important downstream calls

Without correlation, telemetry becomes noise.

4. Design High-Context Events

  • Prefer structured events with useful dimensions over sparse text strings.
  • Keep personally sensitive or secret fields out, but do not strip away the context needed to debug.
  • Be deliberate about cardinality. High-cardinality dimensions can be valuable when they answer real debugging questions.
  • Emit state transitions for long-running jobs and workflows so operators can reconstruct partial failure.

5. Define SLOs And Alerts

Use SLOs for user-facing reliability, not for every internal metric.

Define:

  • success metric
  • time window
  • target threshold
  • error budget implications

Alerts should page only when immediate action is required.

6. Build Dashboards For Diagnosis

Dashboards should answer:

  • what is broken?
  • who is affected?
  • where is the bottleneck?
  • what changed recently?
  • what should the operator do next?

Do not create vanity dashboards that cannot guide action.

Telemetry Standards

Logs

  • Use structured logs.
  • Include IDs, actor context, tenant context, route or job name, and result.
  • Log failures with enough context to debug, but never leak secrets or sensitive payloads.
  • Separate business audit logs from application diagnostics.

Metrics

Track:

  • request rate
  • error rate
  • latency percentiles
  • resource saturation
  • queue depth and lag
  • retry and fallback counts
  • cache hit rates where relevant
  • cost or token usage where relevant
  • saturation signals for pools, workers, rate limits, or thread usage

Prefer percentiles and rates over averages.

Traces

Trace:

  • requests crossing service or process boundaries
  • expensive background workflows
  • external dependencies
  • AI or retrieval pipelines with multiple stages
  • deploy markers and notable async transitions when the platform supports them

Audit Events

Audit events are required for:

  • auth and role changes
  • financial or ledger-affecting actions
  • entitlement changes
  • exports, deletions, and approvals
  • AI actions with external or privileged side effects

AI And Cost-Aware Telemetry

For AI-enabled systems, capture:

  • model, prompt version, and tool path
  • retrieval stages and source counts
  • token, latency, and cost budgets
  • eval outcomes or quality checks where available
  • fallback, refusal, and validation failures

Alert Design Rules

  • Page on symptoms that require immediate human action.
  • Ticket on trends or degradations that can wait.
  • Dashboard everything else.
  • Avoid alerts without a runbook path.
  • Include environment, service, version, impact, and likely first checks.

See references/alert-design.md.

Deliverables

For significant systems, produce:

  • telemetry map for critical flows
  • SLO definitions
  • alert list with severity and owner
  • dashboard outline
  • audit event list
  • trace and correlation ID strategy
  • cardinality and sensitive-data guardrails

Review Checklist

  • Critical flows have explicit telemetry.
  • IDs and tenant context are correlated across logs, metrics, and traces.
  • Events contain enough context to debug without unsafe data leakage.
  • Alerts map to operator action, not mere curiosity.
  • SLOs reflect user impact, not internal implementation trivia.
  • Audit events are defined for material actions.
  • Sensitive data is excluded or redacted from telemetry.

References

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

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

Kỹ năng AI Observability Monitoring làm được gì?

Dùng khi thiết kế hoặc đánh giá log, metrics, trace, cảnh báo, SLO, dashboard, sự kiện kiểm toán hoặc telemetry production cho ứng dụng web, API, nền tảng SaaS, backend di động và hệ thống AI. Bao gồm chiến lược instrumentation, telemetry ưu tiên chẩn đoán, chất lượng cảnh báo và khả năng quan sát vận hành.

Vì sao nên dùng Observability Monitoring trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Observability Monitoring là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Observability Monitoring trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/peterbamuhigire/chwezi-dev-engine/tree/main/skills/devops-cloud/observability-monitoring. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Observability Monitoring?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Observability Monitoring với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Observability Monitoring với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Observability Monitoring có miễn phí không?

Có. Kỹ năng này được peterbamuhigire phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇