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


On Thursday, February 11, 2021 at 2:04:59 PM UTC+2 Stuart Clark wrote:

> On 2021-02-11 10:31, Yotam Loewenbach wrote:
> > Hey community, does anyone got experience with exporting custom
> > metrics from python code straight to remote storage endpoint (m3db or
> > other), without Prometheus scraping it first and then export it via
> > remote write? Is there a way to achieve it with prometheus client
> > library?
>
> If you are wanting to send things straight to one of the remote write 
> destinations you'd need to use whatever client library they provide, 
> making sure you format the metrics in whichever format they require 
> (which is likely custom to each destination). As that's nothing to do 
> with Prometheus, the client library wouldn't really help.
>
> If you are talking about ingesting metrics into a Prometheus server 
> without scraping, then that's not possible (bar the experimental 
> backfill work using OpenMetrics) as it is not the design that Prometheus 
> uses.
>
> However if you are looking to be using the Python Prometheus client 
> library already what is the issue with scraping your application in the 
> normal way?
>
> -- 
> 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/4a33fb5c-6865-4391-8c75-bb83d973e417n%40googlegroups.com.

Reply via email to