generated at
OpenTelemetry Collector
概要
公式ドキュメント
Collector ( 2ddb450 時点のドキュメント)
https://opentelemetry.io/docs/collector/ (最新のドキュメント)

インストール
公式ドキュメント
Install the Collector ( 2ddb450 時点のドキュメント)

設定
公式ドキュメント
Configuration ( 2ddb450 時点のドキュメント)
設定ファイル
/etc/<otel-directory>/config.yaml に配置する ( <otel-directory> にはCollectorのバージョンや配布形式に応じて otelcol otelcol-contrib などが入る)
otelcol --config オプションで設定を指定することも可能
shell
$ otelcol --config=myconfig.yaml
otelcol validate コマンドでCollectorを起動せずに設定ファイルを検証できる
shell
$ otelcol validate --config=myconfig.yaml

リンク