Skip to main content
Dashboards summarize your trace data so you can spot trends and monitor the health of your agents. In the LangSmith UI, find prebuilt dashboards on the Analytics tab of the Monitoring page, and custom dashboards on the Dashboards page under Workspace in the sidebar. LangSmith offers two dashboard types:
  • Prebuilt dashboards: Automatically generated for every agent environment.
  • Custom dashboards: Collections of charts you can configure to your needs. Two experiences are available depending on your platform setup:

Prebuilt dashboards

Prebuilt dashboards cover essential metrics, such as trace count, error rates, and token usage. To open an environment’s prebuilt dashboard, click Dashboard in the top right of its Tracing page. The Analytics tab of Monitoring requires an agent, and its dashboard selector splits the two types into tabs: Environments lists the prebuilt dashboard for each of the agent’s environments, and Custom lists the custom dashboards tagged with that agent’s resource tag. A custom dashboard without that tag does not appear in the agent’s selector.

Dashboard sections

Prebuilt dashboards are broken down into the following sections:

Group by

Use group by to split data by user, or by a run tag or metadata key that matters to your agent. The global group by setting is in the top right of the dashboard and applies to every chart except Tool and Run Type, which already have a group by applied.
When adding metadata to runs, we recommend having the same metadata on the trace, as well as the specific run (e.g., LLM call). Metadata and tags are not propagated from parent to child runs, or vice versa. If you want to see both trace charts and LLM call charts grouped by a metadata key, both traces (root runs) and LLM runs need that metadata attached.

Custom dashboards

Available for LangSmith Cloud US, and for LangSmith Self-hosted installations that query SmithDB.
Create tailored collections of charts for tracking the metrics that matter most for your agents.

Create a new dashboard

  1. In the sidebar, under Workspace, select Dashboards.
  2. Click + Dashboard.
  3. Give your dashboard a name and a description.
  4. Click Create.

Add charts to your dashboard

  1. Within a dashboard, click + Chart to open the Create Chart pane.
  2. Enter a name under Choose chart name. If you leave it blank, the chart takes its name from the metric, for example Sum of total tokens Chart.
  3. (Optional) Click + Add description next to the pane title to describe the chart.
The right side of the pane previews the chart over the time range at its top, for example Last 7 days, with the matching runs listed below it. The preview appears once you pick at least one metric.

Chart configuration

Start from a template (Optional)

To start from a template, select one under Start from template. Templates cover common observability use cases, for example:
  • Error rate over time
  • Average latency by model
  • Run volume
  • % of LLM runs
  • Token usage over time
Alternatively, use Search templates to find another template.

Choose a data source

Under Choose agent or dataset, click + Add to find sources. Switch between the two source types with the tabs at the top of the popover: Tracing and Datasets.
  • Tracing: Add one or more agent environments per chart. Each selected environment appears as a chip that shows the agent name and the environment, for example Production. LangSmith pools runs across every selected environment into a single set, rather than showing each one separately. To break out results per environment, use Group by.
  • Datasets: Pick a single dataset per chart.
    • Selecting a second dataset silently replaces the previous one.
    • A chart draws from either environments or a dataset, not both. Picking a dataset while environments are selected, or the reverse, clears the existing selection.

Pick a metric

Under Pick metric, choose a metric from the list: After you pick a metric, its card shows Variant and Aggregation dropdowns where they apply. For example, a Tokens metric defaults to the Total variant and the Sum aggregation. To compare metrics on one chart, click + Add another metric. For filtering with multiple metrics, read the following Filter and group section.

Filter and group

Refine what data appears on the chart with filters, and split it into multiple series with a group.
LangSmith has two filtering experiences, and the one you see can differ between pages. Check the filter controls on the page you are using to see which one applies:
In the chart editor, the search bar experience shows Traces and Runs tabs in each metric card. The search bar itself stays hidden behind + Filter until the metric has a filter. For chart-specific steps, refer to Filter with the search bar or Filter with filter chips. Dataset sources do not support filters in either experience. Data is scoped by the selected dataset. Grouping creates multiple series on the same chart in one of two ways:
  1. Group by: Automatically splits data into series based on one attribute. Available attributes: Run Name, Run Type, Tag, Environment, Metadata (with a path such as metadata.ls_model_name), User (the user_id metadata key), and Feedback Key (available only with the Count metric). Groups are ranked by frequency and capped at the top 20.
  2. Data series: Manually add metrics with the Add another metric button. Each series can carry its own filter, so you can compare, for example, “count where status is error” against “count where status is success” on the same chart.
Group by and multi-metric are mutually exclusive on a single chart. Only one group-by attribute is allowed. Donut, ranked bar, and table charts do not support multiple data series (extras are dropped or blocked).
Chart filters use the same search bar and query syntax as the runs table of an agent environment. Each metric card holds its own filter, so the section below Pick metric reads Group by and holds only + Add Group. Table charts have no metric cards. They replace Pick metric with a Filter & group section that holds a single filter, followed by grouped by and + Add Group. The filter appears in a metric card once you choose a metric:
  • Traces and Runs: Choose what the metric counts. Traces, the default for a new metric, matches root runs only. Runs matches any run, including child runs.
  • + Filter: Opens the search bar. The scope selector sets which runs a query matches: Traces offers the Root run and Any run scopes, and Runs adds the Single run scope. For the query syntax and the fields you can filter on, refer to Query syntax and Fields. For what each scope matches, refer to Choose what a filter matches.
  • Saved filters: Lists the saved filters of each selected agent environment, grouped by environment. Selecting one replaces the metric’s filter and its Traces or Runs selection. Only run-level saved filters that a chart can use are listed.
  • Clear: Removes the metric’s filter.
For a ratio metric, the filter on the metric card applies to both the numerator and the denominator. The Numerator and Denominator each also take their own filter, which matches individual runs. When you open a chart whose filters use the filter builder syntax, the editor converts those filters to search bar syntax. If a filter cannot be converted, the editor shows an error and leaves the saved chart unchanged.

Filter with filter chips

Where the filter appears depends on how many metrics the chart has:
  • Single metric: One + Add Filter in the Filter & group section. It applies to that metric.
  • Multiple metrics: Each metric gets its own + Add Filter inline in its card under Pick a metric. There is no separate chart-wide filter.
  • Ratio: The Numerator and Denominator each also take their own + Filter.
A new filter matches at the run level. To broaden it, open the Advanced submenu at the bottom of the filter picker and choose Trace, which matches at the trace (root-run) level, or Tree, which includes the entire trace tree if any run in it matches. The Advanced item then names the active scope, for example Advanced Tree Filter. Click the X next to it to reset to a run filter. Numerator and denominator filters have no Advanced submenu and always match at the run level. For filter syntax, refer to Filter traces (ClickHouse).

Choose visualization

Under Choose visualization, choose a type:
  • Line
  • Stacked bar
  • KPI
  • Ranked bar
  • Donut
  • Table

Save and manage charts

  • Click Create to save your chart to the dashboard.
  • Edit or delete a chart by clicking the triple dot button in the top right of the chart.
  • Clone a chart by clicking the triple line button in the top right of the chart and selecting + Clone. This will open a new chart creation pane with the same configurations as the original.

Arrange your dashboard

  • Reorder charts: drag any chart by its header to move it in the grid.
  • Dashboard time range: set once at the top of the dashboard. Every chart uses this range unless it overrides its own bucket size.
  • Clone a dashboard: use the copy icon in the dashboard header. Cloning a prebuilt dashboard converts its charts into fully editable custom charts.

Custom dashboards (legacy)

Available for LangSmith Cloud EU/APAC customers, and for LangSmith Self-hosted installations that query ClickHouse.
Create tailored collections of charts for tracking the metrics that matter most for your agents.

Create a new dashboard

  1. In the sidebar, under Workspace, select Dashboards.
  2. Click + Dashboard.
  3. Give your dashboard a name and a description.
  4. Click Create.

Add charts to your dashboard

  1. Within a dashboard, click + New Chart to open the chart creation pane.
  2. Give your chart a name and a description.
  3. Configure the chart.

Chart configuration

Select environments and filter runs

  • Select one or more agent environments to track metrics for.
  • Use the Chart filters section to refine the matching runs. This filter applies to all data series in the chart. For more information, view the guide on filtering traces (ClickHouse).

Pick a metric

  • Choose a metric from the dropdown menu to set the y-axis of your chart. With an environment and a metric selected, LangSmith shows a preview of your chart and the matching runs.
  • For certain metrics (such as latency, token usage, cost), LangSmith supports comparing multiple metrics with the same unit. For example, you may want one chart where you can see prompt tokens and completion tokens. Each metric appears as a separate line.

Split the data

There are two ways to create multiple series in a chart (i.e., create multiple lines in a chart):
  1. Group by: Group runs by run tag or metadata, run name, or run type. Group by automatically splits the data into multiple series based on the field selected. Group by defaults to the top 5 elements by frequency, configurable up to 20.
  2. Data series: Manually define multiple series with individual filters. This is useful for comparing granular data within a single metric.

Pick a chart type

  • Choose between a line chart and a bar chart for visualizing.

Save and manage charts

  • Click Save to save your chart to the dashboard.
  • Edit or delete a chart by clicking the triple dot button in the top right of the chart.
  • Clone a chart by clicking the triple line button in the top right of the chart and selecting + Clone. This will open a new chart creation pane with the same configurations as the original.
You can link to any dashboard directly from an agent environment. By default, the prebuilt dashboard for that environment is selected. If you have a custom dashboard that you would like to link instead:
  1. In your agent environment, click the three dots next to the Dashboard button.
  2. Choose a dashboard to set as the new default.

Example: user-journey monitoring

Use monitoring charts for mapping the decisions made by an agent at a particular node. Consider an email assistant agent. At a particular node it makes a decision about an email to:
  • Send an email back.
  • Notify the user.
  • No response needed.
You can create a chart to track and visualize the breakdown of these decisions. Creating the chart
  1. Metric Selection: Select the metric Run count.
  2. Chart Filters: Add a tree filter to include all of the traces with name triage_input. This means you only include traces that hit the triage_input node. Also add a chart filter for Is Root is true, so the count is not inflated by the number of nodes in the trace.
  3. Data Series: Create a data series for each decision made at the triage_input node. The output of the decision is stored in the triage.response field of the output object, and the value of the decision is either no, email, or notify. Each of these decisions generates a separate data series in the chart. Decision at node
Now you can visualize the decisions made at the triage_input node over time.