Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jul 2024 12:46:01 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f009909314f2 - main - devel/rubygem-opentelemetry-instrumentation-trilogy: Add rubygem-opentelemetry-instrumentation-trilogy 0.59.3
Message-ID:  <202407291246.46TCk1rb009205@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f009909314f2af0cb05c851b0d4de6389c83a3e0

commit f009909314f2af0cb05c851b0d4de6389c83a3e0
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-29 12:31:00 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
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 <bsd.port.mk>
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407291246.46TCk1rb009205>