1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

net-mgmt/p5-Prometheus-Tiny-Shared: Add new port

Prometheus::Tiny::Shared is a wrapper around Prometheus::Tiny that instead
of storing metrics data in a hashtable, stores them in a shared datastore.

Approved by:	hrs (mentor)
This commit is contained in:
Norikatsu Shigemura 2024-03-08 22:30:26 +09:00
parent a24e47c4b6
commit 6c89c8b436
No known key found for this signature in database
GPG Key ID: 2D010D1315CC541F
4 changed files with 42 additions and 0 deletions

View File

@ -267,6 +267,7 @@
SUBDIR += p5-NetApp
SUBDIR += p5-POE-Component-SNMP
SUBDIR += p5-Prometheus-Tiny
SUBDIR += p5-Prometheus-Tiny-Shared
SUBDIR += p5-RDR-Collector
SUBDIR += p5-SNMP-Info
SUBDIR += p5-SNMP-MIB-Compiler

View File

@ -0,0 +1,35 @@
PORTNAME= Prometheus-Tiny-Shared
PORTVERSION= 0.027
CATEGORIES= net-mgmt perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= nork@FreeBSD.org
COMMENT= Tiny Prometheus client with a shared database behind it
WWW= https://metacpan.org/release/Prometheus-Tiny-Shared
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
RUN_DEPENDS= p5-Hash-SharedMem>0:devel/p5-Hash-SharedMem \
p5-JSON-XS>0:converters/p5-JSON-XS \
p5-Prometheus-Tiny>=0.011:net-mgmt/p5-Prometheus-Tiny
TEST_DEPENDS= p5-Data-Random>0:devel/p5-Data-Random \
p5-Test-Differences>0:devel/p5-Test-Differences \
p5-Test-Exception>0:devel/p5-Test-Exception \
p5-Test-Warn>0:devel/p5-Test-Warn
# p5-HTTP-Request-Common>0:p5-HTTP-Request-Common \
# p5-Plack-Test>0:p5-Plack-Test \
USES= perl5
USE_PERL5= configure
TEST_ENV= # RELEASE_TESTING=1 #: release test not work #
NO_ARCH= yes
NO_TEST= yes # almost work, but not by a lack of some ports #
PLIST_FILES= ${SITE_MAN3_REL}/Prometheus::Tiny::Shared.3.gz \
${SITE_PERL_REL}/Prometheus/Tiny/Shared.pm
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1708673536
SHA256 (Prometheus-Tiny-Shared-0.027.tar.gz) = 7a050baa18ca7c0d20b288a1d4bd2727713a94583f426b249f95dc8d40edcbd1
SIZE (Prometheus-Tiny-Shared-0.027.tar.gz) = 18594

View File

@ -0,0 +1,3 @@
Prometheus::Tiny::Shared is a wrapper around Prometheus::Tiny that instead
of storing metrics data in a hashtable, stores them in a shared datastore.
This lets you keep a single set of metrics in a multithreaded app.