On Tue, 14 Apr 2020 at 13:47, Sergey Urushkin <[email protected]> wrote:
> Forgot to mention: > # prometheus --version > prometheus, version 2.17.1 (branch: HEAD, revision: > ae041f97cfc6f43494bed65ec4ea4e3a0cf2ac69) > build user: root@806b02dfe114 > build date: 20200326-16:18:19 > go version: go1.13.9 > > What builds are not affected then? > That should work then, you're probably still ingesting this metric. Brian > > вторник, 14 апреля 2020 г., 15:26:52 UTC+3 пользователь Brian Brazil > написал: >> >> On Tue, 14 Apr 2020 at 12:18, Sergey Urushkin <[email protected]> wrote: >> >>> Hello, >>> I'm wondering is there a way to remove metric completely. >>> After running : >>> /api/v1/admin/tsdb/delete_series?match[]={__name__=~"bad_metric_.*"} >>> /api/v1/admin/tsdb/clean_tombstones >>> And even restarting prometheus, they are still appearing in >>> autocompletion in the prometheus and grafana ui (while all values are >>> removed because of the admin-api calls). >>> >> >> That should work, but it didn't always in all versions. >> >> >>> Is there a way to clean/refresh/rescan metrics for autocompletion. Or >>> should I file an issue? >>> >> >> This isn't a bug per-se, auto complete and so on can return false >> positives for various implementation reasons. >> >> -- >> Brian Brazil >> www.robustperception.io >> > -- > You received this message because you are subscribed to the Google Groups > "Prometheus Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-users/fb227510-89c3-4024-aba6-21ff4747f48a%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/fb227510-89c3-4024-aba6-21ff4747f48a%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Brian Brazil www.robustperception.io -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAHJKeLq-RSo3MkvuQAcq4CXyUGhocBvS_do9R%2BPTZGr-1DCDEQ%40mail.gmail.com.

