Contact Us 1-800-596-4880

Troubleshooting Query Performance with Query Tracing

Query tracing in Anypoint DataGraph helps you analyze query performance by tracing every call made to the source APIs of the unified schema for a given query.

Trace results provide the following information:

Detailed view of a query trace
1 Time taken by Anypoint DataGraph to parse and validate the query
2 Total response time for the entire query
3 Errors identified during query execution
4 Lack of trace information, denoted by a fading line
5 Duration of requests to each source API in the query

Prerequisites

You must have the Contribute or Admin permission to use query tracing.

Run a Query Trace

Query trace results are provided as soon as you run an operation.

  1. From the actions menu (…​), select Trace Query.

  2. Write your query.

  3. Click Run.

    The trace query panel opens and displays results:

    Query traces enabled on a query

    You can collapse and expand the query trace panel as needed.