
Opentelemetry
作者 bobmatnyc718070a7d622MIT77 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫2 個月前更新
OpenTelemetry observability patterns: traces, metrics, logs, context propagation, OTLP export, Collector pipelines, and troubleshooting
提供使用 OpenTelemetry 為服務埋點並透過 Collector 匯出 OTLP 遙測的參考指引。
- 功能
- 此技能提供 OpenTelemetry 可觀測性模式的參考資料,涵蓋追蹤、指標、日誌、情境傳播、取樣與語意慣例。它也說明 Collector 管線、處理器、部署模式、尾端取樣與 OTLP 匯出,以及手動埋點、傳播陷阱、基數問題與除錯。此技能僅含說明,不含指令碼,產出為指引而非產生的檔案。
- 適用情境
- 適用於建立正式環境可觀測性、為分散式系統加入追蹤,或跨語言統一遙測的情境。也適用於將日誌與追蹤 ID 關聯,或排查遙測管線問題。
- 執行需求
- 不需要工具、套件、執行環境、憑證或網路存取;此技能不含指令碼,僅由 Markdown 參考文件組成。
OpenTelemetry
Quick Start (signal design)
- Export OTLP via an OpenTelemetry Collector (vendor-neutral endpoint).
- Standardize resource attributes:
service.name, service.version, deployment.environment.
- Start with auto-instrumentation, then add manual spans and log correlation.
Load Next (References)
references/concepts.md — traces/metrics/logs, context propagation, sampling, semantic conventions
references/collector-and-otlp.md — Collector pipelines, processors, deployment patterns, tail sampling
references/instrumentation-and-troubleshooting.md — manual spans, propagation pitfalls, cardinality, debugging