datadog

package
v1.21.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2021 License: Unlicense Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(lc fx.Lifecycle, cfg *Config) error

Register for datadog.

Types

type Config added in v1.19.0

type Config struct {
	Name string `envconfig:"SERVICE_NAME" required:"true"`
	Host string `envconfig:"DATADOG_TRACE_HOST" required:"true" default:"localhost:8126"`
}

Config for datadog.

func NewConfig added in v1.19.0

func NewConfig() (*Config, error)

NewConfig for datadog.

Jump to

Keyboard shortcuts

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