Closed vtolstov closed 4 years ago
You should probably just use prometheus' target discovery for this.
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.
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.
I'm going to close this for now.
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