datadog

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultHostname = "127.0.0.1:8125"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DatadogBackend

type DatadogBackend struct {
	// contains filtered or unexported fields
}

func New

func New(hostname, namespace string, tags ...string) (*DatadogBackend, error)

func (*DatadogBackend) Counter

func (t *DatadogBackend) Counter(key string, count int64, tags ...string)

func (*DatadogBackend) Timer

func (t *DatadogBackend) Timer(key string, dur time.Duration, tags ...string)

Jump to

Keyboard shortcuts

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