View on
MetaCPAN
Averyanov Ilya > Net-PulseMeter-0.07 > Net::PulseMeter

Download:
Net-PulseMeter-0.07.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.07   Source  

NAME ^

PulseMeter - Perl implementation of pulse-meter gem

SYNOPSIS ^

  use Redis;
  use Net::PulseMeter::Sensor::Base;
  use Net::PulseMeter::Sensor::Timelined::Counter;

  my $redis = Redis->new;
  Net::PulseMeter::Sensor::Base->redis($redis);

  my $sensor = Net::PulseMeter::Sensor::Timelined::Counter->new(
    "sensor_name",
    raw_data_ttl => 3600,
    interval => 10
  );
  $sensor->event(10);

DESCRIPTION ^

This module is a minimal implementation of pulse-meter gem client. You can read more about pulse-meter concepts and features in gem documentation.

This module's main purpose is to allow send data to static or timelined sensors from perl client. Note that it just sends data, nothing more: no summarization and visualization is provided.

Basic usage is described in section above. Other sensors are initialized in the same way similar to their ruby counterparts.

AUTHOR ^

    Sergey Averyanov, Ilya Averyanov
    averyanov@gmail.com, ilya.averyanov@gmail.com

COPYRIGHT ^

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

The full text of the license can be found in the LICENSE file included with this module.

syntax highlighting: