BSD Ports

net-mgmt/p5-Prometheus-Tiny 0.011 FreeBSD

Tiny Prometheus client

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
net-mgmt, perl5
Package size
11.1 KiB, 20.8 KiB installed

Description

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!

In the other systems

SystemPortVersion
FreeBSDnet-mgmt/p5-Prometheus-Tiny0.011
DragonFlynet-mgmt/p5-Prometheus-Tiny0.011
HardenedBSDnet-mgmt/p5-Prometheus-Tiny0.011
GhostBSDnet-mgmt/p5-Prometheus-Tiny0.011

Install

Binary package:

pkg install p5-Prometheus-Tiny

From the ports tree:

cd /usr/ports/net-mgmt/p5-Prometheus-Tiny/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Prometheus-Tiny>0:net-mgmt/p5-Prometheus-Tiny

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.0110.011-0.0110.011
FreeBSD:14:quarterly0.0110.011n/a0.0110.011
FreeBSD:15:latest0.0110.011n/a0.0110.011
FreeBSD:15:quarterly0.0110.011n/an/an/a
FreeBSD:16:latest0.0110.011n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 1
Run dependencies 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

distinfo 1
FileSizeSHA256
Prometheus-Tiny-0.011.tar.gz181298db1480f3c89eb86d414cf5f47feed8df3112b38c463cb8f65b4c064e20b1e13
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.