JaegerPropagatorTest
extends TestCase
in package
Attributes
- #[CoversClass]
- \OpenTelemetry\Extension\Propagator\Jaeger\JaegerPropagator::class
Table of Contents
Constants
- DEBUG_FLAG = '2'
- SPAN_ID_BASE16 = '18dc27d6fabb2c47'
- SPAN_ID_SHORT = 'deadbef0'
- TRACE_ID_BASE16 = '6bec5956ce56d66eb47802ab1cf6c4a0'
- TRACE_ID_SHORT = '53ce929d0e0e4736'
Properties
- $fields : string
- $propagator : TextMapPropagatorInterface
Methods
- test_extract_debug_context() : void
- test_extract_invalid_span_id() : void
- test_extract_invalid_trace_id() : void
- test_extract_invalid_uber_trace_id() : void
- test_extract_not_sampled_context() : void
- test_extract_nothing() : void
- test_extract_sampled_context() : void
- test_extract_short_span_id() : void
- test_extract_short_trace_id() : void
- test_fields() : void
- test_inject_invalid_context() : void
- test_inject_not_sampled_context() : void
- test_inject_not_sampled_with_debug_context() : void
- test_inject_null_context() : void
- test_inject_sampled_context() : void
- test_inject_sampled_with_debug_context() : void
- setUp() : void
- generateTraceIdHeaderValue() : string
- withSpanContext() : ContextInterface
Constants
DEBUG_FLAG
private
mixed
DEBUG_FLAG
= '2'
SPAN_ID_BASE16
private
mixed
SPAN_ID_BASE16
= '18dc27d6fabb2c47'
SPAN_ID_SHORT
private
mixed
SPAN_ID_SHORT
= 'deadbef0'
TRACE_ID_BASE16
private
mixed
TRACE_ID_BASE16
= '6bec5956ce56d66eb47802ab1cf6c4a0'
TRACE_ID_SHORT
private
mixed
TRACE_ID_SHORT
= '53ce929d0e0e4736'
Properties
$fields
private
string
$fields
$propagator
private
TextMapPropagatorInterface
$propagator
Methods
test_extract_debug_context()
public
test_extract_debug_context() : void
test_extract_invalid_span_id()
public
test_extract_invalid_span_id() : void
test_extract_invalid_trace_id()
public
test_extract_invalid_trace_id() : void
test_extract_invalid_uber_trace_id()
public
test_extract_invalid_uber_trace_id() : void
test_extract_not_sampled_context()
public
test_extract_not_sampled_context() : void
test_extract_nothing()
public
test_extract_nothing() : void
test_extract_sampled_context()
public
test_extract_sampled_context() : void
test_extract_short_span_id()
public
test_extract_short_span_id() : void
test_extract_short_trace_id()
public
test_extract_short_trace_id() : void
test_fields()
public
test_fields() : void
test_inject_invalid_context()
public
test_inject_invalid_context() : void
test_inject_not_sampled_context()
public
test_inject_not_sampled_context() : void
test_inject_not_sampled_with_debug_context()
public
test_inject_not_sampled_with_debug_context() : void
test_inject_null_context()
public
test_inject_null_context() : void
test_inject_sampled_context()
public
test_inject_sampled_context() : void
test_inject_sampled_with_debug_context()
public
test_inject_sampled_with_debug_context() : void
setUp()
protected
setUp() : void
Tags
generateTraceIdHeaderValue()
private
generateTraceIdHeaderValue(string $traceId, string $spanId, string $flag) : string
Parameters
- $traceId : string
- $spanId : string
- $flag : string
Return values
stringwithSpanContext()
private
withSpanContext(SpanContextInterface $spanContext, ContextInterface $context) : ContextInterface
Parameters
- $spanContext : SpanContextInterface
- $context : ContextInterface