OS Manuals

/usr/bin/ocb

Package that contains ocb binary

From opentelemetry-collector-ocb 0.152.1-r5 (os), captured 2026-11-05 by running ocb --help (exit 0). permalink

Also provided by 2 other package versions
OpenTelemetry Collector Builder (v0.152.1+dirty)

ocb generates a custom OpenTelemetry Collector binary using the
build configuration given by the "--config" argument. If no build
configuration is provided, ocb will generate a default Collector.

Usage:
  ocb [flags]
  ocb [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command
  init        [EXPERIMENTAL] Initializes a new custom collector repository in the provided folder
  version     Version of ocb

Flags:
      --config string            build configuration file
      --gcflags string           gcflags to include in the "go build" command
  -h, --help                     help for ocb
      --ldflags string           ldflags to include in the "go build" command
      --skip-compilation         Whether builder should only generate go code with no compile of the collector (default false)
      --skip-generate            Whether builder should skip generating go code (default false)
      --skip-get-modules         Whether builder should skip updating go.mod and retrieve Go module list (default false)
      --skip-strict-versioning   Whether builder should skip strictly checking the calculated versions following dependency resolution (default true)
      --verbose                  Whether builder should print verbose output (default false)

Use "ocb [command] --help" for more information about a command.
Options (9)
OptionDescriptionSource
--config stringbuild configuration filehelp
--gcflags stringgcflags to include in the "go build" commandhelp
-h, --helphelp for ocbhelp
--ldflags stringldflags to include in the "go build" commandhelp
--skip-compilationWhether builder should only generate go code with no compile of the collector (default false)help
--skip-generateWhether builder should skip generating go code (default false)help
--skip-get-modulesWhether builder should skip updating go.mod and retrieve Go module list (default false)help
--skip-strict-versioningWhether builder should skip strictly checking the calculated versions following dependency resolution (default true)help
--verboseWhether builder should print verbose output (default false)help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.