You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/resources/machine_learning_job.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,14 +17,15 @@ A job defines the queries and model parameters for a machine learning task.
17
17
18
18
### Required
19
19
20
-
-`datasource_id` (Number) The id of the datasource to query.
21
20
-`datasource_type` (String) The type of datasource being queried. Currently allowed values are prometheus, graphite, loki, postgres, and datadog.
22
21
-`metric` (String) The metric used to query the job results.
23
22
-`name` (String) The name of the job.
24
23
-`query_params` (Map of String) An object representing the query params to query Grafana with.
25
24
26
25
### Optional
27
26
27
+
-`datasource_id` (Number) The id of the datasource to query.
28
+
-`datasource_uid` (String) The uid of the datasource to query.
28
29
-`description` (String) A description of the job.
29
30
-`hyper_params` (Map of String) The hyperparameters used to fine tune the algorithm. See https://grafana.com/docs/grafana-cloud/machine-learning/models/ for the full list of available hyperparameters. Defaults to `map[]`.
30
31
-`interval` (Number) The data interval in seconds to train the data on. Defaults to `300`.
0 commit comments