Skip to content

Commit 79e2bf8

Browse files
authored
Update joins.md
1 parent 99e97c5 commit 79e2bf8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/metrics/introduction/joins.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,9 @@ The easiest way to analyze this query is going from the end backwards. In this q
212212
An advanced version of this query shows all metrics of `CPU_LoadAvg` for 1 minute, 5 minutes, and 15 minutes for top three servers according to the `CPU_LoadAvg_1min` (in the result sets returned by rows #A, #D and #E):
213213

214214
```sql
215-
#A: _sourceHost=nite-metricsstore-* CPU_LoadAvg_1min | topk(3,avg)
216-
#B: _sourceHost=nite-metricsstore-* CPU_LoadAvg_5min
217-
#C: _sourceHost=nite-metricsstore-* CPU_LoadAvg_15min
215+
#A: _sourceHost=nite-metricsstore-* metric=CPU_LoadAvg_1min | topk(3,avg)
216+
#B: _sourceHost=nite-metricsstore-* metric=CPU_LoadAvg_5min
217+
#C: _sourceHost=nite-metricsstore-* metric=CPU_LoadAvg_15min
218218
#D: (#B + 0 * #A) along _sourceHost
219219
#E: (#C + 0 * #A) along _sourceHost
220220
```

0 commit comments

Comments
 (0)