Save instance level impact metrics configuration
Enterprise feature
Saves a configuration for an instance level impact metric chart without a feature flag
Authentication
Authorizationstring
API key needed to access this API
OR
AuthorizationBearer
API key needed to access this API, in Bearer token format
Request
createImpactMetricsConfigSchema
metricName
The Prometheus metric series to query. It includes both unleash prefix and metric type and display name
timeRange
The time range for the metric data.
Allowed values:
yAxisMin
Whether the chart should begin at zero on the y-axis.
Allowed values:
aggregationMode
The aggregation mode for the metric data.
labelSelectors
The selected labels and their values for filtering the metric data.
id
The unique ULID identifier for this impact metric configuration. Generated automatically if not provided.
title
Optional title for the impact metric chart.
Response
impactMetricsConfigSchema
id
The unique ULID identifier for this impact metric configuration. Generated automatically if not provided.
metricName
The Prometheus metric series to query. It includes both unleash prefix and metric type and display name
timeRange
The time range for the metric data.
Allowed values:
aggregationMode
The aggregation mode for the metric data.
labelSelectors
The selected labels and their values for filtering the metric data.
type
The type of metric
Allowed values:
displayName
The human readable display name of the impact metric
yAxisMin
Whether the chart should begin at zero on the y-axis.
Allowed values:
step
The step interval for querying metrics data. This is automatically calculated from the timeRange and stored when the metric is created or updated.
Allowed values:
title
Optional title for the impact metric chart.
mode
The access mode for this impact metric configuration: “read” when referenced by a safeguard, “write” otherwise.
Allowed values: