OpenTelemetry PHP

ExportingReaderTest extends TestCase
in package

FinalYes
Attributes
#[CoversClass]
\OpenTelemetry\SDK\Metrics\MetricReader\ExportingReader::class

Table of Contents

Methods

test_add_creates_metric_source_with_exporter_temporality()  : void
test_add_does_not_create_metric_source_if_exporter_temporality_null()  : void
test_add_does_not_create_metric_source_if_reader_closed()  : void
test_closed_reader_does_not_call_exporter_methods()  : void
test_collect_collects_sources_with_current_timestamp()  : void
test_default_aggregation_returns_default_aggregation()  : void
test_default_aggregation_returns_exporter_aggregation_if_default_aggregation_provider()  : void
test_default_aggregation_returns_histogram_with_advisory_buckets()  : void
test_empty_reader_collects_empty_metrics()  : void
test_force_flush_calls_push_exporter_force_flush()  : void
test_force_flush_with_non_push_exporter()  : void
test_shutdown_calls_exporter_shutdown()  : void
test_shutdown_does_not_export_empty_metrics()  : void
test_shutdown_exports_metrics()  : void
test_staleness_handler_clears_source()  : void

Methods

test_add_creates_metric_source_with_exporter_temporality()

public test_add_creates_metric_source_with_exporter_temporality() : void

test_add_does_not_create_metric_source_if_exporter_temporality_null()

public test_add_does_not_create_metric_source_if_exporter_temporality_null() : void

test_add_does_not_create_metric_source_if_reader_closed()

public test_add_does_not_create_metric_source_if_reader_closed() : void

test_closed_reader_does_not_call_exporter_methods()

public test_closed_reader_does_not_call_exporter_methods() : void

test_collect_collects_sources_with_current_timestamp()

public test_collect_collects_sources_with_current_timestamp() : void

test_default_aggregation_returns_default_aggregation()

public test_default_aggregation_returns_default_aggregation() : void

test_default_aggregation_returns_exporter_aggregation_if_default_aggregation_provider()

public test_default_aggregation_returns_exporter_aggregation_if_default_aggregation_provider() : void

test_default_aggregation_returns_histogram_with_advisory_buckets()

public test_default_aggregation_returns_histogram_with_advisory_buckets() : void

test_empty_reader_collects_empty_metrics()

public test_empty_reader_collects_empty_metrics() : void

test_force_flush_calls_push_exporter_force_flush()

public test_force_flush_calls_push_exporter_force_flush() : void

test_force_flush_with_non_push_exporter()

public test_force_flush_with_non_push_exporter() : void

test_shutdown_calls_exporter_shutdown()

public test_shutdown_calls_exporter_shutdown() : void

test_shutdown_does_not_export_empty_metrics()

public test_shutdown_does_not_export_empty_metrics() : void

test_staleness_handler_clears_source()

public test_staleness_handler_clears_source() : void

        
On this page

Search results