Insights charts (beta)

Get lead time chart data

GET
/api/v2/engineering-insights/charts/lead-time

Get lead time chart data. The engineering insights UI displays lead time data in the lead time metric view.

Authorization

ApiKey read, write
Authorization<token>

In: header

Scope: read, write

Query Parameters

projectKey*string

The project key

Formatstring
environmentKey?string

The environment key

Formatstring
applicationKey?string

Comma separated list of application keys

Formatstring
from?integer

Unix timestamp in milliseconds. Default value is 7 days ago.

Formatint64
to?integer

Unix timestamp in milliseconds. Default value is now.

Formatint64
bucketType?string

Specify type of bucket. Options: rolling, hour, day. Default: rolling.

Formatstring
bucketMs?integer

Duration of intervals for x-axis in milliseconds. Default value is one day (86400000 milliseconds).

Formatint64
groupBy?string

Options: application, stage. Default: stage.

Formatstring
expand?string

Options: metrics, percentiles.

Formatstring

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v2/engineering-insights/charts/lead-time?projectKey=string"
{  "metadata": {    "summary": {      "property1": null,      "property2": null    },    "name": "deploymentFrequency",    "metrics": {      "property1": {        "indicator": "excellent",        "value": 5,        "unit": "count",        "modifier": "per day",        "tiers": [          {            "indicator": "excellent",            "description": "at least 1 per day"          }        ]      },      "property2": {        "indicator": "excellent",        "value": 5,        "unit": "count",        "modifier": "per day",        "tiers": [          {            "indicator": "excellent",            "description": "at least 1 per day"          }        ]      }    },    "xAxis": "timestamp",    "yAxis": "count"  },  "series": [    {      "metadata": {        "name": "string",        "count": 0,        "bounds": [          {            "name": "equal",            "value": 100          }        ]      },      "data": [        {          "x": 1617225600000,          "y": 100,          "values": {            "property1": null,            "property2": null          }        }      ]    }  ]}