Merge pull request #231 from carmanzhang/monitor

changed default prometheus query timeout to 10 seconds
This commit is contained in:
zryfish
2018-12-06 23:20:34 +08:00
committed by GitHub

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"