internal

package
v2.9.3 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DatadogEnvironment is the environment variable key determining the Datadog Environment to use.
	DatadogEnvironment = "DD_ENV"
	// DatadogService is the environment variable key for the name of the current service.
	DatadogService = "DD_SERVICE"
	// DatadogVersion is the environment variable key for the version of the current service.
	DatadogVersion = "DD_VERSION"
)

Variables

This section is empty.

Functions

func IsDatadogConfigured added in v2.3.0

func IsDatadogConfigured() bool

IsDatadogConfigured checks some common environment-variables to determine if the service is configured to use Datadog.

Types

This section is empty.

Directories

Path Synopsis
generated
mocks/DataDog/datadog-go/v5/statsd
Code generated by MockGen.
Code generated by MockGen.
mocks/labstack/echo/v4
Code generated by MockGen.
Code generated by MockGen.
mocks/metric
Code generated by MockGen.
Code generated by MockGen.

Jump to

Keyboard shortcuts

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