resource attribute とは何か
resource attribute は、個々の操作ではなくテレメトリのソースを識別し、service 名、deploy バージョン、リージョン、host といった事実を捉えます。一度設定され、そのソースが発するすべての span、metric、log に適用されます。この一貫したラベリングにより、observability ツールは signal をその出所ごとにグルーピングしてフィルタリングできます。
なぜ重要か
バージョンを比較したり一つの host を切り分けたりするには、すべての signal がどこから来たかを示す必要があります。resource attribute は、三種類すべてのテレメトリにわたってその安定した identity を提供します。
関連ガイド
What Is a Span Attribute?A span attribute is a key-value pair attached to one span in a trace, recording details about that operation…
What Is an Instrumentation Library?An instrumentation library is code that generates telemetry for a specific framework or client, emitting span…
What Is a Collector Pipeline?A collector pipeline is the chain of receivers, processors, and exporters that telemetry flows through inside…