package
1.0.0
Repository: https://github.com/0angelic0/dd-trace-go.git
Documentation: pkg.go.dev

# Functions

NewHTTPServerTest creates a new test for HTTP server naming schema.
NewKafkaTest creates a new test for Kafka naming schema.
NewMongoDBTest creates a new test for MongoDB naming schema.
NewRedisTest creates a new test for Redis naming schema.
NewServiceNameTest generates a new test for span service names using the naming schema versioning.
NewSpanNameTest returns a new test that runs the provided assertion functions for each schema version.
WithServiceNameAssertions allows you to override the service name assertions for a specific naming schema version.

# Constants

TestDDService is a constant used in the test returned by NewServiceNameTest to set the value of DD_SERVICE.
TestServiceOverride is a constant used in the test returned by NewServiceNameTest to set the value of the integration's WithServiceName option.

# Structs

ServiceNameAssertions contains assertions for different test cases used inside the generated test from NewServiceNameTest.

# Type aliases

AssertSpansFn allows to make assertions on the generated spans.
GenSpansFn is used across different functions from this package to generate spans.
Option is a type used to customize behavior of functions in this package.