Service Mesh Observability

作者 wshobson46891e7e60da無授權條款收錄於 2026年10月8日更新於 2026年10月8日

Implement comprehensive observability for service meshes including distributed tracing, metrics, and visualization. Use when setting up mesh monitoring, debugging latency issues, or implementing SLOs for service communication.

僅含說明DevOps & Cloud
AI 產生的概覽

針對 Istio 與 Linkerd 的服務網格可觀測性指南,涵蓋追蹤、指標、日誌、黃金訊號與 SLO。

功能
此技能提供為 Istio、Linkerd 等服務網格實作可觀測性的指引內容。它說明可觀測性三大支柱(指標、追蹤、日誌)、網格流量的黃金訊號,以及取樣、追蹤脈絡傳遞、告警與保留策略等最佳實務。它指向一個參考檔案以取得完整範本與詳細範例。
適用情境
適用於建置分散式追蹤或網格指標與儀表板、排查服務通訊中的延遲或錯誤問題、定義 SLO、視覺化服務相依關係,或排解網格連線問題。
執行需求
不含指令碼,僅為說明性內容。它引用配套檔案 references/details.md 以取得範本與詳細範例。未說明需要特定工具、套件、憑證或網路存取。

Service Mesh Observability

Complete guide to observability patterns for Istio, Linkerd, and service mesh deployments.

When to Use This Skill

  • Setting up distributed tracing across services
  • Implementing service mesh metrics and dashboards
  • Debugging latency and error issues
  • Defining SLOs for service communication
  • Visualizing service dependencies
  • Troubleshooting mesh connectivity

Core Concepts

1. Three Pillars of Observability

┌─────────────────────────────────────────────────────┐│                  Observability                       │├─────────────────┬─────────────────┬─────────────────┤│     Metrics     │     Traces      │      Logs       ││                 │                 │                 ││ • Request rate  │ • Span context  │ • Access logs   ││ • Error rate    │ • Latency       │ • Error details ││ • Latency P50   │ • Dependencies  │ • Debug info    ││ • Saturation    │ • Bottlenecks   │ • Audit trail   │└─────────────────┴─────────────────┴─────────────────┘

2. Golden Signals for Mesh

SignalDescriptionAlert Threshold
LatencyRequest duration P50, P99P99 > 500ms
TrafficRequests per secondAnomaly detection
Errors5xx error rate> 1%
SaturationResource utilization> 80%

Templates and detailed worked examples

Full template library and detailed worked examples live in references/details.md. Read that file when you need the concrete templates.

Best Practices

Do's

  • Sample appropriately - 100% in dev, 1-10% in prod
  • Use trace context - Propagate headers consistently
  • Set up alerts - For golden signals
  • Correlate metrics/traces - Use exemplars
  • Retain strategically - Hot/cold storage tiers

Don'ts

  • Don't over-sample - Storage costs add up
  • Don't ignore cardinality - Limit label values
  • Don't skip dashboards - Visualize dependencies
  • Don't forget costs - Monitor observability costs

來源與署名

來源:wshobson/agents位於plugins/cloud-infrastructure/skills/service-mesh-observability提交46891e7

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架