datadog

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2025 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package datadog contains logic for working with Datadog.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// Enabled enables sending metrics to Datadog.
	Enabled bool

	// Env is the Datadog environment.
	Env string

	// Service is the Datadog service name.
	Service string

	// ServiceVersion is the Datadog service version.
	ServiceVersion string
}

Config contains configuration for working with Datadog.

func NewConfig

func NewConfig(cfg config.Config) *Config

New creates an instance of Datadog configuration.

Jump to

Keyboard shortcuts

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