Metrics::Any::Adapter::Stderr(3pm)

Metrics::Any::Adapter::Stderr3pm

Write metrics to "stderr"

Usage

   use Metrics::Any::Adapter 'Stderr';

This Metrics::Any adapter type writes observations of metric values to the standard error stream. This may be helpful while debugging or otherwise testing code that reports metrics.

For example, by setting the "METRICS_ANY_ADAPTER" environment variable to configure the adapter, a metric log will be written to the terminal as a side-effect of running a unit test:

   $ METRICS_ANY_ADAPTER=Stderr perl -Mblib t/01test.t

This adapter type does not support batch mode reporting.

Releases

3 releases since Debian 11 (Bullseye); the text changed 2 times.

  1. 11
  2. 12
  3. 13

Author

Paul Evans <[email protected]>

From libmetrics-any-perl 0.10-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.