OpenTelemetry PHP

SelectionCriteriaTest extends TestCase
in package
uses ProphecyTrait

FinalYes
Attributes
#[CoversClass]
\OpenTelemetry\SDK\Metrics\View\SelectionCriteria\InstrumentationScopeNameCriteria::class
#[CoversClass]
\OpenTelemetry\SDK\Metrics\View\SelectionCriteria\InstrumentationScopeVersionCriteria::class
#[CoversClass]
\OpenTelemetry\SDK\Metrics\View\SelectionCriteria\InstrumentationScopeSchemaUrlCriteria::class
#[CoversClass]
\OpenTelemetry\SDK\Metrics\View\SelectionCriteria\InstrumentNameCriteria::class
#[CoversClass]
\OpenTelemetry\SDK\Metrics\View\SelectionCriteria\InstrumentTypeCriteria::class
#[CoversClass]
\OpenTelemetry\SDK\Metrics\View\SelectionCriteria\AllCriteria::class

Table of Contents

Methods

instrumentNameProvider()  : iterable<string|int, mixed>
test_all_criteria_accepts_if_all_criteria_accept()  : void
test_all_criteria_rejects_if_any_criteria_rejects()  : void
test_instrument_name_criteria()  : void
test_instrument_scope_name_criteria()  : void
test_instrument_scope_schema_url_criteria()  : void
test_instrument_scope_version_criteria()  : void
test_instrument_type_criteria_wildcard()  : void

Methods

instrumentNameProvider()

public static instrumentNameProvider() : iterable<string|int, mixed>
Return values
iterable<string|int, mixed>

test_all_criteria_accepts_if_all_criteria_accept()

public test_all_criteria_accepts_if_all_criteria_accept() : void

test_all_criteria_rejects_if_any_criteria_rejects()

public test_all_criteria_rejects_if_any_criteria_rejects() : void

test_instrument_name_criteria()

public test_instrument_name_criteria(non-empty-string $pattern, string $name, bool $expected) : void
Parameters
$pattern : non-empty-string
$name : string
$expected : bool
Attributes
#[DataProvider]
'instrumentNameProvider'

test_instrument_scope_schema_url_criteria()

public test_instrument_scope_schema_url_criteria() : void

test_instrument_scope_version_criteria()

public test_instrument_scope_version_criteria() : void

test_instrument_type_criteria_wildcard()

public test_instrument_type_criteria_wildcard() : void

        
On this page

Search results