Skip to content

Commit

Permalink
Update the comments.
Browse files Browse the repository at this point in the history
Signed-off-by: Zhikai Chen <snoopy_czk@126.com>
  • Loading branch information
Zhikai-VM committed Apr 27, 2024
1 parent e6bad8f commit 15e994e
Showing 1 changed file with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,15 @@
* },{
* "field": "host"
* }],
* "order": {"max-cpu": "desc"}
* "order": [{
* "max-cpu": "desc"
* },{
* "max-memory": "desc"
* }]
* },
* "aggs": {
* "max-cpu": { "max": { "field": "cpu" } }
* "max-cpu": { "max": { "field": "cpu" } },
* "max-memory": { "max": { "field": "memory" } }
* }
* }
* }
Expand All @@ -80,6 +85,9 @@
* "doc_count": 2,
* "max-cpu": {
* "value": 90.0
* },
* "max-memory": {
* "value": 80.0
* }
* },
* {
Expand All @@ -91,6 +99,9 @@
* "doc_count": 2,
* "max-cpu": {
* "value": 70.0
* },
* "max-memory": {
* "value": 90.0
* }
* }
* ]
Expand Down

0 comments on commit 15e994e

Please sign in to comment.