logStatistic

On this page
Back to index

Summary

Prints (emits) a statistics value to StatsD.
type
Stringrequired
The type of statistic to emit.
name
Stringrequired
The name of the statistic to emit.
value
Integerrequired
The value of the statistic to emit.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.logStatistic( type: "test-type", name: "test-name", value: "test-value" )