Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计通过

tracingtracing 分析

Agent Skill

tracing 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

4,372

周安装

184

GitHub Stars

公开资料未说明

下载量

1,531
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:tracing(tracing 分析)
来源仓库:https://github.com/mikeclaw007/tracing
安装命令:
openclaw skills install tracing
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install tracing

简介

tracing 分析深度分布式跟踪数据,支持采样与服务地图生成。

  • 用于监控系统性能、延迟分析与故障根因定位。
  • 适用于云原生架构下的可观测性体系建设。
  • 安装命令:openclaw skills install tracing,需接入追踪后端。
  • 配置复杂,需熟悉 OpenTelemetry 等标准协议。

SKILL.md

name
tracing
description
Deep distributed tracing workflow—instrumentation boundaries, context propagation, sampling, tail-based analysis, service maps, and using traces for latency debugging. Use when adopting OpenTelemetry, debugging microservices, or tuning P99 latency.

Distributed Tracing (Deep Workflow)

Traces answer which hop consumed time and where errors surfaced across services. Success requires consistent propagation, meaningful spans, and sampling that preserves signal without bankrupting storage.

When to Offer This Workflow

Trigger conditions:

  • Microservices “unknown latency” between A and B
  • Adopting OpenTelemetry, Jaeger, Zipkin, X-Ray, Cloud Trace
  • Need service map and dependency insights
  • High cardinality or cost concerns from traces

Initial offer:

Use six stages: (1) define goals & SLOs, (2) instrumentation plan, (3) propagation & context, (4) sampling strategy, (5) analysis workflows, (6) governance & cost. Confirm languages and infra (K8s, service mesh).


Stage 1: Goals & SLOs

Goal: Know why tracing exists—latency, errors, dependency discovery, or customer journey mapping.

Questions

  1. Top p95/p99 pain routes?
  2. Compliance or PII constraints on span attributes?
  3. Cardinality tolerance—user IDs on every span?

Exit condition: Success metrics: e.g., “reduce unknown time in checkout to <5% of trace duration.”


Stage 2: Instrumentation Plan

Goal: Spanness where it helps—not every function.

Layers

  • HTTP server middleware: span per request, route name normalized
  • HTTP clients: outgoing spans with peer service
  • DB: client spans with statement type—not raw SQL text in prod by default
  • Queues: produce/consume spans with message correlation
  • Background jobs: separate spans with job type

Naming

  • Span names stable (GET /orders/{id} patterns) vs high-cardinality raw paths

Attributes

  • service.name, deployment.environment, http.status_code, db.system—follow semantic conventions (OTel)

Exit condition: Inventory of frameworks auto-instrumented vs manual spans needed.


Stage 3: Propagation & Context

Goal: Trace ID crosses async boundaries—no broken traces.

Practices

  • W3C Trace Context headers for HTTP; messaging propagators for Kafka/AMQP
  • Async tasks: attach context when scheduling (executor, asyncio, Promise)
  • Batch processing: link spans or baggage carefully—avoid leaking PII

Service mesh

  • Sidecar tracing vs library tracing—avoid double counting; configure one source of truth

Exit condition: Broken trace rate measurable; top 5 causes documented (missing propagation, etc.).


Stage 4: Sampling Strategy

Goal: Representative traces without storing everything.

Head-based

  • Fixed percentage; always sample errors (tail sampling often still needed)

Tail-based

  • Interesting traces (high latency, errors) retained—complexity but better signal

Cost controls

  • Attribute limits; span limits per trace; drop health checks

Exit condition: Written policy: baseline rate + error always + latency outliers.


Stage 5: Analysis Workflows

Goal: Engineers use traces in incidents and perf work.

Workflows

  • Trace view: critical path, longest child span
  • Compare releases: same route, different p99 span
  • Service map from edges—validate unexpected dependencies

Anti-patterns

  • Only looking at averages—trace is about specific slow requests

Exit condition: Runbook snippet: “How to find slowest span in checkout.”


Stage 6: Governance & Cost

Goal: PII controlled; budget predictable.

Practices

  • PII redaction processors; secrets never in attributes
  • Retention policies per env; export to cheap storage for long-term if needed
  • Ownership of semantic conventions in org

Final Review Checklist

  • [ ] Instrumentation covers critical paths and async boundaries
  • [ ] Propagation validated; broken trace rate monitored
  • [ ] Sampling policy balances cost vs signal
  • [ ] Semantic conventions applied consistently
  • [ ] PII/secrets not in spans

Tips for Effective Guidance

  • Prefer OpenTelemetry as the single API with vendor exporters—avoid vendor lock-in at instrumentation.
  • DB spans: recommend query shape (normalized) not raw SQL in prod.
  • Logs ↔ traces: inject trace_id in logs for correlation.

Handling Deviations

  • Monolith: single-process traces still valuable—async and thread hops still break.
  • High cardinality crisis: drop labels first, then sampling—never drop error visibility blindly.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

81.45%
按下载量换算1,247

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills