freebsd-ports/devel/p5-Metrics-Any/pkg-descr
Stefan Eßer fb16dfecae Remove WWW entries moved into port Makefiles
Commit b7f05445c0 has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2022-09-07 23:58:51 +02:00

20 lines
1.1 KiB
Text

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).