The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Mail::Milter::Authentication::Metric::Grafana

VERSION

version 2.20180608

DESCRIPTION

Automatically generate a grafana dashboard for installed handlers

CONSTRUCTOR

new()

my $object = Mail::Milter::Authentication::Metric::Grafana->new();

Creates a new object.

METHODS

get_Base()

Returns the base json for the dashboard

get_RowThroughput()

Returns the Row json for THroughput

get_RowProcesses()

Returns the Row json for Processes

get_RowProcessingTime()

Returns the Row json for Processing TIme

get_RowErrors()

Returns the Row json for Errors

get_RowUptime()

Returns the Row json for Uptime

get_json ( $file )

Retrieve json data from external file

get_dashboard( $server )

Returns the json for the grafana dashboard

$server is the current handler object

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.