-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Closed
Closed
Copy link
Labels
Feature:Logs UILogs UI featureLogs UI featureTeam:Infra Monitoring UI - DEPRECATEDDEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_servicesDEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_serviceschore
Milestone
Description
ML has the function mlAnomalySearch which is shared via the setup contract and can be used to search the anomaly index.
mlAnomalySearch is a simple wrapper around the standard elasticsearch search function, but also adds some additional checks.
Currently only a license check is performed, but it will soon perform a user capabilities check and once ML introduces space aware jobs, it will ensure the jobs being searched are available in the current space.
Rather than calling
callAsCurrentUser('search', {
index: '.ml-anomalies-*',
body: {.......}
})
you can call
mlAnomalySearch({
body: {......}
})
Note, index can be omitted as '.ml-anomalies-*' is hardcoded.
Metadata
Metadata
Assignees
Labels
Feature:Logs UILogs UI featureLogs UI featureTeam:Infra Monitoring UI - DEPRECATEDDEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_servicesDEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_serviceschore