ImmutableSpanTest
extends TestCase
in package
Attributes
- #[CoversClass]
- \OpenTelemetry\SDK\Trace\ImmutableSpan::class
Table of Contents
Properties
- $attributes : AttributesInterface
- $context : SpanContextInterface
- $endEpochNanos : int
- $instrumentationScope : InstrumentationScope
- $parentContext : SpanContextInterface
- $parentSpanId : string
- $resource : ResourceInfo
- $span : Span
- $spanId : string
- $startEpochNanes : int
- $status : StatusDataInterface
- $totalRecordedEvents : int
- $totalRecordedLinks : int
- $traceId : string
Methods
- test_getters() : void
- setUp() : void
Properties
$attributes
private
AttributesInterface
$attributes
$context
private
SpanContextInterface
$context
$endEpochNanos
private
int
$endEpochNanos
= 2000
$instrumentationScope
private
InstrumentationScope
$instrumentationScope
$parentContext
private
SpanContextInterface
$parentContext
$parentSpanId
private
string
$parentSpanId
= 'parent-span-id'
$resource
private
ResourceInfo
$resource
$span
private
Span
$span
$spanId
private
string
$spanId
= 'span-id'
$startEpochNanes
private
int
$startEpochNanes
= 1000
$status
private
StatusDataInterface
$status
$totalRecordedEvents
private
int
$totalRecordedEvents
= 1
$totalRecordedLinks
private
int
$totalRecordedLinks
= 1
$traceId
private
string
$traceId
= 'trace-id'
Methods
test_getters()
public
test_getters() : void
setUp()
protected
setUp() : void