Skip to content

Commit

Permalink
note
Browse files Browse the repository at this point in the history
  • Loading branch information
hinthornw committed Apr 15, 2024
1 parent 56aaaa2 commit b8bff24
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions docs/tracing/faq/logging_and_viewing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,10 @@ To log traces to a different project, see [this section](/tracing/faq/customizin
:::note
Please make sure to set the `LANGCHAIN_API_KEY` environment variable to your API key before running the examples below.
Additionally, you will need to set `LANGCHAIN_TRACING_V2='true'` if you plan to use either:
:::

- LangChain (Python or JS)
- `@traceable` decorator or `wrap_openai` method in the Python SDK
:::
:::

<CodeTabs
tabs={[
Expand Down Expand Up @@ -261,6 +260,7 @@ This works for the `traceable` decorator and `RunTree` objects.
LangSmith supports distributed tracing out of the box, linking runs within a trace across services using context propagation headers (`langsmith-trace` and optional `baggage` for metadata/tags).

Example client-server setup:

- Trace starts on client
- Continues on server

Expand Down Expand Up @@ -304,9 +304,6 @@ async def fake_route(request: Request):

```




### Turning off tracing

If you've decided you no longer want to trace your runs, you can remove the environment variables configured to start tracing in the first place.
Expand Down

0 comments on commit b8bff24

Please sign in to comment.