QubitProducts / exporter_exporter

A reverse proxy designed for Prometheus exporters
Apache License 2.0
336 stars 55 forks source link

Use as library package #21

Closed vtolstov closed 4 years ago

vtolstov commented 5 years ago

I have 29 microservices and want to provide it metrics from single endpoint. Now I'm write some code by hand to get metrics from instances and provide output

tcolgate commented 5 years ago

You should probably just use prometheus' target discovery for this.

vtolstov commented 5 years ago

i know, but this is not needed, i'm already know ip address of endpoints, that knows about all services. So i want to provide metrics from this endpoints.

tcolgate commented 5 years ago

Sorry, I'm not really following what you want to acheive. I'm not opposed to refactoring as a library (it could result in more testable code), but I'm not sure what you are trying to achieve, so am not really sure what the API would look like.

tcolgate commented 4 years ago

I'm going to close this for now.