WithAddress sends traces to an agent environment instead of a project.
func WithAddress(a AgentAddress) OTelTracerOption| Name | Type | Description |
|---|---|---|
a* | AgentAddress |
WithAddress sends traces to an agent environment instead of a project. It cannot be combined with [WithProjectName]. Without either option, LANGSMITH_AGENT_ID and LANGSMITH_AGENT_ENVIRONMENT address the agent when both are set.