Add custom metadata and tags to your traces for powerful filtering, grouping, and analytics. Perfect for A/B testing deployments, tracking request types, or any custom categorization.Documentation Index
Fetch the complete documentation index at: https://docs.fallom.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Fallom supports two types of custom data:| Type | Use Case | Example |
|---|---|---|
| Metadata | Structured key-value pairs | { deployment: "dedicated", requestType: "transcript" } |
| Tags | Simple string labels | ["production", "high-priority", "v2"] |
Usage
- TypeScript
Add metadata and tags when creating a session:
Common Use Cases
A/B Testing Deployments
Compare performance between different LLM providers or deployment types:deployment: dedicated to see all traces from your dedicated instance.
Request Type Categorization
Group traces by the type of work being done:Environment Tracking
Separate production, staging, and development traces:Feature Flags
Track which feature variants are being used:Metadata Types
Metadata values can be:- Strings:
"production","dedicated" - Numbers:
42,3.14 - Booleans:
true,false
Filtering in Dashboard
Once you’ve added metadata and tags to your traces, you can filter them in the Fallom dashboard:By Tags
Use the tags filter to find traces with specific tags. Tags support partial matching (contains):- Filter by single tag:
production - Filter by multiple tags:
production, high-priority
By Metadata
Filter traces by specific metadata key-value pairs:deployment:dedicated- Find all traces from dedicated deploymentsrequestType:transcript- Find all transcript analysis requestsenvironment:production- Find all production traces
Best Practices
- Use metadata for structured data that you’ll query by specific values
- Use tags for quick labels that you’ll search with “contains”
- Keep metadata keys short but descriptive
- Document your metadata schema so your team uses consistent keys
- Don’t put sensitive data in metadata or tags (they’re visible in the dashboard)
API Reference
Session Options
| Parameter | Type | Description |
|---|---|---|
metadata | Record<string, string | number | boolean> | Key-value pairs for structured filtering |
tags | string[] | Array of string labels for quick categorization |
Storage
Metadata and tags are stored in the trace attributes as:fallom.metadata- Your custom metadata objectfallom.tags- Your tags array

