librato 0.0.1 copy "librato: ^0.0.1" to clipboard
librato: ^0.0.1 copied to clipboard

outdatedDart 1 only

A library to upload metrics data to librato.com.

example/example.dart

// Copyright (c) 2015, Devon Carew. All rights reserved. Use of this source code
// is governed by a BSD-style license that can be found in the LICENSE file.

library librato.example;

import 'package:librato/librato.dart';

void main(List<String> args) {
  if (args.length == 3) {
    Librato librato = new Librato(args[0], args[1]);
    librato.postStats(
        {'startupTime': num.parse(args[2])}, groupName: 'example');
  } else {
    print('usage: librato <username> <token> <stat-to-record>');
  }
}
0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A library to upload metrics data to librato.com.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

crypto

More

Packages that depend on librato