Re: Flink 1.14 metrics : taskmanager host name missing

2022-02-01 Thread Chesnay Schepler

There is unfortunately no knob for you to turn to get the previous behavior.

The host variable has a number of issues (being inconsistent across 
processes, not being configurable, not being stable (because we just 
forward what we get from the RPC layer)), such that at the moment it 
probably shouldn't be relied on at all.


https://issues.apache.org/jira/browse/FLINK-7198
https://issues.apache.org/jira/browse/FLINK-8358

On 01/02/2022 07:32, Mayur Gubrele wrote:

Hi,

Can someone please take a look at this? It's a major blocker for us.

Thanks,
Mayur

On Fri, Jan 21, 2022 at 2:11 PM Mayur Gubrele 
 wrote:


Hello,

We recently upgraded our Flink cluster to 1.14 and noticed that
all the taskmanager metrics we receive in our Prometheus data
source get host IPs instead of hostnames, which was the case
earlier before we moved to 1.14.

I see on the flink dashboard as well under taskmanager details,
host IPs are being populated now. This is a breaking change for
us. Some of our APIs use this host tag value which used to be the
hostname earlier.

Can you tell us if there's a way we can configure to get hostnames
instead of IPs?

Thanks,
Mayur



Re: Flink 1.14 metrics : taskmanager host name missing

2022-01-31 Thread Mayur Gubrele
Hi,

Can someone please take a look at this? It's a major blocker for us.

Thanks,
Mayur

On Fri, Jan 21, 2022 at 2:11 PM Mayur Gubrele 
wrote:

> Hello,
>
> We recently upgraded our Flink cluster to 1.14 and noticed that all the
> taskmanager metrics we receive in our Prometheus data source get host IPs
> instead of hostnames, which was the case earlier before we moved to 1.14.
>
> I see on the flink dashboard as well under taskmanager details, host IPs
> are being populated now. This is a breaking change for us. Some of our APIs
> use this host tag value which used to be the hostname earlier.
>
> Can you tell us if there's a way we can configure to get hostnames instead
> of IPs?
>
> Thanks,
> Mayur
>


Flink 1.14 metrics : taskmanager host name missing

2022-01-21 Thread Mayur Gubrele
Hello,

We recently upgraded our Flink cluster to 1.14 and noticed that all the
taskmanager metrics we receive in our Prometheus data source get host IPs
instead of hostnames, which was the case earlier before we moved to 1.14.

I see on the flink dashboard as well under taskmanager details, host IPs
are being populated now. This is a breaking change for us. Some of our APIs
use this host tag value which used to be the hostname earlier.

Can you tell us if there's a way we can configure to get hostnames instead
of IPs?

Thanks,
Mayur