Documentation ¶
Index ¶
- func DiscardLogger() tracer.Logger
- func SetGlobalAnalyticsRate(t *testing.T, val float64)
- func SetGlobalDogstatsdAddr(t *testing.T, val string)
- func SetGlobalHeaderTags(t *testing.T, headers ...string)
- func SetGlobalServiceName(t *testing.T, val string)
- func SetPropagatingTag(t testing.TB, ctx *tracer.SpanContext, k, v string)
- func StartAppSec(t *testing.T)
- func StartAppSecBench(b *testing.B)
- type MockStatsdClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiscardLogger ¶
func SetGlobalAnalyticsRate ¶
func SetGlobalDogstatsdAddr ¶
func SetGlobalHeaderTags ¶
func SetGlobalServiceName ¶
func SetPropagatingTag ¶
func SetPropagatingTag(t testing.TB, ctx *tracer.SpanContext, k, v string)
SetPropagatingTag sets a tag on the given span context. It assumes it comes from a span, so it has a trace attached to it.
func StartAppSec ¶
func StartAppSecBench ¶
Types ¶
type MockStatsdClient ¶
type MockStatsdClient = statsdtest.TestStatsdClient
func NewMockStatsdClient ¶
func NewMockStatsdClient() *MockStatsdClient
Click to show internal directories.
Click to hide internal directories.