-
Notifications
You must be signed in to change notification settings - Fork 820
Update docs for new set usage limits flow #1351
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
Conversation
Growth eng team work by Arjun, Hana, Jess. Jess to send new screenshots in docs channel
katmayb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of suggestions
| <Note> | ||
| For backwards compatibility, older organizations may have this defaulted to **Extended**. Organizations created after June 3rd, 2024 have this defaulted to **Base**. | ||
| </Note> | ||
| You can checkbox if you'd like to apply your data retention setting to all existing traces in your workspace. If unchecked, your retention setting will only apply to new traces. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| You can checkbox if you'd like to apply your data retention setting to all existing traces in your workspace. If unchecked, your retention setting will only apply to new traces. | |
| You can check the box if you'd like to apply your data retention setting to all existing traces in your workspace. If unchecked, your retention setting will only apply to new traces. |
| LangSmith has two usage limits: total traces and extended retention traces. These correspond to the two metrics tracked on the [usage graph](#usage-graph). You can use these in tandem to have granular control over spend. | ||
|
|
||
| To set limits, navigate back to **Settings** -> **Usage and Billing** -> **Usage configuration**. There is a table at the bottom of the page that lets you set usage limits per workspace. For each workspace, the two limits appear, along with a cost estimate: | ||
| To set limits, navigate back to **Settings** -> **Usage and Billing** -> **Usage configuration**. Input a spend limit, and we will imply a number of base and extended traces. Move the slider to set the trace limits to your desired numbers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of "we" can you change to "LangSmith will..."
| To set limits, navigate back to **Settings** -> **Usage and Billing** -> **Usage configuration**. Input a spend limit, and we will imply a number of base and extended traces. Move the slider to set the trace limits to your desired numbers. | |
| To set limits, navigate back to **Settings** -> **Usage and Billing** -> **Usage configuration**. Input a spend limit, and LangSmith will determine a number of base and extended traces. Move the slider to set the trace limits to your desired numbers. |
"imply" seems indirect, maybe "determine" or "allocate" or "set"
| To set limits, navigate back to **Settings** -> **Usage and Billing** -> **Usage configuration**. There is a table at the bottom of the page that lets you set usage limits per workspace. For each workspace, the two limits appear, along with a cost estimate: | ||
| To set limits, navigate back to **Settings** -> **Usage and Billing** -> **Usage configuration**. Input a spend limit, and we will imply a number of base and extended traces. Move the slider to set the trace limits to your desired numbers. | ||
|
|
||
| Note that if you have more than one workspace, your free monthly traces are by default allocated to your first workspace. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Note that if you have more than one workspace, your free monthly traces are by default allocated to your first workspace. | |
| Note that if you have more than one workspace, by default your free monthly traces are allocated to your first workspace. |
| Click on the edit icon on the right side of the table for the **Prod** row to enter the limit. | ||
|
|
||
|  | ||
| Click on the edit icon in the table for the **Prod** row to enter the limit. You can drag the slider to determine the maximum limits for each trace type. In the example below, we show the spend limit allocated towards only base retention traces. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Click on the edit icon in the table for the **Prod** row to enter the limit. You can drag the slider to determine the maximum limits for each trace type. In the example below, we show the spend limit allocated towards only base retention traces. | |
| Click on the edit icon in the table for the **Prod** row to enter the limit. You can drag the slider to determine the maximum limits for each trace type. The following example shows the spend limit allocated toward only base retention traces. |
| #### Cut maximum spend with an extended data retention limit | ||
|
|
||
| From [Optimization 1](#optimization-1-manage-data-retention), you learned that the easiest way to cut cost was through managing data retention. The same is true for limits. If you only want to keep roughly 10% of traces to be around more than 14 days, you can set a limit on the maximum high retention traces you can keep. This would result in `.10 * 7,800,000 = 780,000`. | ||
| From [Optimization 1](#optimization-1-manage-data-retention), you learned that the easiest way to cut cost was through managing data retention. The same is true for limits. If you only want to keep a certain percentage of traces to be around more than 14 days, you can set a limit on the maximum high retention traces you can keep by dragging the slider. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| From [Optimization 1](#optimization-1-manage-data-retention), you learned that the easiest way to cut cost was through managing data retention. The same is true for limits. If you only want to keep a certain percentage of traces to be around more than 14 days, you can set a limit on the maximum high retention traces you can keep by dragging the slider. | |
| From [Optimization 1](#optimization-1-manage-data-retention), you learned that the easiest way to cut cost was through managing data retention. The same is true for limits. If you only want to keep a certain percentage of traces to be retained for more than 14 days, you can set a limit on the maximum high retention traces you can keep by dragging the slider. |
|
I'll add in the images now |
|
|
||
| 1. Click **Set up Billing**. | ||
| 1. Add your credit card information. After this step, you will no longer be rate limited to 5000 traces, and you will be charged for any excess traces at rates specified on the [pricing](https://www.langchain.com/pricing-langsmith) page. | ||
| 2. Add your credit card information. After this step, you will no longer be rate limited to 5,000 traces, and you will be charged for any excess traces at rates specified on the [pricing](https://www.langchain.com/pricing-langsmith) page. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 2. Add your credit card information. After this step, you will no longer be rate limited to 5,000 traces, and you will be charged for any excess traces at rates specified on the [pricing](https://www.langchain.com/pricing-langsmith) page. | |
| 1. Add your credit card information. After this step, you will no longer be rate limited to 5,000 traces, and you will be charged for any excess traces at rates specified on the [pricing](https://www.langchain.com/pricing-langsmith) page. |
In markdown, we want to convert numbered lists to just be 1. ,1., 1. Markdown renders as a numbered list automatically. This future proofs docs so that if someone removes an item and forgets to adjust the numbering, it doesn't matter.
|
@jessicaou I couldn't pull in your branch locally, so I've opened a new PR with your changes and incorporated my suggestions (all minor). I've added one screenshot where it was clear where it should go, but need your input on placement of the others. Closing this PR in favor of #1355 |
Copy of #1351 ## Preview https://langchain-5e9cc07a-preview-growth-1762871756-20d6a93mintlify.app/langsmith/billing --------- Co-authored-by: Arjun Natarajan <arjun@langchain.dev>
Overview
Growth eng team work by Arjun, Hana, Jess. Jess to send new screenshots in docs channel
Type of change
Type: Update existing documentation




