Skip to content

averyanov/pulse-meter-perl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

pulse-meter-perl

Pulse-meter minimal port to Perl

Basic usage

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.

About

Pulse-meter minimal port to Perl

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages