Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 351 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 351 Bytes

Metrics

Provides statsd metrics sending

Manually create a client

client, _ := metrics.GetStatsd(StatdClientConf{host,port,namespace,tags})
client.Incr("metric", []string{}, 1)

Create a client using environment variables. see above

client, _ := metrics.GetStatsdFromEnv()
client.Incr("metric", []string{}, 1)