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 Put() should return ok bool #37300

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

portertech
Copy link
Contributor

This pull-request changes the decision cache interface, updating Put() to return an ok bool. The bool indicates if the cache put action was successful or done at all (e.g. nop). This is particularly useful when interacting with the nop cache, no longer need to follow a put w/ a get etc. This is also handy when implementing a cache that makes network calls, e.g. memcache.

Related to #37035

@github-actions github-actions bot added the processor/tailsampling Tail sampling processor label Jan 17, 2025
@github-actions github-actions bot requested a review from jpkrohling January 17, 2025 21:24
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.

1 participant