metrics 0.2.2 copy "metrics: ^0.2.2" to clipboard
metrics: ^0.2.2 copied to clipboard

Metrics provides a powerful toolkit of ways to measure the behavior of critical components in your production environment.

Metrics #

Build Status

This project is a port of the Metrics Java library.

Setting Up #

Add the metrics dependency to your pubspec.yaml.

Main components #

The registry #

It contains a set of metrics.

final registry = new MetricRegistry();

The metrics #

There are several kind of metrics:

The reporters #

They allows to export the collected datas. Currently there are :

  • a ConsoleReporter that will use the print method to display the metrics.
  • a CsvReporter that will write the metrics in cvs files under a provided directory.
  • a LogReporter that will use a Logger from the logging package.
  • a GraphiteReporter that will send the metrics to graphite.

License #

Apache 2.0

2
likes
130
points
176
downloads

Publisher

unverified uploader

Weekly Downloads

Metrics provides a powerful toolkit of ways to measure the behavior of critical components in your production environment.

Repository (GitHub)

Documentation

API reference

License

unknown (license)

Dependencies

clock, logging, meta, path

More

Packages that depend on metrics