Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // TestMetrics metrics for tests. TestMetrics = newMetricsWithAttributeMap(testAttributes) // TestTraces traces for tests. TestTraces = newTracesWithAttributeMap(testAttributes) )
Functions ¶
func NewAttributeMap ¶
NewAttributeMap creates a new attribute map (string only) from a Go map
func ValidateAPIKeyEndpointInvalid ¶ added in v0.51.0
func ValidateAPIKeyEndpointInvalid() (string, http.HandlerFunc)
ValidateAPIKeyEndpointInvalid returns a handler function that returns an invalid API key response
Types ¶
type DatadogServer ¶
func DatadogServerMock ¶
func DatadogServerMock(overwriteHandlerFuncs ...OverwriteHandleFunc) *DatadogServer
DatadogServerMock mocks a Datadog backend server
type OverwriteHandleFunc ¶ added in v0.51.0
type OverwriteHandleFunc func() (string, http.HandlerFunc)
OverwriteHandleFuncs allows to overwrite the default handler functions
Click to show internal directories.
Click to hide internal directories.