General Trace is an important tool for checking and monitoring calls made by apps to your APIs and managed by the Manager. It is found in Main menu > Trace and Health > General Trace.
The page displays a list of all the calls that have been made to your APIs and allows visualising their details. It is also possible to filter them and even export them to a JSON file.
NOTEThe API Trace page, accessed through an API card on the API Catalog screen, works as a General Trace filter, showing the calls to that one specific API. With the exception of the custom search field, it has the same features you see on this page.
The content of the calls list is filtered following the permission configuration of the Environment Trace Visibility field of each environment. This configuration sets that only the environments that the user has access to will have their calls displayed on the General Trace list.
Different in v4To view the environments you have access to, click the
icon above the total number of calls, next to the message "Only the calls to allowed environments are displayed".

NOTEThe Environment Trace Visibility option is configured on the environment creation or edition screens (read more about it here).
The list table contains these columns:
Also, the icon
opens the page Call Details, with more thorough information about each call.
See more about it below.
The calls list screen is paged and you can choose the number of records shown per page (12, 24 or 48) to facilitate navigation.
Different in v4The list shows 10, 25, 50, or 100 records per page, and the Time filter has the Begin and End fields.
The calls list has three types of filters to simplify searching for records:
To apply the filters and list only selected calls, click the Search button. You can click the Clear button to erase the selected filters. In this case, the full list of calls will be retrieved again.

NOTEWhen multiple filters are selected, they work together; the Time filter returns records of a 7-day range.
In the Custom tab, next to Filters, you can carry out call custom searches by inserting special parameters. With this, you can filter the General Trace list more thoroughly.
The custom search uses Lucene syntax and indexes. Access the Field mapping to consult the accepted parameters.
To filter the data, insert a valid query into the Custom Search field and click the Search button.

In the example of the image above, we are searching for calls that contain an API ID of value 3, and calls that occurred in March 2017.
To erase the field and insert another query, click the Clear button.
NOTEThe Filters and Custom tabs work independently, so you cannot use the filters alongside a custom query to search for calls.
The items on the General Trace list can be inspected for details of a specific call.
To do so, click on the URI of the call or the
button on the right side of the call row.
In the second case, the information will be displayed on a different browser tab.

The detail screen contains two tabs: Overview and Gateway Trace.
The Overview tab displays general information about the call in much more detail.
The Gateway Trace tab displays the Gateway log of the time the call was made. This section can be used as an audit, analysis or maintenance tool. Some log items contain an icon in the Details column. This means that there are additional details that can be viewed. Upon clicking the icon, a modal window will display these details, as in the example below.

Select the desired option to view the request details.
Different in v4The icon in the Details column is a magnifying glass, and it opens the details directly, without selecting an option.

To get this level of detail, your API must have Log interceptors configured in its flows.
NOTE
- If the Log interceptor has the option Encrypt Content active in its settings, the details will be encrypted by default and can be made available if permission is granted.
- See the FAQ about the information limit that can be logged per request.
We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more