Skip to content

Commit 14d7aad

Browse files
committed
fix ALWAYS_OFF sampler usage
1 parent 09eb3f7 commit 14d7aad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws-opentelemetry-distro/src/amazon/opentelemetry/distro/sampler/aws_xray_remote_sampler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def should_sample(
7777
) -> SamplingResult:
7878
# TODO: add sampling functionality
7979
return ALWAYS_OFF.should_sample(
80-
self, parent_context, trace_id, name, kind=kind, attributes=attributes, links=links, trace_state=trace_state
80+
parent_context, trace_id, name, kind=kind, attributes=attributes, links=links, trace_state=trace_state
8181
)
8282

8383
# pylint: disable=no-self-use

0 commit comments

Comments
 (0)