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