datadog

package
v0.0.0-...-c50d277 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Datadog

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

Datadog provides the ability to publish metrics to Datadog.

func New

func New(log *log.Logger, apiKey string, host string) *Datadog

New initializes Datadog access for publishing metrics.

func (*Datadog) Publish

func (d *Datadog) Publish(data map[string]interface{})

Publish handles the processing of metrics for deliver to the DataDog.

Jump to

Keyboard shortcuts

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