Skip to content
GitmoapAPIBeta
Schema

CycleTimeInsights

How long work takes in a repository: the median and 95th percentile of time to merge, time to first review, work item cycle time and pipeline duration.

Shape

  • fromstring
  • issue_cycle_timePercentileSurface
    • The PercentileSurface schema
    • ninteger · int640–∞
    • truncatedbooleanWhether the window held more than 20,000 measurements, in which case the percentiles are computed over 20,000 of them and n is that limit rather than the full count.
    • p50_secondsnumber · double or nulloptionalThe median, in seconds. Absent when the window held nothing to measure — which is different from a median of zero.
    • p95_secondsnumber · double or nulloptional
  • pipeline_durationPercentileSurface
    • The PercentileSurface schema
    • ninteger · int640–∞
    • truncatedbooleanWhether the window held more than 20,000 measurements, in which case the percentiles are computed over 20,000 of them and n is that limit rather than the full count.
    • p50_secondsnumber · double or nulloptionalThe median, in seconds. Absent when the window held nothing to measure — which is different from a median of zero.
    • p95_secondsnumber · double or nulloptional
  • scopeActivityScope
  • time_to_first_reviewPercentileSurface
    • The PercentileSurface schema
    • ninteger · int640–∞
    • truncatedbooleanWhether the window held more than 20,000 measurements, in which case the percentiles are computed over 20,000 of them and n is that limit rather than the full count.
    • p50_secondsnumber · double or nulloptionalThe median, in seconds. Absent when the window held nothing to measure — which is different from a median of zero.
    • p95_secondsnumber · double or nulloptional
  • time_to_mergePercentileSurface
    • The PercentileSurface schema
    • ninteger · int640–∞
    • truncatedbooleanWhether the window held more than 20,000 measurements, in which case the percentiles are computed over 20,000 of them and n is that limit rather than the full count.
    • p50_secondsnumber · double or nulloptionalThe median, in seconds. Absent when the window held nothing to measure — which is different from a median of zero.
    • p95_secondsnumber · double or nulloptional
  • tostring

Example

Synthesized example
{
"from": "from-27c8",
"issue_cycle_time": {
"n": 52,
"truncated": false,
"p50_seconds": 89,
"p95_seconds": 67
},
"pipeline_duration": {
"n": 25,
"truncated": false,
"p50_seconds": 14,
"p95_seconds": 0
},
"scope": {
"full_path": "acme/payments-api",
"id": "id-82a0",
"type": "group"
},
"time_to_first_review": {
"n": 87,
"truncated": false,
"p50_seconds": 45,
"p95_seconds": 51
},
"time_to_merge": {
"n": 22,
"truncated": false,
"p50_seconds": 32,
"p95_seconds": 81
},
"to": "to-a4f0"
}

Graph

Used inside

No schema contains this one.

Used by

Sent by 0 operations

No operation takes it as a request body.