Observability Monitoring 标志

Observability Monitoring

社区
peterbamuhigire
observability-monitoring

适用于为 Web 应用、API、SaaS 平台、移动后端和 AI 系统设计或评审日志、指标、追踪、告警、SLO、仪表盘、审计事件或生产遥测。涵盖埋点策略、以诊断为先的遥测、告警质量和运维可见性。

Add to TypingMind

概览

发布者peterbamuhigire
代码仓库chwezi-dev-engine
技能名称observability-monitoring
星标数
29
复刻数
6
附带文件
6
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 6 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 peterbamuhigire 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Observability Monitoring AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/peterbamuhigire/chwezi-dev-engine/tree/main/skills/devops-cloud/observability-monitoring
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Observability Monitoring,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Observability Monitoring。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Observability Monitoring 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Observability Monitoring AI 技能有什么作用?

适用于为 Web 应用、API、SaaS 平台、移动后端和 AI 系统设计或评审日志、指标、追踪、告警、SLO、仪表盘、审计事件或生产遥测。涵盖埋点策略、以诊断为先的遥测、告警质量和运维可见性。

为什么在 TypingMind 中使用 Observability Monitoring?

因为您只需安装一次,就能搭配任何模型使用。Observability Monitoring 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Observability Monitoring?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/peterbamuhigire/chwezi-dev-engine/tree/main/skills/devops-cloud/observability-monitoring。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Observability Monitoring?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Observability Monitoring 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Observability Monitoring 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Observability Monitoring AI 技能免费吗?

是的。peterbamuhigire 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇