instrumentation library とは何か
instrumentation library は、HTTP サーバー、データベースドライバー、メッセージ client など、特定のコンポーネント向けにテレメトリを生成するパッケージです。そのコンポーネントをラップして span、metric、時には log を発し、アプリケーション自身が tracing コードを書く必要をなくします。各 library は通常、それが観測する framework や client に結び付けられています。
なぜ重要か
すべての library 呼び出しを手作業で instrument するのは面倒で一貫性を欠きます。専用の instrumentation library は、わずかなカスタムコードで一般的なコンポーネント向けに標準化されたテレメトリを提供します。
関連ガイド
What Is Auto-Instrumentation?Auto-instrumentation adds telemetry to an application automatically at startup or load time, capturing traces…
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 a Resource Attribute?A resource attribute describes the entity producing telemetry, such as service name, version, or host, and is…