← All updates

Updated

LangSmith: investigate LLM traces and receive alerts

Teams building LLM apps on LangSmith can now connect a workspace, so Polylane investigates their traces, opens issues from LangSmith alerts and watches cost and errors.

What changed

Connect a LangSmith workspace with one service key.

Alerts become issues

Polylane adds its webhook action to each alert rule in the workspace, on connect and every hour after, so a rule you create later is covered within an hour. Your other actions on each rule stay as they are. When a rule fires, the alert opens a Polylane issue and Polylane investigates it. Error-count rules arrive as errors; latency, cost, run-count and feedback rules arrive as warnings.

Checks on your tracing projects

Every 30 minutes, Polylane reads the dashboard of your ten busiest tracing projects and checks root-trace error rate, p99 latency and volume, LLM calls with an error, cost, and input and output tokens. A clear change opens an issue.

During an investigation, agents search runs, open a whole trace as a run tree, and read project metrics, feedback, datasets and examples. See the LangSmith integration.

Why it matters

An LLM app can go wrong without an error in your logs: cost climbs, latency grows, or a model call starts failing. Watching the traces next to the rest of your stack lets Polylane tie that change to the code or the deploy behind it.

How to use it

  1. In LangSmith, open Settings → API Keys and create a service key for the workspace.
  2. In the Polylane console, open Settings > Integrations, connect LangSmith and paste the key. Polylane finds the region and the organization. Pick the workspace if the key reads more than one.
  3. On the integration page, change how often the checks run, or turn them off.

Related