perl-Metrics-Any - Abstract collection of monitoring metrics
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).
- Developed at devel:languages:perl
-
2
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory/perl-Metrics-Any && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
Metrics-Any-0.09.tar.gz | 0000033462 32.7 KB | |
cpanspec.yml | 0000000923 923 Bytes | |
perl-Metrics-Any.changes | 0000001261 1.23 KB | |
perl-Metrics-Any.spec | 0000002822 2.76 KB |
Comments 0