Thanks I’ll give that a try. So out of curiosity why wouldn’t my config before 
work?

Sent from my iPhone

> On 21 Jul 2020, at 09:42, Julien Pivotto <[email protected]> wrote:
> 
> On 21 Jul 01:34, ryan woods wrote:
>> Hey guys,
>> 
>> Trying to drop all metrics except a select few at time of writing to remote 
>> storage, the config I'm using to do so is the below:
>> 
>>      remoteWrite:
>>> 
>>>        - url: 
>>>> 'http://prometheus-adapter.monitoring.svc.cluster.local:9201/write'
>>> 
>>>          write_relabel_configs:
>>> 
> 
>             - source_labels: [__name__]
>               regex: 'ceph.*|pg_.*'|node.*'
>               action: keep
> 
> That should be enough.
> 
> 
> -- 
> Julien Pivotto
> @roidelapluie

-- 
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/4CC463E0-C639-4583-8762-85B5FF80663E%40gmail.com.

Reply via email to