Getting : Status: 504. Message: Post “http://localhost:9090/api/v1/query_range”: net/http: timeout awaiting response headers
error in Grafana dashboard while querying cpu utilisation of my servers.
this error comes only when the time period of data is set to 30days or more none of the other other metrics such as network , memory are showing this error.
similarly getting
504 Gateway Time-out
504 Gateway Time-out
nginx/1.18.0 (Ubuntu)
Object
status:504
statusText:“Gateway Time-out”
data:Object
message:" 504 Gateway Time-out
504 Gateway Time-out
nginx/1.18.0 (Ubuntu) "
error:“Gateway Time-out”
response:" 504 Gateway Time-out
504 Gateway Time-out
nginx/1.18.0 (Ubuntu) "
config:Object
url:“api/ds/query?ds_type=prometheus&requestId=Q207”
method:“POST”
data:Object
requestId:“Q207”
hideFromInspector:false
headers:Object
retry:0
traceId:undefined
message:" 504 Gateway Time-out
504 Gateway Time-out
nginx/1.18.0 (Ubuntu) "