A Dart library to upload metrics data to librato.com.
To use this library, instantiate an instance of the Librato
class and call its
postStats
method to post a set of statistics.
You need to provide a Librato username and access token, either explicitly in
the constructor, or implicitly via environment variables (LIBRATO_USER
and
LIBRATO_TOKEN
).
Librato librato = new Librato.fromEnvVars();
List<LibratoStat> stats = [
new LibratoStat('benchmarkTime', 130);
new LibratoStat('compiledAppSize', 230000);
];
librato.postStats(stats);
Please file feature requests and bugs at the issue tracker.
This is not an official Google project.