Skip to content

Commit 916a61c

Browse files
committed
Add note to update priority algo for trace ratio
1 parent 46dfcd8 commit 916a61c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/new_relic/agent/transaction.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,8 @@ def priority
343343
when 'always_off'
344344
0
345345
when 'trace_id_ratio_based'
346-
# what's the right priority for trace_id_ratio_based? Is it just whatever the sampled result is?
346+
# what's the right priority for trace_id_ratio_based? Is it just whatever the sampled result is?
347+
# TODO: make thie adaptive
347348
sampled? ? 2.0 : 0
348349
when 'adaptive'
349350
adaptive_priority

0 commit comments

Comments
 (0)