diff --git a/pkg/tsdb/graphite/graphite.go b/pkg/tsdb/graphite/graphite.go index 0464a21121e..fa8b0166ded 100644 --- a/pkg/tsdb/graphite/graphite.go +++ b/pkg/tsdb/graphite/graphite.go @@ -109,7 +109,7 @@ func (s *Service) QueryData(ctx context.Context, req *backend.QueryDataRequest) "from": []string{from}, "until": []string{until}, "format": []string{"json"}, - "maxDataPoints": []string{"500"}, + "maxDataPoints": []string{fmt.Sprintf("%d", q.MaxDataPoints)}, "target": []string{}, }