From nobody Mon Jul 29 12:46:01 2024 X-Original-To: dev-commits-ports-main@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 4WXdQ21VG8z5RwCQ; Mon, 29 Jul 2024 12:46:02 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WXdQ1582cz4YNm; Mon, 29 Jul 2024 12:46:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722257161; 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=JAUrR29ebkGsq2hRB/fQEKjkEz2D3+SL9vwd54bjf3Q=; b=prTj9MXSkoPhkkdS+EA4v9/wyB4cSHnf/CsX+ZCcI/GAincxf5AecUbgU26Yl4sD2LIoIr n26zG6u+DMcJa8PatGlOrtTjMz0H6DYtBj5PPE3hVDf+WAmwOzfPlCaKdMqOxysWRObBRK CajH0nEwiPMymBBw4K6O7XIk21xIhZ6F1FPzOd9fzfsF/8ffu8oW3PxAv5Zn4V+MwPpZnA G9BalBEpUaF52b5Ry1c9WxqfrJiXYq65p4byZftSiK6H51SYvxEEJ6OEEWQzyNbQdrNktX b0tr5vdnMgG8qB6Ju55Wbj3PExTmiGD1JJFuw/IpuL8hpjdYT4yWQ8b1GGIaFw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722257161; a=rsa-sha256; cv=none; b=x/6cy4iGB/8MeZQJk5BoRlwkEPvgiW2TZTQgYlmQzcfFZmirLsB/4dqaYDOkBVgDhe5F2W 1BI8Y5L6WPNaIi1y0hOmOclP8WG3dbdgBsdGSUC1qboha4Nz0xXhEmuuMU0I5xAT/WLsxb Qw9qDF3QegegSdaaQQscL/ZFSPtbYwSn9eS3C/12yT/iGGba0dpB2v7SY9w3eQBTU/k8g0 42FdMjAREiFHLZUXAmwoyWCwQG7T9KQ4JsOyfsuFPqdOnqBT5+l41F7ZtYkCZckoiXwcnV r1MHiatjxx7WQo0lm+/XPCVn05OxploY8PSUR8Dkk2o4GKXzxwMrYoeokmg1aQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722257161; 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=JAUrR29ebkGsq2hRB/fQEKjkEz2D3+SL9vwd54bjf3Q=; b=IJIbJhJqTkC7JmKyvG1MpK00QurN6kHobjykAvZxMnXtG4v8iTZZYeNyroLbjTq/QK60CF 7cEqYUAYkuYAB7LPKlXOJvxbhZYy8WIR/CjYjPClZWaMmlRzw/k1Br/OLgSksAn/k6JVXp AKVBS3qe9mOeXT7Ko1BP9NcM+fRpz4S8K0gJ3qDrKV365luoYOZ2gw9v02zSnxNoDIzHNH b0mX3LwZRfdKa308wbJOGoQPrtFdn0/cMieYmZEFL7zFybIxpMPmuKYL6WTBZOOgYISuk7 3jsSLQHawAVlF/942HMbVOhho8Lb3kKqGyATIyMDJMOr03WwfM6N0pDY8JF39Q== 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 4WXdQ14mSGzZNn; Mon, 29 Jul 2024 12:46:01 +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 46TCk1vL009208; Mon, 29 Jul 2024 12:46:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46TCk1rb009205; Mon, 29 Jul 2024 12:46:01 GMT (envelope-from git) Date: Mon, 29 Jul 2024 12:46:01 GMT Message-Id: <202407291246.46TCk1rb009205@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: f009909314f2 - main - devel/rubygem-opentelemetry-instrumentation-trilogy: Add rubygem-opentelemetry-instrumentation-trilogy 0.59.3 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f009909314f2af0cb05c851b0d4de6389c83a3e0 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=f009909314f2af0cb05c851b0d4de6389c83a3e0 commit f009909314f2af0cb05c851b0d4de6389c83a3e0 Author: Po-Chuan Hsieh AuthorDate: 2024-07-29 12:31:00 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-07-29 12:31:00 +0000 devel/rubygem-opentelemetry-instrumentation-trilogy: Add rubygem-opentelemetry-instrumentation-trilogy 0.59.3 The OpenTelemetry Trilogy Ruby gem provides instrumentation for Trilogy and was COPY+PASTE+MODIFIED from the OpenTelemetry MySQL gem. Some key differences in this instrumentation are: - Trilogy does not expose MySql#query_options, therefore there is limited support for database semantic conventions. - SQL Obfuscation is enabled by default to mitigate restricted data leaks. --- devel/Makefile | 1 + .../Makefile | 25 ++++++++++++++++++++++ .../distinfo | 3 +++ .../pkg-descr | 7 ++++++ 4 files changed, 36 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 83879176f2e9..a52351129b4a 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -7414,6 +7414,7 @@ SUBDIR += rubygem-opentelemetry-instrumentation-restclient SUBDIR += rubygem-opentelemetry-instrumentation-sidekiq SUBDIR += rubygem-opentelemetry-instrumentation-sinatra + SUBDIR += rubygem-opentelemetry-instrumentation-trilogy SUBDIR += rubygem-opentelemetry-registry SUBDIR += rubygem-opentelemetry-sdk SUBDIR += rubygem-opentelemetry-semantic_conventions diff --git a/devel/rubygem-opentelemetry-instrumentation-trilogy/Makefile b/devel/rubygem-opentelemetry-instrumentation-trilogy/Makefile new file mode 100644 index 000000000000..1058f64a4ca5 --- /dev/null +++ b/devel/rubygem-opentelemetry-instrumentation-trilogy/Makefile @@ -0,0 +1,25 @@ +PORTNAME= opentelemetry-instrumentation-trilogy +PORTVERSION= 0.59.3 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Trilogy instrumentation for the OpenTelemetry framework +WWW= https://opentelemetry.io/ \ + https://github.com/open-telemetry/opentelemetry-ruby-contrib \ + https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/trilogy + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= rubygem-opentelemetry-api>=1.0<2:devel/rubygem-opentelemetry-api \ + rubygem-opentelemetry-helpers-mysql>=0:devel/rubygem-opentelemetry-helpers-mysql \ + rubygem-opentelemetry-helpers-sql-obfuscation>=0:devel/rubygem-opentelemetry-helpers-sql-obfuscation \ + rubygem-opentelemetry-instrumentation-base>=0.22.1<0.23:devel/rubygem-opentelemetry-instrumentation-base \ + rubygem-opentelemetry-semantic_conventions>=1.8.0:devel/rubygem-opentelemetry-semantic_conventions + +USES= gem + +NO_ARCH= yes + +.include diff --git a/devel/rubygem-opentelemetry-instrumentation-trilogy/distinfo b/devel/rubygem-opentelemetry-instrumentation-trilogy/distinfo new file mode 100644 index 000000000000..366fb88e4bba --- /dev/null +++ b/devel/rubygem-opentelemetry-instrumentation-trilogy/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1722249018 +SHA256 (rubygem/opentelemetry-instrumentation-trilogy-0.59.3.gem) = 67225dfa883a3e21d6347970291693f3d13b09db76cc825128788d758a9d1353 +SIZE (rubygem/opentelemetry-instrumentation-trilogy-0.59.3.gem) = 13312 diff --git a/devel/rubygem-opentelemetry-instrumentation-trilogy/pkg-descr b/devel/rubygem-opentelemetry-instrumentation-trilogy/pkg-descr new file mode 100644 index 000000000000..5b85115188f3 --- /dev/null +++ b/devel/rubygem-opentelemetry-instrumentation-trilogy/pkg-descr @@ -0,0 +1,7 @@ +The OpenTelemetry Trilogy Ruby gem provides instrumentation for Trilogy and was +COPY+PASTE+MODIFIED from the OpenTelemetry MySQL gem. + +Some key differences in this instrumentation are: +- Trilogy does not expose MySql#query_options, therefore there is limited + support for database semantic conventions. +- SQL Obfuscation is enabled by default to mitigate restricted data leaks.