OpenTelemetry PHP

ZipkinSpanConverterTest extends TestCase
in package

Attributes
#[CoversClass]
\OpenTelemetry\Contrib\Zipkin\SpanConverter::class

Table of Contents

Methods

droppedProvider()  : array<string|int, mixed>
spanKindProvider()  : array<string|int, mixed>
test_displays_non_zero_dropped_counts()  : void
test_events()  : void
test_should_convert_a_span_to_a_payload_for_zipkin()  : void
test_should_convert_an_event_without_attributes_to_an_annotation_with_only_its_name()  : void
test_should_convert_an_unmapped_otel_internal_span_to_a_zipkin_span_of_unspecified_kind()  : void
test_should_convert_otel_span_to_a_zipkin_span()  : void
test_should_omit_empty_keys_from_zipkin_span()  : void
test_should_use_otel_ipv_4_and_port_correctly_for_zipkin_remote_endpoint()  : void
test_should_use_otel_ipv_6_correctly_for_zipkin_remote_endpoint()  : void
test_tags_are_coerced_correctly_to_strings()  : void
unmappedSpanKindProvider()  : array<string|int, mixed>

Methods

droppedProvider()

public static droppedProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>

spanKindProvider()

public static spanKindProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>

test_should_convert_a_span_to_a_payload_for_zipkin()

public test_should_convert_a_span_to_a_payload_for_zipkin() : void

test_should_convert_an_event_without_attributes_to_an_annotation_with_only_its_name()

public test_should_convert_an_event_without_attributes_to_an_annotation_with_only_its_name() : void

test_should_convert_an_unmapped_otel_internal_span_to_a_zipkin_span_of_unspecified_kind()

public test_should_convert_an_unmapped_otel_internal_span_to_a_zipkin_span_of_unspecified_kind(mixed $kind) : void
Parameters
$kind : mixed
Attributes
#[DataProvider]
'unmappedSpanKindProvider'

test_should_convert_otel_span_to_a_zipkin_span()

public test_should_convert_otel_span_to_a_zipkin_span(int $internalSpanKind, string $expectedSpanKind) : void
Parameters
$internalSpanKind : int
$expectedSpanKind : string
Attributes
#[DataProvider]
'spanKindProvider'

test_should_omit_empty_keys_from_zipkin_span()

public test_should_omit_empty_keys_from_zipkin_span() : void

test_should_use_otel_ipv_4_and_port_correctly_for_zipkin_remote_endpoint()

public test_should_use_otel_ipv_4_and_port_correctly_for_zipkin_remote_endpoint() : void

test_should_use_otel_ipv_6_correctly_for_zipkin_remote_endpoint()

public test_should_use_otel_ipv_6_correctly_for_zipkin_remote_endpoint() : void

test_tags_are_coerced_correctly_to_strings()

public test_tags_are_coerced_correctly_to_strings() : void
Tags
psalm-suppress

UndefinedInterfaceMethod,PossiblyInvalidArrayAccess

unmappedSpanKindProvider()

public static unmappedSpanKindProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results