Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[processor/tailsampling] Decision cache for non-sampled trace IDs #36040

Merged

Conversation

jamesmoessis
Copy link
Contributor

Re-opening #33722 so it can be finished.
I've addressed @jpkrohling's open comments from that PR.

Description:

Adds a decision cache for non sampled IDs. This is off-by-default.

It's the same as the sampled IDs cache but is separate and has a separate size.

**Link to tracking Issue: #31583

Testing:
Unit test added. Cache type itself already tested.

Documentation:

Updated the readme with config options and descriptions.

@jamesmoessis jamesmoessis requested review from jpkrohling and a team as code owners October 29, 2024 02:11
@github-actions github-actions bot added the processor/tailsampling Tail sampling processor label Oct 29, 2024
@jamesmoessis jamesmoessis force-pushed the jmoe/decision-cache-non-sampled branch from 1d249d6 to dbe870e Compare October 29, 2024 02:12
@jamesmoessis jamesmoessis changed the title Jmoe/decision cache non sampled [processor/tailsampling] REOPENED - Decision cache for non-sampled trace IDs Oct 29, 2024
Copy link

codecov bot commented Oct 29, 2024

Codecov Report

Attention: Patch coverage is 79.31034% with 6 lines in your changes missing coverage. Please review.

Project coverage is 80.35%. Comparing base (7090083) to head (dbe870e).
Report is 192 commits behind head on main.

Files with missing lines Patch % Lines
processor/tailsamplingprocessor/processor.go 79.31% 4 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #36040      +/-   ##
==========================================
- Coverage   80.43%   80.35%   -0.09%     
==========================================
  Files        2164     2145      -19     
  Lines      202401   201904     -497     
==========================================
- Hits       162806   162230     -576     
- Misses      34309    34376      +67     
- Partials     5286     5298      +12     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added Stale and removed Stale labels Nov 12, 2024
@jpkrohling jpkrohling changed the title [processor/tailsampling] REOPENED - Decision cache for non-sampled trace IDs [processor/tailsampling] Decision cache for non-sampled trace IDs Nov 26, 2024
@jpkrohling jpkrohling merged commit 561466f into open-telemetry:main Nov 26, 2024
158 checks passed
@github-actions github-actions bot added this to the next release milestone Nov 26, 2024
shivanthzen pushed a commit to shivanthzen/opentelemetry-collector-contrib that referenced this pull request Dec 5, 2024
…en-telemetry#36040)

Re-opening
open-telemetry#33722
so it can be finished.
I've addressed @jpkrohling's open comments from that PR.

Description:

Adds a decision cache for non sampled IDs. This is off-by-default.

It's the same as the sampled IDs cache but is separate and has a
separate size.

**Link to tracking Issue:
open-telemetry#31583

Testing:
Unit test added. Cache type itself already tested.

Documentation:

Updated the readme with config options and descriptions.

---------

Co-authored-by: Juraci Paixão Kröhling <[email protected]>
ZenoCC-Peng pushed a commit to ZenoCC-Peng/opentelemetry-collector-contrib that referenced this pull request Dec 6, 2024
…en-telemetry#36040)

Re-opening
open-telemetry#33722
so it can be finished.
I've addressed @jpkrohling's open comments from that PR.

Description:

Adds a decision cache for non sampled IDs. This is off-by-default.

It's the same as the sampled IDs cache but is separate and has a
separate size.

**Link to tracking Issue:
open-telemetry#31583

Testing:
Unit test added. Cache type itself already tested.

Documentation:

Updated the readme with config options and descriptions.

---------

Co-authored-by: Juraci Paixão Kröhling <[email protected]>
sbylica-splunk pushed a commit to sbylica-splunk/opentelemetry-collector-contrib that referenced this pull request Dec 17, 2024
…en-telemetry#36040)

Re-opening
open-telemetry#33722
so it can be finished.
I've addressed @jpkrohling's open comments from that PR.

Description:

Adds a decision cache for non sampled IDs. This is off-by-default.

It's the same as the sampled IDs cache but is separate and has a
separate size.

**Link to tracking Issue:
open-telemetry#31583

Testing:
Unit test added. Cache type itself already tested.

Documentation:

Updated the readme with config options and descriptions.

---------

Co-authored-by: Juraci Paixão Kröhling <[email protected]>
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.

3 participants