CsvReporter class
A reporter which outputs measurements with a StringSink.
- Inheritance
-
- Object
- ScheduledReporter
- CsvReporter
Constructors
- CsvReporter.new(MetricRegistry registry, Directory directory, {Clock clock = const Clock(), TimeUnit? rateUnit, TimeUnit? durationUnit, MetricFilter? where})
-
factory
Properties
- durationUnit → TimeUnit
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- rateUnit → TimeUnit
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- where → MetricFilter?
-
finalinherited
Methods
-
convertDuration(
num duration) → double -
inherited
-
convertRate(
double rate) → double -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
report(
) → void -
Report the current values of all metrics in the registry.
inherited
-
reportCounter(
DateTime time, String name, Counter counter) → void -
reportGauge(
DateTime time, String name, Gauge gauge) → void -
reportHistogram(
DateTime time, String name, Histogram histogram) → void -
reportMeter(
DateTime time, String name, Meter meter) → void -
reportMetrics(
{Map< String, Gauge> ? gauges, Map<String, Counter> ? counters, Map<String, Histogram> ? histograms, Map<String, Meter> ? meters, Map<String, Timer> ? timers}) → void -
Called periodically by the polling thread. Subclasses should report all the given metrics.
override
-
reportTimer(
DateTime time, String name, Timer timer) → void -
start(
Duration period) → void -
Starts the reporter polling at the given
period
(the amount of time between polls).inherited -
stop(
) → void -
Stops the reporter.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited