Index | Thread | Search

From:
Bryan Everly <bryan@theeverlys.com>
Subject:
[NEW PORT] sysutils/otelcol-contrib
To:
"ports@openbsd.org" <ports@openbsd.org>
Date:
Mon, 6 Oct 2025 18:17:14 +0000

Download raw body.

Thread
  • Bryan Everly:

    [NEW PORT] sysutils/otelcol-contrib

Hi ports@,

  I'd like to submit a new port for otelcol-contrib, the OpenTelemetry
  Collector with contrib components.

  Port description:
  The OpenTelemetry Collector offers a vendor-agnostic implementation on how
  to receive, process and export telemetry data. It removes the need to run,
  operate and maintain multiple agents/collectors in order to support
  open-source observability data formats (e.g. Jaeger, Prometheus, etc.)
  sending to multiple open-source or commercial back-ends.

  This is a minimal build for OpenBSD containing only essential components:
  - OTLP receiver for receiving traces, metrics, and logs
  - OTLP and OTLP/HTTP exporters for forwarding telemetry
  - Batch processor for efficient processing
  - Memory limiter processor for resource management
  - Debug exporter for troubleshooting

  Upstream URL: https://opentelemetry.io/
  License: Apache 2.0

  Dependencies:
  - BUILD_DEPENDS: devel/gmake, misc/findutils
  - WANTLIB: c pthread

  Notes:
  - Uses custom OpenTelemetry Collector Builder (ocb) for minimal build
  - Built with CGO_ENABLED=0 for static binary
  - Excludes components with unsupported OpenBSD dependencies (e.g., DataDog's
   gohai)
  - Custom builder-config.yaml defines minimal component set

  Testing:
  - Builds successfully on OpenBSD 7.7 amd64
  - Package installs cleanly
  - Tested: /usr/local/bin/otelcol-contrib --version works
  - Binary verified with ldd (no missing symbols, only libc/libpthread)
  - Passes /usr/ports/infrastructure/bin/portcheck

  Tarball attached.

  Bryan