Skip to content

Conversation

0x006EA1E5
Copy link

Description:
Fixes 27567

In the tail_sampling processor, record statCountTracesSampled metric sampling decision for each policy seperately, depending on the actual decision for that policy, instead of using the finalDecision for all policies equally.
Link to tracking Issue:
27567

Testing:
Send traces which match some of the defined tail_sampling policies, check the collector metrics are correct.

Documentation:
None.
Please advise if I should so anything... :)

@0x006EA1E5 0x006EA1E5 requested a review from jpkrohling as a code owner October 9, 2023 21:42
@0x006EA1E5 0x006EA1E5 requested a review from a team October 9, 2023 21:42
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Oct 9, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: 0x006EA1E5 / name: Greg Eales (3f2bc19)

@github-actions github-actions bot added the processor/tailsampling Tail sampling processor label Oct 9, 2023
@0x006EA1E5 0x006EA1E5 force-pushed the 27567-tailsmapler-metrics branch 4 times, most recently from aedac71 to d38c719 Compare October 10, 2023 10:33
@0x006EA1E5 0x006EA1E5 force-pushed the 27567-tailsmapler-metrics branch from d38c719 to 3f2bc19 Compare October 10, 2023 10:39
@0x006EA1E5 0x006EA1E5 closed this Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

processor/tailsampling Tail sampling processor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

metric otelcol_processor_tail_sampling_count_traces_sampled showing wrong values based on policy, sampled labels

2 participants