Skip to content

Ability to delete series on a series-by-series basis #9639

Closed
@e-dard

Description

Currently the tsdb.Shard API allows a caller to delete a series across a range of time. For some use-cases we would like to be able to decide whether to delete a series according to some property of the series key.

In this case we could provide another method on the Shard to pass in both a range of time and a predicate, where the predicate would check each series key and decide if it should be deleted or not.

Metadata

Assignees

Labels

difficulty/mediumResolving this issue should take up to a week

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions