Insights charts (beta)

Get deployment frequency chart data

GET
/api/v2/engineering-insights/charts/deployments/frequency

Get deployment frequency chart data. Engineering insights displays deployment frequency data in the deployment frequency metric view.

Expanding the chart response

LaunchDarkly supports expanding the chart response to include additional fields.

To expand the response, append the expand query parameter and include the following:

  • metrics includes details on the metrics related to deployment frequency

For example, use ?expand=metrics to include the metrics field in the response. By default, this field is not included in the response.

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?string

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

Formatdate-time
to?string

Unix timestamp in milliseconds. Default value is now.

Formatdate-time
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, kind

Formatstring
expand?string

Options: metrics

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/deployments/frequency"
{  "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          }        }      ]    }  ]}