Skip to main content
Version: 8.9 (unreleased)

Usage metrics

Deprecated endpoints

As of the 8.8 release, the actuator usage metrics endpoints are deprecated and will be removed in the 8.10 release.
Use the new usage metrics endpoint instead.

Overview

The usage metrics endpoint retrieves metrics for a specific date range, including:

  • Process instances: Total created
  • Decision instances: Total executed
  • User tasks assigned: Total unique assignees
  • Active tenants: Total active tenants
  • Tenants: List of active tenants with per-tenant metrics

Export interval
Usage metrics are exported every 5 minutes by default. This may cause a short delay in reported metrics.
You can adjust this interval in application.properties or via environment variables:

zeebe.broker.experimental.engine.usageMetrics.exportInterval=5m

API details

ParameterRequiredDescriptionFormat / Default
startTimeYesStart of date rangeISO 8601: 2025-09-16T12:30:45.123+0000
endTimeYesEnd of date rangeISO 8601: 2025-09-16T12:30:45.123+0000
tenantIdNoFilter by tenantString
withTenantsNoInclude per-tenant breakdownfalse (default)

Endpoint:

http://<host>:<port>/v2/system/usage-metrics?startTime={startTime}&endTime={endTime}&tenantId={tenantId}&withTenants={withTenants}

More info: usage metrics API

Examples

Without tenant breakdown:

http://<host>:<port>/v2/system/usage-metrics?startTime={startTime}&endTime={endTime}&withTenants=false

Response:

{
"processInstances": 5,
"decisionInstances": 23,
"activeTenants": 2,
"assignees": 3,
"tenants": {}
}

With tenant breakdown:

http://<host>:<port>/v2/system/usage-metrics?startTime={startTime}&endTime={endTime}&withTenants=true

Response:

{
"processInstances": 5,
"decisionInstances": 23,
"activeTenants": 2,
"assignees": 3,
"tenants": {
"tenant1": {
"processInstances": 1,
"decisionInstances": 2,
"assignees": 1
},
"tenant2": {
"processInstances": 4,
"decisionInstances": 21,
"assignees": 3
}
}
}

Best practices for monitoring

  • Monitor overall cluster activity by combining process, decision, and task metrics.
  • Track trends over time to better understand resource usage and user engagement.
  • Integrate metrics into dashboards or automation scripts for centralized monitoring and alerting.

Deprecated usage metrics actuator endpoints

As of 8.8, the following actuator endpoints are deprecated and will be removed in the 8.10 release.
Use the new usage metrics endpoint instead.

EndpointDescriptionStatus
/actuator/usage-metrics/process-instancesTotal process instancesDeprecated
/actuator/usage-metrics/decision-instancesTotal decision instancesDeprecated
/actuator/usage-metrics/assigneesUnique user task assigneesDeprecated

All endpoints accept:

  • startTime (optional)
  • endTime (optional)
  • tenantId (optional)

Format: yyyy-MM-dd'T'HH:mm:ss.SSSZZ (e.g., 1970-11-14T10:50:26.963-0100)

Examples

Process instances:

http://<host>:<port>/actuator/usage-metrics/process-instances?startTime={startTime}&endTime={endTime}&tenantId={tenantId}

Response:

{
"total": 99
}

Decision instances:

http://<host>:<port>/actuator/usage-metrics/decision-instances?startTime={startTime}&endTime={endTime}&tenantId={tenantId}

Response:

{
"total": 80
}

Task assignments:

http://<host>:<port>/actuator/usage-metrics/assignees?startTime={startTime}&endTime={endTime}&tenantId={tenantId}

Response:

{
"total": 2
}
Breaking change

Assignees list removed from response.

This endpoint allows reconciliation of users across multiple cluster components and provides insights into active task participants.