changed default prometheus query timeout to 10 seconds

This commit is contained in:
Carman Zhang
2018-12-06 21:54:37 +08:00
parent e40833c2a7
commit bf022a19fe

View File

@@ -31,7 +31,7 @@ const (
DefaultPrometheusPort = "9090"
PrometheusApiPath = "/api/v1/"
DefaultQueryStep = "10m"
DefaultQueryTimeout = "30s"
DefaultQueryTimeout = "10s"
RangeQueryType = "query_range?"
DefaultQueryType = "query?"
PrometheusAPIServerEnv = "PROMETHEUS_API_SERVER"