provider Insights charts (beta) GET /api/v2/engineering-insights/charts/lead-time
@utdk/launchdarkly /api/v2/engineering-insights/charts/lead-time
Get lead time chart data
Get lead time chart data. The engineering insights UI displays lead time data in the [lead time metric view](https://launchdarkly.com/docs/home/observability/lead-time).
projectKey query required
The project key
string
environmentKey query
The environment key
string
applicationKey query
Comma separated list of application keys
string
from query
Unix timestamp in milliseconds. Default value is 7 days ago.
integer
to query
Unix timestamp in milliseconds. Default value is now.
integer
bucketType query
Specify type of bucket. Options: `rolling`, `hour`, `day`. Default: `rolling`.
string
bucketMs query
Duration of intervals for x-axis in milliseconds. Default value is one day (`86400000` milliseconds).
integer
groupBy query
Options: `application`, `stage`. Default: `stage`.
string
expand query
Options: `metrics`, `percentiles`.
string

Try it

Authentication
Configure credentials for LaunchDarkly REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

getleadtimechart
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](https://launchdarkly.com/docs/home/observability/lead-time).

required

The project key

The environment key

Comma separated list of application keys

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

Unix timestamp in milliseconds. Default value is now.

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

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

Options: `application`, `stage`. Default: `stage`.

Options: `metrics`, `percentiles`.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import launchdarkly from '@utdk/launchdarkly';

await launchdarkly.getleadtimechart()