mix otelcol (otelcol v0.1.2) View Source

Invokes otelcol with the given args.

Usage:

$ mix otelcol TASK_OPTIONS PROFILE OTELCOL_ARGS

Example:

$ mix otelcol default --config=config/otel-collector-config.yml

If otelcol is not installed, it is automatically downloaded. Note the arguments given to this task will be appended to any configured arguments.

Options

  • --runtime-config - load the runtime configuration before executing command

Note flags to control this Mix task must be given before the profile:

$ mix otelcol --runtime-config default