class Statsd::Client

Included Modules

Defined in:

statsd/client.cr

Constructors

Instance Method Summary

Instance methods inherited from module Statsd::Methods

decrement(metric_name, sample_rate = nil, tags = nil) decrement, gauge(metric_name, value, tags = nil) gauge, histogram(metric_name, value, tags = nil) histogram, increment(metric_name, sample_rate = nil, tags = nil) increment, set(metric_name, value, tags = nil) set, time(metric_name, tags = nil, &) time, timing(metric_name, ms, tags = nil) timing

Constructor Detail

def self.new(host : String = "127.0.0.1", port : Int32 = 8125) #

[View source]

Instance Method Detail

def host : String #

[View source]
def host=(host) #

StatsD host. Defaults to 127.0.0.1.


[View source]
def port : Int32 #

[View source]
def port=(port) #

StatsD port. Defaults to 8125.


[View source]