hastic-zzz / hastic-server

Hastic data management server for analyzing patterns and anomalies from Grafana
GNU General Public License v3.0
330 stars 23 forks source link

queering prometheus: max resolution #866

Open jonyrock-back opened 4 years ago

jonyrock-back commented 4 years ago

this is what I get when I have very dense hsr and query on a big range:

Data kit: fail while request data: Request failed with status code 400 query url: "/api/datasources/proxy/5/api/v1/query_range"
Response:         status: 400,         response data: {"status":"error","errorType":"bad_data","error":"exceeded maximum resolution of 11,000 points per timeseries. Try decreasing the query resolution (?step=XX)"},         headers: {"access-control-allow-headers":"Accept, Authorization, Content-Type, Origin","access-control-allow-methods":"GET, OPTIONS","access-control-allow-origin":"*","access-control-expose-headers":"Date","content-type":"application/json","date":"Fri, 28 Feb 2020 03:42:04 GMT","server":"nginx/1.15.5 (Ubuntu)","x-frame-options":"deny","content-length":"159","connection":"close"}

Error: Data kit: fail while request data: Request failed with status code 400
    at Object.<anonymous> (/home/corp/temp_projects/hastic/hastic-server/server/dist/server-dev.js:825:19)
    at Generator.next (<anonymous>)
    at fulfilled (/home/corp/temp_projects/hastic/hastic-server/server/dist/server-dev.js:245:32)
jonyrock-back commented 4 years ago

Steps: