dogstatsd

package
v0.0.0-...-c673675 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2017 License: MIT Imports: 7 Imported by: 6

Documentation

Overview

Package dogstatsd implement Datadog extended StatsD protocol for github.com/rs/xstats

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(w io.Writer, reportInterval time.Duration) xstats.Sender

New creates a datadog statsd sender that emits observations in the statsd protocol to the passed writer. Observations are buffered for the report interval or until the buffer exceeds a max packet size, whichever comes first.

func NewMaxPacket

func NewMaxPacket(w io.Writer, reportInterval time.Duration, maxPacketLen int) xstats.Sender

NewMaxPacket creates a datadog statsd sender that emits observations in the statsd protocol to the passed writer. Observations are buffered for the report interval or until the buffer exceeds the max packet size, whichever comes first.

Types

This section is empty.

Jump to

Keyboard shortcuts

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