statsd

package
v0.6.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2019 License: Apache-2.0, Apache-2.0 Imports: 7 Imported by: 0

README

STATSD

Synopsys

SETTING TYPE REQUIRED DEFAULT VALUE
host string false ""
port int false 0
protocol string false ""
sender string false ""
count hash false {}
decrement array false []
gauge hash false {}
increment array false []
namespace string false ""
sample_rate float32 false ?
set hash false {}
timing hash false {}

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

Configuration blueprint

statsd{
	host => ""
	port => 123
	protocol => ""
	sender => ""
	count => {}
	decrement => []
	gauge => {}
	increment => []
	namespace => ""
	sample_rate => float32
	set => {}
	timing => {}
}

Documentation

Overview

Code generated by "bitfanDoc "; DO NOT EDIT

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() processors.Processor

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL