This feature is in beta
To use this feature, pass in a header including the
LD-API-Version
key with value set tobeta
. Use this header with each call. To learn more, read Beta resources.Resources that are in beta are still undergoing testing and development. They may change without notice, including becoming backwards incompatible.
The charts API provides access to the data used in engineering insights project metrics. To learn more, read Project metrics.
Get deployment frequency chart data. Engineering insights displays deployment frequency data in the deployment frequency metric view.
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 frequencyFor example, use ?expand=metrics
to include the metrics
field in the response. By default, this field is not included in the response.
Chart response
Invalid request
Invalid access token
Forbidden
Invalid resource identifier
Rate limited
{- "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": {
- "unit": "count"
}, - "yAxis": {
- "unit": "count"
}
}, - "series": [
- {
- "metadata": {
- "name": "string",
- "count": 0,
- "bounds": [
- {
- "name": "equal",
- "value": 100
}
]
}, - "data": [
- {
- "x": 1617225600000,
- "y": 100,
- "values": {
- "property1": null,
- "property2": null
}
}
]
}
]
}
Get stale flags chart data. Engineering insights displays stale flags data in the flag health metric view.
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 stale flagsFor example, use ?expand=metrics
to include the metrics
field in the response. By default, this field is not included in the response.
Chart response
Invalid request
Invalid access token
Forbidden
Invalid resource identifier
Rate limited
{- "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": {
- "unit": "count"
}, - "yAxis": {
- "unit": "count"
}
}, - "series": [
- {
- "metadata": {
- "name": "string",
- "count": 0,
- "bounds": [
- {
- "name": "equal",
- "value": 100
}
]
}, - "data": [
- {
- "x": 1617225600000,
- "y": 100,
- "values": {
- "property1": null,
- "property2": null
}
}
]
}
]
}
Get flag status chart data. To learn more, read Using the flag status chart.
Chart response
Invalid request
Invalid access token
Forbidden
Invalid resource identifier
Rate limited
{- "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": {
- "unit": "count"
}, - "yAxis": {
- "unit": "count"
}
}, - "series": [
- {
- "metadata": {
- "name": "string",
- "count": 0,
- "bounds": [
- {
- "name": "equal",
- "value": 100
}
]
}, - "data": [
- {
- "x": 1617225600000,
- "y": 100,
- "values": {
- "property1": null,
- "property2": null
}
}
]
}
]
}
Get lead time chart data. The engineering insights UI displays lead time data in the lead time metric view.
Chart response
Invalid request
Invalid access token
Forbidden
Invalid resource identifier
Rate limited
{- "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": {
- "unit": "count"
}, - "yAxis": {
- "unit": "count"
}
}, - "series": [
- {
- "metadata": {
- "name": "string",
- "count": 0,
- "bounds": [
- {
- "name": "equal",
- "value": 100
}
]
}, - "data": [
- {
- "x": 1617225600000,
- "y": 100,
- "values": {
- "property1": null,
- "property2": null
}
}
]
}
]
}
Get release frequency chart data. Engineering insights displays release frequency data in the release frequency metric view.
Chart response
Invalid request
Invalid access token
Forbidden
Invalid resource identifier
Rate limited
{- "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": {
- "unit": "count"
}, - "yAxis": {
- "unit": "count"
}
}, - "series": [
- {
- "metadata": {
- "name": "string",
- "count": 0,
- "bounds": [
- {
- "name": "equal",
- "value": 100
}
]
}, - "data": [
- {
- "x": 1617225600000,
- "y": 100,
- "values": {
- "property1": null,
- "property2": null
}
}
]
}
]
}