Metrics
Save instance level impact metrics configuration
Enterprise feature
Saves a configuration for an instance level impact metric chart without a feature flag
post/api/admin/impact-metrics/config
Request body
Example request
{
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"metricName": "unleash_counter_feature_toggle_usage_total",
"timeRange": "day",
"yAxisMin": "auto",
"aggregationMode": "rps",
"labelSelectors": {
"environment": [
"development"
],
"project": [
"default"
]
},
"title": "Feature Toggle Usage",
"source": "internal"
}Response
impactMetricsConfigSchema
Example response
{
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"metricName": "unleash_counter_feature_toggle_usage_total",
"timeRange": "day",
"aggregationMode": "rps",
"labelSelectors": {
"environment": [
"development"
],
"project": [
"default"
]
},
"source": "internal",
"displayName": "feature_toggle_usage_total",
"yAxisMin": "auto",
"step": "15m",
"title": "Feature Toggle Usage",
"mode": "write"
}