Re: Service discovery for flink-metrics-prometheus
Posted by
Dongwon Kim-2 on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Service-discovery-for-flink-metrics-prometheus-tp17271p21990.html
Hi all,
I also suffer from the lack of service discovery for flink-metrics-prometheus while using YARN for deployment, Prometheus for instrumentation, and Flink for stream processing.
Hope it can be helpful for your use case.
Best,
- Dongwon
https://github.com/eastcirclek/flink-service-discovery
Yes, the logs are the only way to find
out which port the reporter is bound to.
We may be able to display this information in the web-UI, but it
isn't very high on my list and will probably require
modifications to the reporter interface.
On 06.01.2018 04:24, Kien Truong wrote:
Hi,
We are using YARN for deployment, so the
combination of host&port for the Prometheus reporters can be
really random depending on how the containers are co-located.
One option we thought of was scrapping the log for
this information, but it can be really messy in the long run.
Regards,
Kien
On Jan 5, 2018, at 03:53, Stephan Ewen
<
[hidden email]> wrote:
How are you running deploying your Flink
processes? For Service Discovery for Prometheus on
Kubernetes, there are a few articles out there...