Skip to main content
在 Manus 中运行任何 Skill
一键导入

darkhunt-telemetry-python-integration

星标5
分支0
更新时间2026年7月20日 17:02

Use this skill when integrating `darkhunt-telemetry` (the Darkhunt trace-hub PYTHON SDK, published on PyPI) into a Python service. Covers: install (published on PyPI), singleton client setup, trace + generation + span emission via the `with`-based active-context helpers, backdated `start_time`, graceful shutdown, routing-field discipline (tenant_id / workspace_id / application_id), creating an OBSERVABILITY application via the Darkhunt MCP, in-cluster vs public ingest, the masking layer, and — the big part — multi-agent topology + agent handoffs across every Python transport (an in-process contextvars carrier, orchestrator-passed traces, a LangGraph state field, the HTTP `traceparent` header, a queue metadata field, and Temporal Headers via `HandoffInterceptor` + `child_args`). Auto-invoke when the user asks to add LLM tracing/observability to a Python app, send spans to trace-hub, wire `DarkhuntTelemetry` / `client.trace()` / `trace.generation()`, or build a multi-agent Python system where agents hand off to

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly