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"
}Changes
Changed in 1 of the 7 revisions of this API.14
- ▲
removed the required property
from the response with the statusresponse-required-property-removed
- ○
api tag
Metricsaddedapi-tag-added
- ○
api tag
Unstableremovedapi-tag-removed
- ○
added the new optional request property
new-optional-request-property
- ○
added the optional property
to the response with the statusresponse-optional-property-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲