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

NAME

XAS::Collector::Output::Socket::OpenTSDB - A class to interact with OpenTSDB

SYNOPSIS

  use XAS::Collector::Output::Socket::OpenTSDB;

  my $output = XAS::Collector::Output::Socket::OpenTSDB->new(
      -alias => 'output-opentsdb',
  );

DESCRIPTION

This module will open and maintain a connection to a OpenTSDB server.

METHODS

new

This module inherits from XAS::Collector::Output::Socket::Base and takes the same parameters.

PUBLIC EVENTS

store_data(OBJECT, ARG0, ARG1, ARG2)

This event will trigger the sending of packets to a OpenTSDB instance.

OBJECT

A handle to the current object.

ARG0

The data to be stored within the database.

ARG1

The acknowledgement to send back to the message queue server.

ARG2

The input to return the ack too.

SEE ALSO

XAS::Collector::Output::Socket::Base
XAS::Collector::Output::Socket::Logstash
XAS::Collector
XAS

AUTHOR

Kevin L. Esteb, <kevin@kesteb.us>

COPYRIGHT AND LICENSE

Copyright (c) 2012-2015 Kevin L. Esteb

This is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0. For details, see the full text of the license at http://www.perlfoundation.org/artistic_license_2_0.