Span - CI/CD用語集の定義
spanは分散traceの基本単位であり、開始時刻、継続時間、属性、そして親spanへのリンクを持つ、名前の付いた単一の操作です。traceはspanのツリーです。
spanが持つもの
spanは操作名、開始と終了のtimestamp、キー/値の属性(例: http.status_code)、イベント、ステータスを記録します。親子関係により、backendは因果関係とタイミングを再構成できます。
OpenTelemetry
OpenTelemetryでは、spanは作業単位のまわりに作成され、collectorへエクスポートされます。カーディナリティが非常に高いspan属性(一意なid)はストレージを膨張させることがあり、これはmetric cardinalityと同じ懸念です。
関連ガイド
Distributed Tracing - CI/CD Glossary DefinitionDistributed Tracing: Distributed tracing follows a single request as it travels across multiple services, sti…
Metric Cardinality - CI/CD Glossary DefinitionMetric Cardinality: Metric cardinality is the number of distinct time series a metric produces, which equals…
Structured Logging - CI/CD Glossary DefinitionStructured Logging: Structured logging emits log entries as machine-parseable records (usually JSON) with nam…