docs(ls): set sampling rate per client#560
Merged
Victor Moreira (victorm-lc) merged 5 commits intoSep 17, 2025
Merged
Conversation
Victor Moreira (victorm-lc)
requested review from
Kathryn May (katmayb) and
Lauren Hirata Singh (lnhsingh)
as code owners
September 17, 2025 15:04
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds documentation on how to set different sampling rates for tracing per client in LangSmith, expanding beyond the existing global sampling rate configuration. The update provides practical examples for controlling trace sampling at a more granular level.
Key changes:
- Added introductory context explaining when and why to use sampling rates
- Enhanced the existing global sampling rate section with clearer organization
- Added new section demonstrating per-client sampling rate configuration using
Clientinstances andtracing_context
Contributor
|
Preview ID generated: preview-viclsp-1758121517-5f7a1aa |
Kathryn May (katmayb)
approved these changes
Sep 17, 2025
Kathryn May (katmayb)
left a comment
Contributor
There was a problem hiding this comment.
Just a couple small things, but lgtm!
Co-authored-by: Kathryn May <44557882+katmayb@users.noreply.github.com>
Co-authored-by: Kathryn May <44557882+katmayb@users.noreply.github.com>
Co-authored-by: Kathryn May <44557882+katmayb@users.noreply.github.com>
Contributor
|
Preview ID generated: preview-viclsp-1758122798-8f0a79d |
Victor Moreira (victorm-lc)
deleted the
vic/ls-per-client-sampling-rate
branch
September 17, 2025 15:28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Added example of how to set different sampling rates for tracing per client.
Type of change
Type: Update existing documentation
Checklist
docs devsrc/docs.jsonif needed