Skip to content

Commit 04c85a1

Browse files
Added \Attribute::TARGET_PARAMETER to \OpenTelemetry\API\Instrumentation\SpanAttribute (#1433)
Fixes #1429.
1 parent 5420648 commit 04c85a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Instrumentation/SpanAttribute.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* attribute, adding this attribute to an argument will
1212
* add the argument as a span attribute.
1313
*/
14-
#[Attribute(Attribute::TARGET_PROPERTY)]
14+
#[Attribute(Attribute::TARGET_PARAMETER | Attribute::TARGET_PROPERTY)]
1515
final class SpanAttribute
1616
{
1717
/**

0 commit comments

Comments
 (0)