How it works
- A signal escalates (or an incident opens) on a monitored project.
- Latitude assembles a prompt with the
signalId, a deep link, and sample trace ids, and fires the configured dispatch target. - The agent — already connected to the Latitude MCP — investigates the signal (below), implements a fix, runs the project’s checks, and reports what changed.
Supported targets
Configure a target per project under Settings → Integrations:- Cursor
- Claude Code
- Linear
- Webhooks — for any other destination
Investigate a signal
Once woken, the agent walks the signal end to end over MCP — the curated tools for orientation, thenqueryAnalytics and querySpans for the questions no single endpoint answers.
1. Orient with the signal tools. These encode Latitude’s semantics (baselines, escalation,
co-occurrence) so the agent doesn’t reconstruct them.
signalId, so the scores stream of queryAnalytics answers breakdowns that have no dedicated
endpoint:
stream, metric, or
breakdown to confirm impact from another angle (e.g. stream: "traces", metric: "errorRate", timeBucket: { unit: "week" }). Values come back in human units — duration in seconds, cost in
dollars, rates as a 0–1 fraction.
3. Drill to the evidence. queryAnalytics says where the problem is; querySpans hands you the
actual spans to read — including failures buried inside traces that otherwise succeeded (which a
trace-level error filter would miss):