statsd

Synopsys

statsd {
}

Available settings

Setting Type Info Default value
host string ""
port int 0
protocol string ""
sender string ""
count hash {}
decrement array []
gauge hash {}
increment array []
namespace string ""
sample_rate float32 ?
set hash {}
timing hash {}

Details

host

  • Value type is string
  • Default value is ""
  • The address of the statsd server.

    port

  • Value type is int
  • Default value is 0
  • The port to connect to on your statsd server.

    protocol

  • Value type is string
  • Default value is ""
  • sender

  • Value type is string
  • Default value is ""
  • The name of the sender. Dots will be replaced with underscores.

    count

  • Value type is hash
  • Default value is {}
  • A count metric. metric_name => count as hash

    decrement

  • Value type is array
  • Default value is []
  • A decrement metric. Metric names as array.

    gauge

  • Value type is hash
  • Default value is {}
  • A gauge metric. metric_name => gauge as hash.

    increment

  • Value type is array
  • Default value is []
  • An increment metric. Metric names as array.

    namespace

  • Value type is string
  • Default value is ""
  • The statsd namespace to use for this metric.

    sample_rate

  • Value type is float32
  • Default value is ?
  • The sample rate for the metric.

    set

  • Value type is hash
  • Default value is {}
  • A set metric. metric_name => “string” to append as hash

    timing

  • Value type is hash
  • Default value is {}
  • A timing metric. metric_name => duration as hash

    Full configuration blueprint

    Expand me...