logStatistic

On this page
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
Stringrequired
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`