Deletes selected data

PUT {{baseUrl}}/admin/tsdb/delete_series?match[]=&start=irure&end=irure

DeleteSeries deletes data for a selection of series in a time range. The actual data still exists on disk and is cleaned up in future compactions or can be explicitly cleaned up by hitting the Clean Tombstones endpoint.

New in v2.1 and supports PUT from v2.9

Request Params

KeyDatatypeRequiredDescription
match[]null(Required) Repeated label matcher argument that selects the series to delete. At least one match[] argument must be provided.

Example: ?match[]=up&match[]=process_start_time_seconds{job="prometheus"}' | | start | string | | Start timestamp. Optional and defaults to minimum possible time. | | end | string | | End timestamp. Optional and defaults to maximum possible time.

Not mentioning both start and end times would clear all the data for the matched series in the database. |