Hi,
I have metrics received from collector over channel like "chan<- 
prometheus.Metric".
The 'prometheus.Metric' is an interface with Desc and Write methods from '
github.com/prometheus/client_golang/prometheus' package.

I'd like to send these metrics into another Prometheus using its remote 
write protocol. My question is how to convert received 'prometheus.Metric' 
to 'prompb.Timeseries'
I tried to play with Write method but had no success.

I'd appreciate for any advices.

Regards, Alexey

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Developers" 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-developers/7eab6702-fd94-41cb-a6db-0c81bd54f1c0n%40googlegroups.com.

Reply via email to