Inspect a Trace
See the path one request took (through the gateway, the integration and what it called) and where its time went.
How it works
A trace shows one request as a timeline of spans across the gateway, the integration and what it called. The longest span is where the time went.
Find the trace from a log entry
A log entry written during a request carries its trace ID. Search that ID to open the whole request.
Use cases
When a request is slow or fails and the logs of one service are not enough to say why.
Prerequisites
- Something running in the environment: an integration, a gateway.
- The business unit and the environment selected in the console: the views open on them.
Procedure
- In Monitoring, go to Distributed Traces.
- Choose the period and find the request: by service, by duration, by error.
- Open the trace. Each line is a step; its length is the time it took.
- Open a step to read its details and the logs written during it.
Behavior and limits
- Every integration is traced without any change to its routes: it comes from the monitoring dependencies each integration carries.
- The longest step is where to look first. A step that is long while its own children are short spent its time waiting.