Mail::Milter::Authentication::Metric::Grafana(3p)

NAME
Mail::Milter::Authentication::Metric::Grafana - Class for Grafana dashboards

VERSION
version 3.20240701

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) 2020 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.