datadog

package
v0.0.0-...-ab07b4f Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: Apache-2.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]any)

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