Viewing TIBCO Flogo® App Instrumentation with the API
Use the API to view TIBCO Flogo® app instance metrics, including the number of times the instance completed, failed, and started, and the app status and trigger name. You can use these statistics to create a Dashboard for your app instances.
To view app instrumentation you need the following:
- Subscription Locator — The Subscription Locator of the Organization you want to access. To find Subscription Locators for your organizations use the
GET /v1/userinfomethod to return a list of all of the organizations for your OAuth Token with their Subscription Locators. You can use 0 as the Subscription Locator for the organization that owns the OAuth token. - App ID — ID of the app to be accessed, which can be retrieved using the
GET /v1/subscriptions/{subscriptionLocator}/appsmethod. - App Instance ID — ID of the app instance to be accessed, which can be retrieved using the
GET /v1/subscriptions/{subscriptionLocator}/apps/{appId}/instancesmethod.
Use the GET /v1/subscriptions/{subscriptionLocator}/apps/{appId}/instances/{instanceId}/monitoring/flogo/instrumentation method to view instrumentation for a Flogo app instance.