NAME
Linux::GetPidstat::Writer::Mackerel - Write pidstat's results to mackerel
SYNOPSIS
use Linux::GetPidstat::Writer::Mackerel;
my $instance = Linux::GetPidstat::Writer::Mackerel->new(
mackerel_metric_type => 'service',
mackerel_api_key => 'api_key',
mackerel_service_name => 'service_name',
now => $t,
dry_run => $self->{dry_run},
);
$instance->output('backup_mysql', 'cpu', '21.20');