metrics 0.0.1 metrics: ^0.0.1 copied to clipboard
Metrics provides a powerful toolkit of ways to measure the behavior of critical components in your production environment.
Metrics #
This project is a port of the Metrics Java library.
Setting Up Maven #
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 Gauges.
- the Counters.
- the Histograms.
- the Meters.
- the Timers.
The reporters #
They allows to export the collected datas. Currently there are a ConsoleReporter
and a CsvReporter
.
License #
Apache 2.0