Skip to content

Commit 7692075

Browse files
authored
stabilize LocalRootSpan (#1683)
1 parent 0b0cc11 commit 7692075

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Trace/LocalRootSpan.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,12 @@
88
use OpenTelemetry\Context\ContextInterface;
99
use OpenTelemetry\Context\ContextKeyInterface;
1010

11-
/**
12-
* @experimental
13-
*/
1411
class LocalRootSpan
1512
{
1613
/**
1714
* Retrieve the local root span. This is the root-most active span which has
1815
* a remote or invalid parent.
1916
* If there is no active local root span, then an invalid span is returned.
20-
* @experimental
2117
*/
2218
public static function current(): SpanInterface
2319
{
@@ -26,7 +22,6 @@ public static function current(): SpanInterface
2622

2723
/**
2824
* Retrieve the local root span from a Context.
29-
* @experimental
3025
*/
3126
public static function fromContext(ContextInterface $context): SpanInterface
3227
{
@@ -43,6 +38,7 @@ public static function store(ContextInterface $context, SpanInterface $span): Co
4338

4439
/**
4540
* @internal
41+
* @return ContextKeyInterface<SpanInterface>
4642
*/
4743
public static function key(): ContextKeyInterface
4844
{

0 commit comments

Comments
 (0)