1Metrics::Any::Adapter::UTseeer(3C)ontributed Perl DocumeMnettartiicosn::Any::Adapter::Tee(3)
2
3
4

NAME

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

SYNOPSIS

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

DESCRIPTION

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

ARGUMENTS

20       Each value passed in the import list should either be an adapter type
21       string or an array reference containing the name and additional
22       arguments.
23
24       Adapters specified by string are split in the same way as
25       Metrics::Any::Adapter splits the "METRICS_ANY_ADAPTER" environment
26       variable; namely by parsing optional arguments after a colon, separated
27       by commas or equals signs. E.g.
28
29          "File:path=metrics.log"
30
31       would be equivalent to the version given in the synopsis above.
32

AUTHOR

34       Paul Evans <leonerd@leonerd.org.uk>
35
36
37
38perl v5.34.0                      2022-01-21     Metrics::Any::Adapter::Tee(3)
Impressum