RedisTimeSeries / NRedisTimeSeries

.Net Client for RedisTimeSeries
https://redistimeseries.io
BSD 3-Clause "New" or "Revised" License
29 stars 12 forks source link

Add GROUPBY and REDUCE support #64

Closed gkorland closed 3 years ago

gkorland commented 3 years ago

Expected argument extension to TS.MRANGE: GROUPBY <label> REDUCE <reducer>

TS.MRANGE 1451679382646 1451682982646 WITHLABELS 
AGGREGATION MAX 60000 
FILTER measurement=cpu 
      fieldname=usage_user 
      hostname=(host_9,host_3,host_5,host_1,host_7,host_2,host_8,host_4)
GROUPBY hostname REDUCE MAX

Return Value

Array-reply, specifically it should include the following labels:

Labels:

AvitalFineRedis commented 3 years ago

48 Do you mean this? @gkorland

gkorland commented 3 years ago

You're right sorry forgot you already did it :)