Tencent / Metis

Metis is a learnware platform in the field of AIOps.
Other
1.68k stars 495 forks source link

测试HTTP接口报错 #98

Open jsyhsz opened 4 years ago

jsyhsz commented 4 years ago

测试http接口:PredictValue 参数: { "viewId":"2020", "viewName":"测试量指标", "attrId":"13301", "attrName":"http请求数", "taskId":"133333", "window":60, "time":"2020-7-14 10:28:00", "dataC":"3,6,9,12,16,19,22,26,29,33,37,40,44,48,52,56,60,64,69,73,77,82,87,91,96,101,106,111,116,122,127,133,138,144,150,156,162,168,175,181,188,195,201,209,216,223,230,238,246,254,262,270,278,287,296,305,314,323,333,342,352,362,372,383,393,404,415,427,438,450,462,474,487,499,512,526,539,553,567,581,596,611,626,642,657,674,690,707,724,741,759,777,796,815,834,854,874,894,915,937,958,981,1003,1026,1050,1074,1098,1123,1149,1175,1201,1228,1256,1284,1313,1342,1372,1402,1433,1465,1497", "dataB":"5,9,13,18,22,27,32,37,42,47,53,58,64,70,76,82,89,95,102,109,117,124,132,140,148,156,165,174,183,193,202,213,223,234,245,256,268,280,292,305,318,331,345,360,375,390,405,422,438,455,473,491,510,529,549,570,591,613,635,658,682,706,731,757,784,811,840,869,899,930,962,995,1029,1064,1099,1136,1175,1214,1254,1296,1339,1383,1428,1475,1523,1573,1624,1677,1731,1787,1845,1904,1965,2028,2093,2160,2229,2300,2373,2448,2525,2605,2687,2772,2859,2949,3041,3136,3234,3336,3440,3547,3657,3771,3888,4009,4133,4261,4393,4528,4668", "dataA":"7,16,26,36,46,57,69,80,93,105,118,132,146,161,177,193,210,227,245,264,283,304,325,347,370,393,418,444,471,499,527,558,589,621,655,690,727,765,805,846,889,933,980,1028,1078,1130,1184,1241,1299,1360,1424,1490,1558,1630,1704,1781,1861,1945,2031,2122,2216" }

报错信息:

Request Method: POST

http://192.168.2.102:8060/PredictValue 1.10.3 ValueError max() arg is an empty sequence /metis/time_series_detector/feature/fitting_features.py in time_series_periodic_features, line 216 /usr/sbin/uwsgi 2.7.5 ['.', '', '/metis', '/metis/app/controller', '/usr/lib64/python27.zip', '/usr/lib64/python2.7', '/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk', '/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7/site-packages', '/usr/lib/python2.7/site-packages'] Tue, 14 Jul 2020 02:23:58 +0000