diff --git a/pkg/query/api/v1.go b/pkg/query/api/v1.go index ab127c7cc29..ae0a4e4eaf6 100644 --- a/pkg/query/api/v1.go +++ b/pkg/query/api/v1.go @@ -277,7 +277,9 @@ func (api *API) queryRange(r *http.Request) (interface{}, []error, *apiError) { return nil, nil, &apiError{errorBadData, err} } - maxSourceResolution := step / 5 // By default fit at least 5 samples between steps. + // TODO(bplotka): Enable downsampling by default (step / 5) once downsampling will be stable (experimental now). + // Details: https://github.com/improbable-eng/thanos/issues/376 + maxSourceResolution := 0 * time.Second if val := r.FormValue("max_source_resolution"); val != "" { maxSourceResolution, err = parseDuration(val) if err != nil {