typo: s/metric_value/metric_name/ and added quotes

This commit is contained in:
Igal Levy 2014-11-06 11:18:30 -08:00
parent 73226f20cc
commit 5a98fcf5b9
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ The topN metric spec specifies how topN values should be sorted.
The simplest metric specification is a String value indicating the metric to sort topN results by. They are included in a topN query with:
```json
"metric": <metric_value_string>
"metric": "<metric_name>"
```
The metric field can also be given as a JSON object. The grammar for dimension values sorted by numeric value is shown below: