From nobody Sun Nov 02 00:36:29 2025 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4czbPT4F2Qz6FXBj; Sun, 02 Nov 2025 00:36:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4czbPT3hkbz49vx; Sun, 02 Nov 2025 00:36:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1762043789; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QeCiI/P0fAlT8gsfascV/0IeQ/rWT85V5kKiqv1WxeA=; b=CFnZ676jfd61pSFnxIA/nbETNzhlJnD+K/sFSGWRa95SW5JMHHpLQtVa/Ai9RSWDn9LE1A 1mhHvg9I1BQXZNqyHeYYnPPXwfnIDabkP6oXTyk25jrftAVN6lrv46aqNi3X1WRiaFtOry 8F6xyC22YWc8sxaTSeZHKpO3J3WRe58TnUNXZWWZ/poaN3OAC5XiZTcbHjI7pznylDZ8NV d5SmPeX4WWRUsSIINC4//+9/M4W+frAfVYxyrUiKInsf3c+IYk2NfubT9+GPYEzRmQcmE/ YneQALrrOIXQZolEenUNnp7mv+olXpYH3kEXXO5qex+BV8YApshpPvVkijgQ3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1762043789; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QeCiI/P0fAlT8gsfascV/0IeQ/rWT85V5kKiqv1WxeA=; b=qH/cq9j09WQe91Jhw282+xMnQIwP49fDTXrzU9mDcXGkvtWz55TDjjRm32coHFewuNuDZT U9eTKbhslr90Qx/kcamIg0UTi+xKFb76bs3AgFaOgpfuTiE8Cy6/PZUuF2uKtKVuH4vF+G WVebG51vxSsEz21I8gZ35yUsK2uU/ePWMGqkBe5mW1kZYVwhEDC7budKuNK3i14HkwWiq3 VC5faQgrAKa8Ff8UMiyQTBd7llUEm5LZh+jVBFjUiPm1rFZWNJFn7tfKI3SfXumqEvsaQ3 AfsCNdXvnNF92IUoXcjFrGMsMKjpF4o1PPMZc8SDCucT3j4CEGY1oWygWxVj3Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1762043789; a=rsa-sha256; cv=none; b=f3oFz+2aC2yV/iLH8qSQzJQDyRUO23lZ9QlTNJwKQqj+VdQfwW60GqMIkfksBNYMOp+hc1 4FlEtMgQnx8ZVV5BXyOib8VzIUqM3A2N/Z9fK33mOX9FAie98ttCP3Vrug7yoyvNa9SG9F z/qo21hx7dSOz7NsQb2NQUChiXnSerMk6qP/bRl1XkhTwqZi1fzNMDLN39NaeQxUqDhg1S 51cH6d0pGNlg281w7Beq8qF0UxCyV94791sioN1Jd1/HmHO+kM5kNOBhGgaDfnQUS+kKjv LSaCQf9G+MA4TVDIIHG1k/e6AJrgGOaKXMSZCjkN/aE9cLP6c6yRaf6zttO5uA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4czbPT38ypz134f; Sun, 02 Nov 2025 00:36:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 5A20aTMb097651; Sun, 2 Nov 2025 00:36:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 5A20aTA4097648; Sun, 2 Nov 2025 00:36:29 GMT (envelope-from git) Date: Sun, 2 Nov 2025 00:36:29 GMT Message-Id: <202511020036.5A20aTA4097648@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Sergey A. Osokin" Subject: git: 3b21cf2cc771 - main - net/otelcol-contrib: add new port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: osa X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3b21cf2cc771eac1f648d26372cafa97ae7db61b Auto-Submitted: auto-generated The branch main has been updated by osa: URL: https://cgit.FreeBSD.org/ports/commit/?id=3b21cf2cc771eac1f648d26372cafa97ae7db61b commit 3b21cf2cc771eac1f648d26372cafa97ae7db61b Author: Sergey A. Osokin AuthorDate: 2025-11-02 00:24:50 +0000 Commit: Sergey A. Osokin CommitDate: 2025-11-02 00:36:22 +0000 net/otelcol-contrib: add new port This is the OpenTelemetry Collector components that are not suitable for the core repository of the collector, i.e. Contrib version. Sponsored by: tipi.work --- net/Makefile | 1 + net/otelcol-contrib/Makefile | 30 +++++++++++++++++++++++++ net/otelcol-contrib/distinfo | 3 +++ net/otelcol-contrib/files/config.yaml | 41 +++++++++++++++++++++++++++++++++++ net/otelcol-contrib/pkg-descr | 10 +++++++++ 5 files changed, 85 insertions(+) diff --git a/net/Makefile b/net/Makefile index 6dd01d26c59b..75530a72bbf8 100644 --- a/net/Makefile +++ b/net/Makefile @@ -591,6 +591,7 @@ SUBDIR += openvswitch SUBDIR += ortp SUBDIR += osrtspproxy + SUBDIR += otelcol-contrib SUBDIR += ovhcloud-cli SUBDIR += owamp SUBDIR += p5-Acme-HTTP diff --git a/net/otelcol-contrib/Makefile b/net/otelcol-contrib/Makefile new file mode 100644 index 000000000000..67c935ed3dee --- /dev/null +++ b/net/otelcol-contrib/Makefile @@ -0,0 +1,30 @@ +PORTNAME= otelcol-contrib +PORTVERSION= 0.138.0 +CATEGORIES= net +MASTER_SITES= https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v${PORTVERSION}/ +DISTFILES_amd64= ${PORTNAME}_${DISTVERSION}_linux_amd64.tar.gz + +MAINTAINER= osa@FreeBSD.org +COMMENT= OpenTelemetry Collector Contrib +WWW= https://github.com/open-telemetry/opentelemetry-collector-contrib/ + +LICENSE= APACHE20 + +ONLY_FOR_ARCHS= amd64 + +USES= linux:rl9 + +NO_BUILD= yes +NO_WRKSUBDIR= yes + +PLIST_FILES= bin/otelcol-contrib \ + %%DATADIR%%/README.md \ + %%DATADIR%%/config.yaml + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${FILESDIR}/config.yaml ${STAGEDIR}${DATADIR} + +.include diff --git a/net/otelcol-contrib/distinfo b/net/otelcol-contrib/distinfo new file mode 100644 index 000000000000..d2bee0c25c83 --- /dev/null +++ b/net/otelcol-contrib/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1762041872 +SHA256 (otelcol-contrib_0.138.0_linux_amd64.tar.gz) = 9f6462ffa45829bce9e69a2995932a521e9d40f0658eddbe27f6e262c2e82b1d +SIZE (otelcol-contrib_0.138.0_linux_amd64.tar.gz) = 90395268 diff --git a/net/otelcol-contrib/files/config.yaml b/net/otelcol-contrib/files/config.yaml new file mode 100644 index 000000000000..15e658cdc508 --- /dev/null +++ b/net/otelcol-contrib/files/config.yaml @@ -0,0 +1,41 @@ +receivers: + nginx: + endpoint: "http://127.0.0.1:8080/status" + collection_interval: 10s + otlp: + protocols: + grpc: + endpoint: 0.0.0.0:4317 + +exporters: + prometheus: + endpoint: 0.0.0.0:8889 + namespace: default + + debug: + verbosity: detailed + +processors: + batch: + +extensions: + health_check: + endpoint: 0.0.0.0:13133 + pprof: + endpoint: 0.0.0.0:1777 + zpages: + endpoint: 0.0.0.0:55679 + +service: + extensions: [health_check, pprof, zpages] + + pipelines: + metrics: + receivers: [nginx] + processors: [batch] + exporters: [prometheus] + + traces: + receivers: [otlp] + processors: [batch] + exporters: [debug] diff --git a/net/otelcol-contrib/pkg-descr b/net/otelcol-contrib/pkg-descr new file mode 100644 index 000000000000..75782a993a40 --- /dev/null +++ b/net/otelcol-contrib/pkg-descr @@ -0,0 +1,10 @@ +The OpenTelemetry Collector components that are not suitable +for the core repository of the collector. + +This distribution contains all the components from both the +OpenTelemetry Collector, +https://github.com/open-telemetry/opentelemetry-collector +repository and the OpenTelemetry Collector Contrib, +https://github.com/open-telemetry/opentelemetry-collector-contrib +repository. This distribution includes open source and +vendor supported components.