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/20200721084253.GA110229%40oxygen.

Reply via email to