Thanks a lot for the advice, Stuart.
After some research, I found that I can use Opentelemtry to build the 
metrics pipeline I need.
They recently developed a remote write exporter for their python SDK.
I'm attaching a link to the project in case you or anyone else is 
interested:
https://github.com/open-telemetry/opentelemetry-python-contrib/tree/release/0.17b0/exporter/opentelemetry-exporter-prometheus-remote-write
Thanks for your help.
Yotam loewenbach
On Friday, February 12, 2021 at 7:46:01 PM UTC+2 Stuart Clark wrote:

> On 11/02/2021 14:06, Yotam Loewenbach wrote:
> > Hey, Stuart thanks for your answer.
> > I will look into my remote storage client libraries.
> > I guess I'm just trying to reduce the complexity because all I really 
> > need is to send my custom metrics to remote storage, and I don't want 
> > to use Prometheus in the middle.
> > The metrics pipeline I'm trying to build is:
> > MyApp ->  remote storage, instead of:
> > MyApp -> prometheus -> remote storage
> >
> Fair enough. So you probably want to be looking at the docs for your 
> remote storage system/asking them questions as it would be totally 
> bypassing Prometheus.
>
> While such a solution might be simpler in one way (metrics don't go via 
> a Prometheus server) it is more complex in another - if the remote 
> storage system isn't specifically designed for metrics (i.e. is a more 
> generic database system) you would likely find that their client 
> libraries are just basic "write this value" or "run this query" type 
> actions. You could look at the graphite bridge code and create something 
> similar with your chosen storage client library.
>
> -- 
> Stuart Clark
>
>

-- 
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/7ce87be2-0f08-4662-8a5f-223bbba60435n%40googlegroups.com.

Reply via email to