Metrics on the Platform
Most operations perform actions that create, modify, read, or delete platform resources such as apps, APIs, discussions, tickets, and so forth.
However, there is also a set of operations that monitors and reports on app/API transaction activity. These operations are shown in the table below.
To do this... | Use this operation... |
---|---|
Retrieve detailed information about a specific transaction in JSON or XML format |
App: GET /api/apps/versions/{AppVersionID}/txlogs/{TransactionID} API: GET /api/apis/versions/{APIVersionID}/txlogs/{TransactionID} |
Retrieve a summary of metrics for the app version, API version, or operation, in JSON format that can be used to create a chart | |
Export a summary of metrics for the app version, API version, or operation, to a CSV file | |
Retrieve transaction logs in JSON or XML format | |
Export transaction logs to a CSV file | |
Export a summary of metrics for a specific API operation, in a specific environment, in JSON or XML format | GET /api/apis/versions/{APIVersionID}/environments/{Environment}/operations/{OperationName}/txlogs |
Export a summary of metrics for a specific API operation, in a specific environment, to a CSV file | GET /api/apis/versions/{APIVersionID}/environments/{Environment}/operations/{OperationName}/metrics |
Some examples of how you can use these operations, depending on your app or API admin access rights, are:
- Query how many times an app uses a specific API in a specified timeframe
- Query the number of requests processed by a specific API in a specified timeframe
- If an app is using multiple APIs, query how many times it used one API or all APIs
- Query how much time each request took