You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanos, Prometheus and Golang version used:
thanos v0.19.0-rc.0
Object Storage Provider:
S3
What happened:
I tried to rewrite some blocks in dry-run for now and I am not happy with the output...
I tried to add multiple matchers (either by multiple arrays or multiple label matchers) and for both solution, it is doing an "OR" matcher and not an "AND" matcher like prometheus:
cat the change.log and see that all "up" metrics are deleted wether or not part of "anyjob", and some "non up" metrics are deleted from the job "anyjob".
Anything else we need to know:
I would also expect something like:
Thanos, Prometheus and Golang version used:
thanos v0.19.0-rc.0
Object Storage Provider:
S3
What happened:
I tried to rewrite some blocks in dry-run for now and I am not happy with the output...
I tried to add multiple matchers (either by multiple arrays or multiple label matchers) and for both solution, it is doing an "OR" matcher and not an "AND" matcher like prometheus:
For example if I try:
It will delete ALL timeseries of the job "job-to-delete" AND all metrics "up" from all other jobs as well.
Same if I try something like:
What you expected to happen:
I would like only the "up" metrics of the job "job-to-delete" to be removed
How to reproduce it (as minimally and precisely as possible):
Dry run a deletion with a matcher for a common metric (up) and a job:
cat
the change.log and see that all "up" metrics are deleted wether or not part of "anyjob", and some "non up" metrics are deleted from the job "anyjob".Anything else we need to know:
I would also expect something like:
to never match and delete anything.
The text was updated successfully, but these errors were encountered: