auto-instrumentation とは何か
auto-instrumentation は、開発者に tracing 呼び出しの追加を求める代わりに、通常はエージェント、runtime フック、バイトコード操作を通じて、一般的な library へテレメトリ収集を自動的に注入します。サポートされている framework を検出し、runtime でそれらに対して span と metric の発行を開始します。チームはアプリ固有の詳細のために、その上に手作業の instrumentation を重ねられます。
なぜ重要か
これにより service はほぼ即座に有用な tracing カバレッジを得られ、observability を採用する障壁が下がります。捕捉される span は汎用的かもしれませんが、コード編集なしにベースラインを確立します。
関連ガイド
What Is an Instrumentation Library?An instrumentation library is code that generates telemetry for a specific framework or client, emitting span…
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 Collector Pipeline?A collector pipeline is the chain of receivers, processors, and exporters that telemetry flows through inside…