mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
net-mgmt/p5-Prometheus-Tiny: Add new port
Prometheus::Tiny is a minimal metrics client for the Prometheus time-series database. Approved by: hrs (mentor)
This commit is contained in:
parent
647eff0a34
commit
dc54c23abc
@ -266,6 +266,7 @@
|
||||
SUBDIR += p5-NetAddr-IP-Lite
|
||||
SUBDIR += p5-NetApp
|
||||
SUBDIR += p5-POE-Component-SNMP
|
||||
SUBDIR += p5-Prometheus-Tiny
|
||||
SUBDIR += p5-RDR-Collector
|
||||
SUBDIR += p5-SNMP-Info
|
||||
SUBDIR += p5-SNMP-MIB-Compiler
|
||||
|
28
net-mgmt/p5-Prometheus-Tiny/Makefile
Normal file
28
net-mgmt/p5-Prometheus-Tiny/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
PORTNAME= Prometheus-Tiny
|
||||
PORTVERSION= 0.011
|
||||
CATEGORIES= net-mgmt perl5
|
||||
MASTER_SITES= CPAN
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= nork@FreeBSD.org
|
||||
COMMENT= Tiny Prometheus client
|
||||
WWW= https://metacpan.org/release/Prometheus-Tiny
|
||||
|
||||
LICENSE= ART10 GPLv1+
|
||||
LICENSE_COMB= dual
|
||||
|
||||
#TEST_DEPENDS= p5-HTTP-Request-Common>0:p5-HTTP-Request-Common \
|
||||
# p5-Plack-Test>0:p5-Plack-Test \
|
||||
# p5-Test-Exception>0:devel/p5-Test-Exception \
|
||||
# p5-Test-Warn>0:devel/p5-Test-Warn
|
||||
|
||||
USES= perl5
|
||||
USE_PERL5= configure
|
||||
|
||||
NO_ARCH= yes
|
||||
NO_TEST= yes # not work by a lack of some ports #
|
||||
|
||||
PLIST_FILES= ${SITE_MAN3_REL}/Prometheus::Tiny.3.gz \
|
||||
${SITE_PERL_REL}/Prometheus/Tiny.pm
|
||||
|
||||
.include <bsd.port.mk>
|
3
net-mgmt/p5-Prometheus-Tiny/distinfo
Normal file
3
net-mgmt/p5-Prometheus-Tiny/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1708678167
|
||||
SHA256 (Prometheus-Tiny-0.011.tar.gz) = 8db1480f3c89eb86d414cf5f47feed8df3112b38c463cb8f65b4c064e20b1e13
|
||||
SIZE (Prometheus-Tiny-0.011.tar.gz) = 18129
|
13
net-mgmt/p5-Prometheus-Tiny/pkg-descr
Normal file
13
net-mgmt/p5-Prometheus-Tiny/pkg-descr
Normal file
@ -0,0 +1,13 @@
|
||||
Prometheus::Tiny is a minimal metrics client for the Prometheus
|
||||
time-series database.
|
||||
|
||||
It does the following things differently to Net::Prometheus:
|
||||
|
||||
- No setup. You don't need to pre-declare metrics to get something useful.
|
||||
- Labels are passed in a hash. Positional parameters get awkward.
|
||||
- No inbuilt collectors, PSGI apps, etc. Just the metrics.
|
||||
- Doesn't know anything about different metric types. You get what you ask for.
|
||||
|
||||
These could all be pros or cons, depending on what you need. For me,
|
||||
I needed a compact base that I could back on a shared memory region.
|
||||
See Prometheus::Tiny::Shared for that!
|
Loading…
Reference in New Issue
Block a user