OpenTelemetry PHP

SpanExporterTest extends TestCase
in package

Attributes
#[CoversClass]
\OpenTelemetry\Contrib\Otlp\SpanExporter::class

Table of Contents

Properties

$exporter  : SpanExporter
$transport  : MockObject

Methods

setUp()  : void
test_export_success()  : void
test_export_with_invalid_response()  : void
test_export_with_transport_failure()  : void
test_force_flush()  : void
test_json_invalid_utf8_sequence_is_encoded_as_bytes_value()  : void
test_json_span_and_trace_id_hex_format()  : void
test_shutdown()  : void

Properties

Methods

test_export_with_invalid_response()

public test_export_with_invalid_response() : void

test_export_with_transport_failure()

public test_export_with_transport_failure() : void

test_json_invalid_utf8_sequence_is_encoded_as_bytes_value()

public test_json_invalid_utf8_sequence_is_encoded_as_bytes_value() : void

test_json_span_and_trace_id_hex_format()

public test_json_span_and_trace_id_hex_format() : void

        
On this page

Search results