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/CAHJKeLovGgLYNMSTAA%3DUzdmnm8xWVh_K4sOEiLQVvN9Z7TCbPQ%40mail.gmail.com.