- Automations. Each automation run arrives as a set of spans: what triggered it, the run itself, every action it took, and every outbound HTTP call it made. You can see the run inside your own end-to-end trace, find failures, and measure how long each step and each partner call took.
- AI agents. Each agent turn arrives as a set of spans: the agent invocation, every call to the language model, and every tool the agent ran, with the prompts, replies, and token usage. See GenAI tracing.
OTEL and OTLP. OpenTelemetry (OTEL) is the standard for generating trace data. The OpenTelemetry Protocol (OTLP) is the format used to send that data over gRPC or HTTP. Elementum produces OTEL traces and exports them with OTLP, so your endpoint must accept OTLP.
The end-to-end picture
A typical request travels through three parts. Your application calls Elementum. Elementum runs an automation. The automation calls other systems, such as a partner API or one of your own services. When all three parts send spans to the same backend, the result is one trace:Where to start
Set up trace forwarding
Add an OTLP endpoint, authenticate it, and attach it to environments.
Continue your trace into Elementum
Send a traceparent header on a webhook so the run joins your trace.
Send trace headers to other systems
Pass the automation’s trace to systems a Send API Request step calls.
Span reference
Span names, how they nest, and which steps have no span.
Attribute reference
Every attribute on automation spans, with type, meaning, and when it is absent.
Using traces
Find a run, find failures, and measure partner calls in common backends.
Troubleshooting
Missing spans, broken chains, duplicates, sampling, and data exposure.
GenAI tracing
Agent, model, tool, and voice spans, including prompt and response content.
GenAI attribute reference
Every gen_ai, elementum, and voice attribute on AI spans.
Evaluating AI with traces
Connect an evaluation platform such as W&B Weave and score agent behavior.
elementum.automation.execution_id), the automation id, the workflow version, the step name you gave the action, and a request correlation id you can give to Elementum support.
How spans reach you
- An automation runs in Elementum and records its spans.
- Elementum sends the spans to every enabled endpoint attached to the environment the automation ran in.
- Your backend stores them alongside your own spans. Spans that share a trace id appear as one trace.
service.name set to elementum. Spans are always sent as sampled. Elementum does not sample automation spans before sending them.
What is not included
Elementum sends spans that describe your automations and AI activity. It does not send its internal platform spans. The list below is for automation spans. AI agent spans differ: they carry prompt and reply content, error message text, and span events. See Prompt and response content.- Internal platform spans are never sent. Database calls, queues, internal service calls, and internal HTTP traffic stay inside Elementum. Your traces show the automation spans listed in the span reference.
- No record data or payloads. Automation spans carry ids, names entered in Elementum, statuses, and timings. They do not carry record field values, request or response bodies, header values, or action inputs and outputs. See Privacy and security.
- No span events on automation spans. Exception events and stack traces are not sent. A failed step is described by its status and two short attributes.
- No organization or environment id attributes. Spans are routed by organization and environment, but those ids are not added as attributes. To label spans by environment, add a resource attribute on the endpoint. See Resource attributes.
- Not every step has a span. Structural steps, such as parallel branches, have no span of their own. The actions inside them do. See Actions without a span.
General and GenAI endpoints
Trace forwarding has two kinds of endpoint. You choose the kind when you add the endpoint.- Use a General endpoint for a tracing backend that should see everything, including automations.
- Use a GenAI endpoint for an AI evaluation platform that should see only model and agent activity. On a GenAI endpoint, every agent turn is a root span.