Skip to main content
Add custom span-level attributes to a LangChain component’s metadata. Attributes are stored under the Fiddler metadata key on the component and read by FiddlerAgentMiddleware when creating spans. Unlike session attributes, these are scoped to individual components and only applied to spans created for that component (e.g. a particular model or tool).