---
title: "Signals"
url: "/docs/proxy/lens/signals"
canonical_url: "https://docs.litellm.ai/docs/proxy/lens/signals"
type: "docs"
last_updated: "2026-12-04"
summary: "Flag sessions by a recorded metric or a yes-or-no question, inspect matching traces, and turn a decision signal into a gateway guardrail."
related:
  - "/docs/proxy/lens/traces"
  - "/docs/proxy/lens/signal-to-guardrail"
---
# Signals

> Index of all LiteLLM docs: https://docs.litellm.ai/llms.txt


Open **Signals** to see which sessions match a rule. Select **View traces** beside a signal to inspect the matches for your date range and user or team. Select the signal name to see its definition

## Add a signal

A workspace admin can select **Add signal**, give it a name, and choose how Lens evaluates it

| Choose | Use it for | Example |
| --- | --- | --- |
| **Metadata rule** | A threshold on step errors, tool calls, input tokens, or output tokens. Lens checks the recorded value directly | To find sessions with repeated tool failures, choose **Step errors** and set **At least** to **2** |
| **Decision model** | A yes-or-no question about what happened during a session. This uses the configured analysis model | “Did the user ask to share customer contact details externally?” |

Select **Save signal**. After Lens analyzes the sessions, open a few matches. To adjust the rule, select its name, edit it, and save again

## Use a signal as a guardrail

To screen new gateway requests, start with a behavior you can recognize in an incoming message. You can write a Yes/No question yourself or have Lens fit one to traces you label. [Build a guardrail from a signal](./signal-to-guardrail.md)

## Related pages

- [Traces](https://docs.litellm.ai/docs/proxy/lens/traces.md)
- [Build a guardrail from a signal](https://docs.litellm.ai/docs/proxy/lens/signal-to-guardrail.md)
