Values.CreateAnomalyDetectorRequestSourceCreates an anomaly detector within a workspace using the Random Cut Forest algorithm for time-series analysis. The anomaly detector analyzes Amazon Managed Service for Prometheus metrics to identify unusual patterns and behaviors.
type nonrec t = {workspaceId : WorkspaceId.t;The identifier of the workspace where the anomaly detector will be created.
*)alias : AnomalyDetectorAlias.t;A user-friendly name for the anomaly detector.
*)evaluationIntervalInSeconds : AnomalyDetectorEvaluationInterval.t option;The frequency, in seconds, at which the anomaly detector evaluates metrics. The default value is 60 seconds.
*)missingDataAction : AnomalyDetectorMissingDataAction.t option;Specifies the action to take when data is missing during evaluation.
*)configuration : AnomalyDetectorConfiguration.t;The algorithm configuration for the anomaly detector.
*)labels : CreateAnomalyDetectorRequestLabelsMap.t option;The Amazon Managed Service for Prometheus metric labels to associate with the anomaly detector.
*)clientToken : IdempotencyToken.t option;A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
*)}val make :
?evaluationIntervalInSeconds:??? ->
?missingDataAction:??? ->
?labels:??? ->
?clientToken:??? ->
?tags:??? ->
workspaceId:WorkspaceId.t ->
alias:AnomalyDetectorAlias.t ->
configuration:AnomalyDetectorConfiguration.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Integer of AnomalyDetectorEvaluationInterval.t
| `Map of
([> `String of PrometheusMetricLabelKey.t ]
* [> `String of PrometheusMetricLabelValue.t ])
list
| `String of WorkspaceId.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Structure of
(string
* [> `Integer of
RandomCutForestConfigurationShingleSizeInteger.t
| `String of RandomCutForestQuery.t
| `Structure of
(string
* [> `Double of IgnoreNearExpectedAmountDouble.t ])
list ])
list ])
list ])
list ]