"Is there anyway to update/edit all historical metrics which match a 
certain label and value?"

No

a z schrieb am Montag, 24. August 2020 um 18:51:11 UTC+2:

>
> 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/c960382b-e250-4866-8de7-432f49b1ec99n%40googlegroups.com.

Reply via email to