|
@@ -207,16 +207,8 @@ GET /_xpack/usage
|
|
|
"inference": {
|
|
|
"available" : true,
|
|
|
"enabled" : true,
|
|
|
- "models" : [{
|
|
|
- "service": "elasticsearch",
|
|
|
- "task_type": "SPARSE_EMBEDDING",
|
|
|
- "count": 1
|
|
|
- },
|
|
|
- {
|
|
|
- "service": "elasticsearch",
|
|
|
- "task_type": "TEXT_EMBEDDING",
|
|
|
- "count": 1
|
|
|
- },
|
|
|
+ "models" : [
|
|
|
+ ...
|
|
|
]
|
|
|
},
|
|
|
"logstash" : {
|
|
@@ -523,7 +515,10 @@ GET /_xpack/usage
|
|
|
"available": true,
|
|
|
"enabled": false,
|
|
|
"indices_count": 0,
|
|
|
- "indices_with_synthetic_source": 0
|
|
|
+ "indices_with_synthetic_source": 0,
|
|
|
+ "num_docs": 0,
|
|
|
+ "size_in_bytes": 0,
|
|
|
+ "has_custom_cutoff_date": false
|
|
|
}
|
|
|
}
|
|
|
------------------------------------------------------------
|
|
@@ -535,6 +530,7 @@ GET /_xpack/usage
|
|
|
// TESTRESPONSE[s/"policy_stats" : \[[^\]]*\]/"policy_stats" : $body.$_path/]
|
|
|
// TESTRESPONSE[s/"slm" : \{[^\}]*\},/"slm" : $body.$_path,/]
|
|
|
// TESTRESPONSE[s/"health_api" : \{[^\}]*\}\s*\}/"health_api" : $body.$_path/]
|
|
|
+// TESTRESPONSE[s/"models" : \[[^\]]*\]/"models" : $body.$_path/]
|
|
|
// TESTRESPONSE[s/"data_streams" : \{[^\}]*\},/"data_streams" : $body.$_path,/]
|
|
|
// TESTRESPONSE[s/ : true/ : $body.$_path/]
|
|
|
// TESTRESPONSE[s/ : false/ : $body.$_path/]
|
|
@@ -551,4 +547,5 @@ GET /_xpack/usage
|
|
|
// 5. All of the numbers and strings on the right hand side of *every* field in
|
|
|
// the response are ignored. So we're really only asserting things about the
|
|
|
// the shape of this response, not the values in it.
|
|
|
-// 6. Ignore the contents of data streams until the failure store is tech preview.
|
|
|
+// 6. Ignore the contents of the `inference.models` array because the models might not yet have been initialized
|
|
|
+// 7. Ignore the contents of data streams until the failure store is tech preview.
|