From nobody Sun Sep 8 18:42:11 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 4X1zN45Brjz5VT2s; Sun, 08 Sep 2024 18:42:12 +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 4X1zN40rKWz4pnR; Sun, 8 Sep 2024 18:42:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725820932; 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=muhOmvZtJm37yUXQ9uHKCLkGBL8PnzVlHjQNLX80WpI=; b=BakYte86FhaL+477E8WEX4f/ylUaNLVTqjyqj9wo6syHFfdlOd1nCs4L89+Miw4EAXaqFG tZT0cBKG9RcQTjrdp1CXOaaX+wMR+eZ/JKdvy8qFZ0UDHiK2tJdC0wFY3n8ZVM8pCCw8Sy dZE6FYImmCY3Q8N5NVSpN0u7n79TIRX71NO+Eu1/LygliEMqw9oDA0GO3Ws7tRcwkk4Ocg RejXOXwqImBBQb8pDf5uFxcbR2FfqYjYBJHyb+wKNGfVhHcw+7khZ+D/1zOSPc1hhTMe5K IFbsJn/7iOOBbM3YqT/EVXUJ6BSMWQyZOKMmNnoEiWktdRF6m/DY4OlPyxx3ug== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725820932; a=rsa-sha256; cv=none; b=ONiUphv+x9sXVDeLk0pft2PdKAHorl5dGKYiHzTAYiOy2NjzQDs39NKcxC37f2Dzn9RwYr GOfe8LeV6m/vA3SuDkAdpwGeDxPIk254V6OHophKalHRGkQETrok9xJv8b3nAJEFC4fTW9 doGUkMPXSWCVguJxI0OpWpOtaxsB6Jqfkz9PXNZDw3Z0hWjlp++0f80J/YZaj/wMADztH/ LkXg9cMS5/dQj0klO0+2f+0M2uuzjWPO7ovNmJxgKg1w+bo4HQ/sHajxXtY63aCzBlvIJS 54uc7WyeS5K8XUCc6AXP138kWEno5VOBNNLHzgM7RHFdkbhrzYx6TVZoj+T+Qg== 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=1725820932; 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=muhOmvZtJm37yUXQ9uHKCLkGBL8PnzVlHjQNLX80WpI=; b=HJ0A4Kb2/yEKnxZBF+ALvQMwpyv3WzHls22XeHWMgENqjx7XRJ97qKPY7CQ6Y/qFfjXma1 8hF3Sf/vg+/VxObR9C66Q+QNyyo26JIMmCaveyBL8fLqp9L1rff+yzGhT+lBF8NAkENzgh r6UE5RiCSw1xjdI4Qg1Bgt1Qj4TUz8eCCzaeJouhbDF+ig6clIqmszYKSq98pfU4y/wyM8 PYZRwciMH3ov/qMQ6I4UUGnJgsRAvM5E293SDL8J7WGfMElbNC/ZZwKOP3ilzMG/PShK9F vRbuBlbl3wwiEmuEbQaSnBkbfQX6l/gMZQyLb9lEBabGJnvhpGVOC2cLaCw67g== 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 4X1zN400cKzWcc; Sun, 8 Sep 2024 18:42:12 +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 488IgBqq033740; Sun, 8 Sep 2024 18:42:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 488IgBTc033737; Sun, 8 Sep 2024 18:42:11 GMT (envelope-from git) Date: Sun, 8 Sep 2024 18:42:11 GMT Message-Id: <202409081842.488IgBTc033737@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: 510a10276891 - main - devel/rubygem-metrics: Add rubygem-metrics 0.10.2 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: 510a1027689186093a8bf139705c7f271640d617 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=510a1027689186093a8bf139705c7f271640d617 commit 510a1027689186093a8bf139705c7f271640d617 Author: Po-Chuan Hsieh AuthorDate: 2024-09-08 17:47:36 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-09-08 18:36:56 +0000 devel/rubygem-metrics: Add rubygem-metrics 0.10.2 Capture metrics about code execution in a vendor agnostic way. As the author of many libraries which would benefit from metrics, there are few key priorities: (1) zero overhead if metrics are disabled, minimal overhead if enabled, and (2) a small and opinionated interface with standardised semantics. Features: - Zero-overhead if tracing is disabled and minimal overhead if enabled. - Small opinionated interface with standardised semantics. --- devel/Makefile | 1 + devel/rubygem-metrics/Makefile | 17 +++++++++++++++++ devel/rubygem-metrics/distinfo | 3 +++ devel/rubygem-metrics/pkg-descr | 8 ++++++++ 4 files changed, 29 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 867bca40aef5..b5c7f49c9e4e 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -7371,6 +7371,7 @@ SUBDIR += rubygem-metaid SUBDIR += rubygem-metasm SUBDIR += rubygem-method_source + SUBDIR += rubygem-metrics SUBDIR += rubygem-micromachine SUBDIR += rubygem-middleware SUBDIR += rubygem-mini_histogram diff --git a/devel/rubygem-metrics/Makefile b/devel/rubygem-metrics/Makefile new file mode 100644 index 000000000000..b4ab6dce8adf --- /dev/null +++ b/devel/rubygem-metrics/Makefile @@ -0,0 +1,17 @@ +PORTNAME= metrics +PORTVERSION= 0.10.2 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Application metrics and instrumentation +WWW= https://github.com/socketry/metrics + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/license.md + +USES= gem + +NO_ARCH= yes + +.include diff --git a/devel/rubygem-metrics/distinfo b/devel/rubygem-metrics/distinfo new file mode 100644 index 000000000000..6b01ce903c14 --- /dev/null +++ b/devel/rubygem-metrics/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1725559543 +SHA256 (rubygem/metrics-0.10.2.gem) = 5f03b7b0a81390cf49510359244935335ce655038ffb0dedbc2acf97dce8e9cb +SIZE (rubygem/metrics-0.10.2.gem) = 12288 diff --git a/devel/rubygem-metrics/pkg-descr b/devel/rubygem-metrics/pkg-descr new file mode 100644 index 000000000000..800547a97ba5 --- /dev/null +++ b/devel/rubygem-metrics/pkg-descr @@ -0,0 +1,8 @@ +Capture metrics about code execution in a vendor agnostic way. As the author of +many libraries which would benefit from metrics, there are few key priorities: +(1) zero overhead if metrics are disabled, minimal overhead if enabled, and (2) +a small and opinionated interface with standardised semantics. + +Features: +- Zero-overhead if tracing is disabled and minimal overhead if enabled. +- Small opinionated interface with standardised semantics.