NAME
Mail::Milter::Authentication::Metric
VERSION
version 2.20180318
DESCRIPTION
Handle metrics collection and production for prometheus
CONSTRUCTOR
METHODS
- count( $id, $labels, $server )
-
Increment the metric for the given counter Called from the base handler, do not call directly. $server is the current handler object
- register_metrics( $hash )
-
Register a new set of metric types and help texts. Called from the master process in the setup phase.
- master_handler( $request, $socket, $server )
-
Handle a request for metrics from a child in the master process.
- child_handler( $server )
-
Handle a request for metrics in a child process.
AUTHOR
Marc Bradshaw <marc@marcbradshaw.net>
COPYRIGHT AND LICENSE
This software is copyright (c) 2018 by Marc Bradshaw.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.