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