Skip to content

Release v0.2.1

Choose a tag to compare

@github-actions github-actions released this 20 Jul 10:00
fda1a6f

Notable changes

Add support for the WithRetention option (#22)

Data points will get automatically removed from the disk after a specified period of time after a disk partition was created.

	storage, err := tstorage.NewStorage(
		tstorage.WithDataPath("./data"),
		tstorage.WithRetention(time.Hour*24)
	)

Support writes outside of head partition (#23) by @dpgil

Basically, all data points get ingested into the head partition. But sometimes data points get across the partition boundary, which should get into the next partition. From this version, tstorage doesn't discard them.

Changelog