App Metrics
For REST APIs, the following methods can be used to enable and disable app metrics at runtime.
Method | Description | Status Code |
---|---|---|
POST /app/metrics | Enable instrumentation metrics collection |
200 - If successfully enabled 409 - If the metrics collection is already enabled |
DELETE /app/metrics | Disable metrics collection |
200 - If successfully disabled 404 - If metrics collection is not enabled |
GET /app/metrics/flows | Retrieve metrics for all flows |
200 - Successfully returned metrics data 404 - If the metrics collection is not enabled 500 - If there is an issue when returning metrics data |
GET /app/metrics/flow/<flowname> | Retrieve metrics for a given flow |
200 - Successfully returned metrics data 400 - If the flow name is incorrect 404 - If the metrics collection is not enabled 500 - If there is an issue returning metrics data |
GET /app/metrics/flow/<flowname>/activities | Retrieve metrics for all activities in a given flow |
200 - Successfully returned metrics data 400 - If the flow name is incorrect 404 - If the metrics collection is not enabled 500 - If there is an issue returning the metrics data |