Hello,

We noticed that after upgrading to Flink 1.11, the StatsD metric prefix is
changed from the hostname to IP address of the task manager.

The Flink job runs in a k8s cluster.

Here is an example of metric reported to StatsD in Flink 1.10:

flink-ingest-cx-home-page-feed-flink-task-manager-7f8c7677l85pl.taskmanager.16c2dbc84eb27f336455615e642c6cdd.flink-ingest-cx-home-page-feed.Source-
Custom Source.1.assigned-partitions:3.0|g

Here is an example of metric reported to StatsD in Flink 1.11:

10.4.155.205.taskmanager.0a900ab762d7d534ea8b20e84438166b.flink-ingest-xp-xp.Source-
Custom Source.0.assigned-partitions:3.0|g

This caused a problem for us as StatsD interprets the segment before
the first dot as the source. So after upgrading to 1.11, the task
manager metrics all have "10" as the source.

Is there any configuration to change this behavior back to the 1.10 version
where the prefix of the metric is the host name?

Thanks,
Allen

Reply via email to