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

NAME

Net::Graphite - Interface to Graphite

SYNOPSIS

  use Net::Graphite;
  my $graphite = Net::Graphite->new(
      host => '127.0.0.1',   # default
      port => 2003,          # default
      path => 'foo.bar.baz', # optional
      trace => 0,            # copy output to STDERR if true
      proto => 'tcp',        # default (can be 'udp')
      timeout => 1,          # default
  );
  $graphite->send(6);        # default time is "now"

 OR

  my $graphite = Net::Graphite->new(
      host => '127.0.0.1',   # default
      port => 2003,          # default
      fire_and_forget => 1,  # if I can't send, I don't care!
  );
  $graphite->send(
      path => 'foo.bar.baz',
      value => 6,
      time => time(),
  );

DESCRIPTION

Interface to Graphite which doesn't depend on AnyEvent.

SEE ALSO

AnyEvent::Graphite

http://graphite.wikidot.com/

AUTHOR

Scott Lanning <slanning@cpan.org>