Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Metrics::Any::Adapter:User(Contributed Perl DocumMetrics::Any::Adapter::Tee(3)

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

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

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

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

AUTHOR
       Paul Evans <leonerd@leonerd.org.uk>

perl v5.32.1			  2021-02-28	 Metrics::Any::Adapter::Tee(3)

NAME | SYNOPSIS | DESCRIPTION | ARGUMENTS | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Metrics::Any::Adapter::Tee&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help