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 (flow-node-instances)
  • activity-instance-end
  • flow-node-instances
  • 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 (decision-instances)
  • 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
  • process-instances
  • root-process-instance-start (process-instances)
  • task-users
  • unique-task-workers (task-users)

Query Parameters

Name Description
startDate The start date
endDate The end date

Result

A JSON object providing the result:

Name Type 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 }

On this Page: