BSD Ports

devel/p5-Metrics-Any 0.10 FreeBSD

Abstract collection of monitoring metrics

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
41.9 KiB, 107.4 KiB installed

Description

Metrics::Any provides a central location for modules to report monitoring metrics, such as counters of the number of times interesting events have happened, and programs to collect up and send those metrics to monitoring services.

Inspired by Log::Any, this module splits the overall problem into two sides. Modules wishing to provide metrics for monitoring purposes can use the use Metrics::Any statement to obtain a collector into which they can report metric events. By default this collector doesn't actually do anything, so modules can easily use it without adding extra specific dependencies for specific reporting.

A program using one or more such modules can apply a different policy and request a particular adapter implementation in order to actually report these metrics to some external system, by using the use Metrics::Any::Adapter statement.

This separation of concerns allows module authors to write code which will report metrics without needing to care about the exact mechanism of that reporting (as well as to write code which does not itself depend on the code required to perform that reporting).

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Metrics-Any0.10
NetBSDdevel/p5-Metrics-Any0.10nb3
DragonFlydevel/p5-Metrics-Any0.10
HardenedBSDdevel/p5-Metrics-Any0.10
GhostBSDdevel/p5-Metrics-Any0.10

Install

Binary package:

pkg install p5-Metrics-Any

From the ports tree:

cd /usr/ports/devel/p5-Metrics-Any/ && make install clean

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

RUN_DEPENDS=	p5-Metrics-Any>0:devel/p5-Metrics-Any

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.100.100.080.100.10
FreeBSD:14:quarterly0.100.10n/a0.100.10
FreeBSD:15:latest0.100.10n/a0.100.10
FreeBSD:15:quarterly0.100.10n/an/an/a
FreeBSD:16:latest0.100.10n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Test 1

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

Build dependencies 2
Run dependencies 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 18
  • %%SITE_PERL%%/Metrics/Any.pm
  • %%SITE_PERL%%/Metrics/Any/Adapter.pm
  • %%SITE_PERL%%/Metrics/Any/Adapter/File.pm
  • %%SITE_PERL%%/Metrics/Any/Adapter/Null.pm
  • %%SITE_PERL%%/Metrics/Any/Adapter/Stderr.pm
  • %%SITE_PERL%%/Metrics/Any/Adapter/Tee.pm
  • %%SITE_PERL%%/Metrics/Any/Adapter/Test.pm
  • %%SITE_PERL%%/Metrics/Any/AdapterBase/Stored.pm
  • %%SITE_PERL%%/Metrics/Any/Collector.pm
  • %%PERL5_MAN3%%/Metrics::Any.3.gz
  • %%PERL5_MAN3%%/Metrics::Any::Adapter.3.gz
  • %%PERL5_MAN3%%/Metrics::Any::Adapter::File.3.gz
  • %%PERL5_MAN3%%/Metrics::Any::Adapter::Null.3.gz
  • %%PERL5_MAN3%%/Metrics::Any::Adapter::Stderr.3.gz
  • %%PERL5_MAN3%%/Metrics::Any::Adapter::Tee.3.gz
  • %%PERL5_MAN3%%/Metrics::Any::Adapter::Test.3.gz
  • %%PERL5_MAN3%%/Metrics::Any::AdapterBase::Stored.3.gz
  • %%PERL5_MAN3%%/Metrics::Any::Collector.3.gz
distinfo 1
FileSizeSHA256
Metrics-Any-0.10.tar.gz33586a90eadf9c8af24a516bb9a1b67061f641853f90b8fee9ffc24d2bb9720e8b99b
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.