Get Sum
Retrieves the sum
(count) for a given metric.
Method
GET /metrics/{metrics-name}/sum
Parameters
Path Parameters
Name | Description |
---|---|
metrics-name | The name of the metric. Supported names:
activity-instance-start ,
activity-instance-end ,
job-acquisition-attempt ,
job-acquired-success ,
job-acquired-failure ,
job-execution-rejected ,
job-successful ,
job-failed ,
job-locked-exclusive ,
executed-decision-elements ,
executed-decision-instances ,
history-cleanup-removed-process-instances ,
history-cleanup-removed-case-instances ,
history-cleanup-removed-decision-instances ,
history-cleanup-removed-batch-operations ,
history-cleanup-removed-task-metrics ,
root-process-instance-start ,
unique-task-workers
|
Query Parameters
Name | Description |
---|---|
startDate | The start date |
endDate | The end date |
Result
A JSON object providing the result:
Name | Value | Description |
---|---|---|
result | Number | The current sum (count) for the selected metric. |
Response Codes
Code | Media type | Description |
---|---|---|
200 | application/json | Request successful. |
Example
Request
GET /metrics/activity-instance-end/sum?startDate=2015-01-01T00:00:00.000%2b0200
Response
{ "result": 4342343241 }