tstorage icon indicating copy to clipboard operation
tstorage copied to clipboard

Unable to load previous metrics

Open akash-rp opened this issue 2 years ago • 2 comments

Hi, I am getting follwing error while loading data from disk. failed to open disk partition for /usr/Hosting/metrics/p-1646741592161-1646741652162: failed to perform mmap: cannot allocate memory Metrics pointer is nil. my code

metrics, err = tstorage.NewStorage(
			tstorage.WithTimestampPrecision(tstorage.Milliseconds),
			tstorage.WithDataPath("/usr/Hosting/metrics"),
			tstorage.WithWALBufferedSize(0),
		)
		if err != nil {
			log.Print(err.Error())
		}

akash-rp avatar Mar 19 '22 12:03 akash-rp

@akash-rp Hi, thanks for your report. Sorry but I'm a little bit busy now so I will be back as soon as possible.

nakabonne avatar Mar 20 '22 04:03 nakabonne

Any updates?

akash-rp avatar Mar 29 '22 16:03 akash-rp