NAME

Mail::Milter::Authentication::Metric::Grafana - Automatically generate Grafana dashboard

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

AUTHORS

Marc Bradshaw <marc@marcbradshaw.net>

COPYRIGHT

Copyright 2017

This library is free software; you may redistribute it and/or modify it under the same terms as Perl itself.