logStatistic

Back to index

Summary

Prints (emits) a statistics value to StatsD.
name
Stringrequired
The name of the statistic to emit.
type
Stringrequired
The type of statistic to emit.
Possible values: "counter", "gauge", "timer"
value
Longrequired
The value of the statistic to emit.

Usage

Perl

$cmdr->logStatistic( "test-name", # name "test-type", # type "test-value" # value );

ectool

ectool logStatistic \ "test-name" `# name` \ "test-type" `# type` \ "test-value" `# value`

Examples

Perl

$cmdr->logStatistic("Interoperability performance test cases", "counters", 7);

ectool

ectool logStatistic "Interoperability performance test cases" "counters" 7