Retrieving top real transaction data


The API contains the following topics:

API overview

Method—GET

Request parameters—time (from, to), applicationId, sorting, limit, type

API registration

Use the following URL to register the API:

https://portalHost:portalPort/portal/rest/transactions

Replace the following entries, as required:

Entry

Description

https

Protocol used to send the request

portalHost

Host name or IP address of the App Visibility portal

portalPort

Communication port number of the App Visibility portal.

The default port number is 8100.

Request parameters

Entry

Description

Mandatory

from

Epoch time stamp in milliseconds from which to start the data collection

Use a time stamp converter, such as http://www.epochconverter.com/, to generate the value.

Yes

to

Epoch time stamp in milliseconds from which to end the data collection

Use a time stamp converter, such as http://www.epochconverter.com/, to generate the value.

Yes

applicationId

One or more identifying strings (automatically assigned) of the applications

Example: applicationId=appID1&applicationId=appID2

No

sorting

Sorting option: VOLUME, PERFORMANCE, AVAILABILITY

Yes

limit

Number of transactions to return

Yes

type

Type of entry point by which to filter response data: PAGE, AJAX, EXTERNAL_SERVICES, BT (Transaction type)

No

URL example

https://my-portal-33:8100/portal/rest/transactions?from=1441703100000&to=1441703700000&sorting=PERFORMANCE&limit=10

Sample JSON response

appvis_toptransapi.png

Response content

The response shows data about impacted transactions for the selected time range, and filtered according to your request parameters.

Object

Description

applicationID

Identifying string (automatically assigned) of the application

transactionName

Transaction name; that is, the entry point name of the first fragment in the transaction

type

PAGE, AJAX, EXTERNAL_SERVICES, or BT (business transaction)

avgE2EDuration

Average duration, in milliseconds, of the transaction

latencyCount

Number of transactions with latency violations

errorCount

Number of transactions with errors

totalHits

Number of hits on the transaction

timeframe

Time range, in milliseconds, that you selected

perfromanceSeverity

Severity of the percentage of latency violations: CRITICAL, MINOR, OK

availabilitySeverity

Severity of the percentage of errors: CRITICAL, MINOR, OK

Related topics

Generating-report-data-for-App-Visibility-Manager

Top-Real-Transactions-dashlet

 

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*