Hi,
For the hostname, by default identifier for metrics scoped to
taskmanager contain its hostname. You can read more about metrics
scope here[1].
What do you mean by port? Which port would you like to report?
[1]
https://ci.apache.org/projects/flink/flink-docs-release-1.6/monitoring/metrics.html#system-scope
On 13/09/18 06:07, 郑舒力 wrote:
Hello community,
Is
there a way to get taskmanager hostname and port on runtime?
I’d
like to implement a kafka metric reporter, reporter should be
able to report the taskmanager hostname and port to monitoring
system.
Thanks.