We currently add a label to the target scrape job to give a bit of context to the service the host provides and route alerts based on service. After reviewing some targets, I noticed the service label is incorrect in a few cases so have attempted to update the configuration.
Following the configuration update, I can see the new metric data now includes the update service label (as I intended) however all the old metric data still uses the old label value. While this is not a major issue, it has caused some issues with our dashboards when displaying historical data as essential its see’s two different scraped targets. Is there anyway to update/edit all historical metrics which match a certain label and value? From what I can tell the Prometheus HTTP API does not seem to provide this functionality? Any input would be appreciated. Thank you -- 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/3efc4c1a-7101-4ea7-9b56-65540169e5ean%40googlegroups.com.

