You remove it only from alerts, using alert_relabel_configs <https://prometheus.io/docs/prometheus/latest/configuration/configuration/#alert_relabel_configs>. The forum link I posted before has a working example config.
-- 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/363c41b7-96f9-4548-85bb-ab56299f7447%40googlegroups.com.

