Skip to content

Commit

Permalink
Add documentation for LANGSMITH_RUNS_ENDPOINTS env var.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnguonly committed Jan 9, 2025
1 parent 909190c commit fd86b79
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/docs/cloud/reference/env_var.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ Type of authentication for the LangGraph Cloud Server deployment. Valid values:

For deployments to LangGraph Cloud, this environment variable is set automatically. For local development or deployments where authentication is handled externally (e.g. self-hosted), set this environment variable to `noop`.

## `LANGSMITH_RUNS_ENDPOINTS`

For [Bring Your Own Cloud (BYOC)](../../concepts/bring_your_own_cloud.md) deployments with [self-hosted LangSmith](https://docs.smith.langchain.com/self_hosting) only.

Set this environment variable to have a BYOC deployment send traces to a self-hosted LangSmith instance. The value of `LANGSMITH_RUNS_ENDPOINTS` is a JSON string: `{"<SELF_HOSTED_LANGSMITH_HOSTNAME>":"<LANGSMITH_API_KEY>"}`.

`SELF_HOSTED_LANGSMITH_HOSTNAME` is the hostname of the self-hosted LangSmith instance. It must be accessible to the BYOC deployment. `LANGSMITH_API_KEY` is a LangSmith API generated from the self-hosted LangSmith instance.

## `N_JOBS_PER_WORKER`

Number of jobs per worker for the LangGraph Cloud task queue. Defaults to `10`.
Expand Down

0 comments on commit fd86b79

Please sign in to comment.