MCPcopy Create free account
hub / github.com/zalando/skipper / TestSetTagWithEmptySpan

Function TestSetTagWithEmptySpan

proxy/tracing_test.go:809–817  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

807}
808
809func TestSetTagWithEmptySpan(t *testing.T) {
810 tracer := tracingtest.NewTracer()
811 tracing := newProxyTracing(&OpenTracingParams{
812 Tracer: tracer,
813 })
814
815 // should not panic
816 tracing.setTag(nil, "test", "val")
817}
818
819// TestOTelBaggagePredicateWithIncomingHeader verifies that the OTelBaggage predicate
820// can match baggage values that arrive via the W3C baggage HTTP header.

Callers

nothing calls this directly

Calls 3

NewTracerFunction · 0.92
newProxyTracingFunction · 0.85
setTagMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…