OpenTelemetry の processor とは何か
processor は collector pipeline の中で receiver と exporter の間に位置し、通過するテレメトリを変更します。一般的な processor は、効率的な送信のために signal をバッチ化したり、不要なデータをドロップまたはサンプリングしたり、機密フィールドを除去したり、attribute を追加したりします。これらは定められた順序で実行され、それぞれが直前の processor の出力に作用します。
なぜ重要か
変換を processor に集約することで、アプリケーションはシンプルに保たれ、ポリシーが一貫します。バッチ化、秘匿化、フィルタリングは、service ごとに再実装されるのではなく collector で一度だけ行われます。
関連ガイド
What Is an OpenTelemetry Receiver?A receiver is the pipeline stage that accepts incoming telemetry into a collector, supporting protocols by wh…
What Is an OpenTelemetry Exporter?An exporter is the pipeline stage that sends processed telemetry out of a collector to a destination backend,…
What Is a Collector Pipeline?A collector pipeline is the chain of receivers, processors, and exporters that telemetry flows through inside…