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

remove how-to for toggling #646

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions docs/observability/how_to_guides/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ Set up LangSmith tracing to get visibility into your production applications.
### Basic configuration

- [Set your tracing project](./how_to_guides/tracing/log_traces_to_project)
- [Enable or disable tracing](./how_to_guides/tracing/toggle_tracing)
- [Trace any Python or JS Code](./how_to_guides/tracing/annotate_code)
- [Annotate your Python/JS code for tracing](./how_to_guides/tracing/annotate_code)
- [Trace using the LangSmith REST API](./how_to_guides/tracing/trace_with_api)
- [Trace without environment variables](./how_to_guides/tracing/trace_without_env_vars)

Expand Down
5 changes: 5 additions & 0 deletions docs/observability/how_to_guides/tracing/annotate_code.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ import {

# Annotate code for tracing

:::note
If you've decided you no longer want to trace your runs, you can unset the `LANGSMITH_TRACING` environment variable.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
If you've decided you no longer want to trace your runs, you can unset the `LANGSMITH_TRACING` environment variable.
If you've decided you no longer want to trace your runs, you can remove the `LANGSMITH_TRACING` environment variable.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unset = remove ?

Note that this does not affect the `RunTree` objects or API users, as these are meant to be low-level and not affected by the tracing toggle.
:::

There are several ways to log traces to LangSmith.

:::tip
Expand Down
18 changes: 0 additions & 18 deletions docs/observability/how_to_guides/tracing/toggle_tracing.mdx

This file was deleted.

Loading