Skip to main content
Enterprise Edition Durations measure the time between two case events, such as Time to triage from case creation until the status changes to In progress. Tracecat calculates every duration on every case and shows it in the case header. Durations on a case

Create a duration

  1. Go to Cases and open the durations view from the header toolbar.
  2. Select Add duration.
  3. Enter a name and an optional description.
  4. Configure the From event that starts the clock and the To event that stops it.
Create a duration The durations view lists each duration with its start and end events. Durations list

Configure events

Each event has an event type, optional filters, and an occurrence. Occurrence picks which matching event anchors the duration:
  • First seen uses the earliest matching event. Use it for first-response metrics such as time to triage.
  • Last seen uses the most recent matching event. Use it when an event can repeat, such as time from the last reopen to close.
A duration starts once its From event happens and finishes once its To event happens. Until then, the case header shows the time elapsed so far.

Example durations

Read durations from workflows

Use core.cases.get_case_metrics to read durations for one or more cases as time-series data for reporting.
  • See Dropdowns to create the classifications you measure with Dropdown value changed.
  • See Cases for the get_case_metrics output format.