datadog

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package datadog provides support for publishing metrics to DD.

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