The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Measure::Everything - Log::Any for Stats

VERSION

version 1.000

SYNOPSIS

In a module where you want to count some stats:

  package Foo;
  use Measure::Everything qw($stats);

  $stats->write('jigawats', 1.21, { source=>'Plutonium', location=>'Hill Valley' });

In your application:

  use Foo;
  use Measure::Everything::Adapter;
  Measure::Everything::Adapter->set('InfluxDB::File');

DESCRIPTION

TODO

  • tests

  • docs

  • Measure::Everything::Adapter::Memory

  • Measure::Everything::Adapter::Test

  • move Measure::Everything::Adapter::InfluxDB::* into seperate distribution(s)

SEE ALSO

The basic concept is stolen from <Log::Any|https://metacpan.org/pod/Log::Any>. If you have troubles understanding this set of modules, please read the excellent Log::Any docs, and substitue "logging" with "writing stats".

For more information on measuring & stats, and the obvious inspiration for this module's name, read the interesting article Measure Anything, Measure Everything by Ian Malpass from Etsy.

THANKS

Thanks to

  • validad.com for funding the development of this code.

AUTHOR

Thomas Klausner <domm@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by Thomas Klausner.

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