Sorry for the  'screenshot images' and  thanks for your reply.

There are some inner metrics in Prometheus to expose targets status. Refer 
to 
this 
https://github.com/prometheus/prometheus/blob/ec3d02019e84d9d793d2e137891dd7ea6d19ea60/scrape/scrape.go#L1662

I can query on Prometheus, but no data on remote storage according to the 
above configuration.

I want to write these inner metrics to our remote storage.


On Monday, April 18, 2022 at 6:58:45 PM UTC+8 Brian Candler wrote:

> (Please don't post screenshot images - they are hard to read, and 
> impossible to copy-paste from)
>
> What are you trying to do? Your rewriting config says:
>
> 1. If the label name is "up", then keep the metric.
> 2. Otherwise, keep the metric. (This is the default if you reach the end 
> of the ruleset)
>
> Hence it does nothing: it keeps all metrics.
>
> On Monday, 18 April 2022 at 09:56:35 UTC+1 [email protected] wrote:
>
>> UP metrics is inner metrics.
>> But why can't it be rewrite?
>> Is there any mistake?
>> [image: 微信图片_20220418164419.png]
>>
>

-- 
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/c6225a54-3acc-455b-bb12-5bda8c3f791dn%40googlegroups.com.

Reply via email to