datadog

package
v0.0.0-...-c64bf0e Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 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