GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Metrics::Any::Adapter::Tee(3) User Contributed Perl Documentation Metrics::Any::Adapter::Tee(3)

"Metrics::Any::Adapter::Tee" - send metrics to multiple adapters

   use Metrics::Any::Adapter 'Tee',
      "Prometheus",
      [ "File", path => "metrics.log" ],
      "Statsd";

This Metrics::Any adapter type acts as a container for multiple other adapters, allowing an application to report its metrics via multiple different mechanisms at the same time.

Each value passed in the import list should either be an adapter type string or an array reference containing the name and additional arguments.

Adapters specified by string are split in the same way as Metrics::Any::Adapter splits the "METRICS_ANY_ADAPTER" environment variable; namely by parsing optional arguments after a colon, separated by commas or equals signs. E.g.

   "File:path=metrics.log"

would be equivalent to the version given in the synopsis above.

Paul Evans <leonerd@leonerd.org.uk>
2022-04-07 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.