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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Metrics-Any | 0.10 |
| NetBSD | devel/p5-Metrics-Any | 0.10nb3 |
| DragonFly | devel/p5-Metrics-Any | 0.10 |
| HardenedBSD | devel/p5-Metrics-Any | 0.10 |
| GhostBSD | devel/p5-Metrics-Any | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.10 | 0.10 | 0.08 | 0.10 | 0.10 |
| FreeBSD:14:quarterly | 0.10 | 0.10 | n/a | 0.10 | 0.10 |
| FreeBSD:15:latest | 0.10 | 0.10 | n/a | 0.10 | 0.10 |
| FreeBSD:15:quarterly | 0.10 | 0.10 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.10 | 0.10 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Test 1
p5-Test-Simple>=1.302200: devel/p5-Test-Simple
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
| File | Size | SHA256 |
|---|---|---|
| Metrics-Any-0.10.tar.gz | 33586 | a90eadf9c8af24a516bb9a1b67061f641853f90b8fee9ffc24d2bb9720e8b99b |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.