Error using Pre-Aggregates (2.4-RC2)

80 views
Skip to first unread message

Uli Schulze-Eyssing

unread,
Dec 20, 2017, 9:45:20 AM12/20/17
to OpenTSDB
Hi,

I´m trying to use pre-aggregates. I created a test-metric with datapoints having tags x and y
Now I POST this to my api-interface

<host>/api/rollup

{
   
"metric": "t2",
   
"timestamp": 1513685880,
   
"value": 8,
   
"tags": {
       
"x": "1"
   
},
   
"groupByAggregator": "SUM"
}



I get an error and in the logs:

PutDataPointRpc: Invalid tag name with value [SUM]: null: metric=t2 ts=1513685880 value=8 null=SUMx=1 groupByAggregator=SUM interval=null aggregator=null


Seems that opentsdb wants to set _aggregate=SUM, but was missing the "_aggregate".

Whar am I missing? 
Is the tsd.rollups.config mandatory?
Many thanks for any hint,
Uli

ManOLamancha

unread,
Jan 30, 2018, 2:16:44 PM1/30/18
to OpenTSDB
Ah yeah I haven't tested this without enabling tsd.rollups.config. https://github.com/OpenTSDB/opentsdb/issues/1137
Reply all
Reply to author
Forward
0 new messages