Skip to content

Commit

Permalink
fix sampling
Browse files Browse the repository at this point in the history
  • Loading branch information
wconti27 committed Sep 24, 2024
1 parent 4fa3e81 commit 79e4945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/datadog-plugin-protobufjs/src/schema_iterator.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ class SchemaExtractor {
}

// if the span is unsampled, do not sample the schema
if (tracer._prioritySampler.isSampled(span)) {
if (!tracer._prioritySampler.isSampled(span)) {
return
}

Expand Down

0 comments on commit 79e4945

Please sign in to comment.