[Metrics UI] Fix filterQuery on Inventory alert preview (#73329)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
0b3dab7318
commit
48bb7c79c4
|
@ -364,7 +364,7 @@ export const Expressions: React.FC<Props> = (props) => {
|
||||||
<AlertPreview
|
<AlertPreview
|
||||||
alertInterval={alertInterval}
|
alertInterval={alertInterval}
|
||||||
alertType={METRIC_INVENTORY_THRESHOLD_ALERT_TYPE_ID}
|
alertType={METRIC_INVENTORY_THRESHOLD_ALERT_TYPE_ID}
|
||||||
alertParams={pick(alertParams as any, 'criteria', 'nodeType', 'sourceId')}
|
alertParams={pick(alertParams as any, 'criteria', 'nodeType', 'sourceId', 'filterQuery')}
|
||||||
validate={validateMetricThreshold}
|
validate={validateMetricThreshold}
|
||||||
fetch={alertsContext.http.fetch}
|
fetch={alertsContext.http.fetch}
|
||||||
groupByDisplayName={alertParams.nodeType}
|
groupByDisplayName={alertParams.nodeType}
|
||||||
|
|
Loading…
Reference in a new issue