Documentation Index
Fetch the complete documentation index at: https://docs.latitude.so/llms.txt
Use this file to discover all available pages before exploring further.
Tags
Tags are lightweight trace labels for broad, repeated categories such as environment, agent name, feature area, rollout, or customer segment.
Pass tags through capture().
import { capture } from "@latitude-data/telemetry"
await capture(
"support-agent-turn",
async () => {
return agent.run(userMessage)
},
{
tags: ["production", "support-agent", "checkout"],
},
)
from latitude_telemetry import capture
capture(
"support-agent-turn",
lambda: agent.run(user_message),
{
"tags": ["production", "support-agent", "checkout"],
},
)
Nested captures inherit parent tags. Additional tags are appended and deduplicated.
Tags appear in trace metadata.
Use tags to:
- filter the Traces page
- narrow semantic or exact-text searches
- save reusable search cohorts
- scope evaluation monitoring
- compare issue patterns across environments, agents, or features
Use tags for labels you commonly filter by, such as environments or rollout cohorts. Use metadata for structured key-value context such as request ids, plan names, regions, experiment ids, or account properties.
- Metadata: Attach structured context
- Filters: Filter traces by tags
- Search: Combine tags with semantic search