You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Emile (Jira)" <ji...@apache.org> on 2022/06/21 10:33:00 UTC
[jira] [Created] (FLINK-28174) Dynamically resolve StatsD Reporter Host
Emile created FLINK-28174:
-----------------------------
Summary: Dynamically resolve StatsD Reporter Host
Key: FLINK-28174
URL: https://issues.apache.org/jira/browse/FLINK-28174
Project: Flink
Issue Type: Bug
Reporter: Emile
I'm trying to use the StatsD metrics reporter with the Flink Kubernetes Operator. These are the default configurations that I'm using:
```
defaultConfiguration:
create: true
append: true
flink-conf.yaml: |+
kubernetes.operator.metrics.reporter.stsd.factory.class:
org.apache.flink.metrics.statsd.StatsDReporterFactory
kubernetes.operator.metrics.reporter.stsd.host: localhost
kubernetes.operator.metrics.reporter.stsd.port: 8125
```
However, instead of using localhost, I want to dynamically resolve the host. Instead of `localhost` as the host, I want to use the value from the field path `status.hostIP`.
Is this currently possible? If so can you provide assistance, please?
--
This message was sent by Atlassian Jira
(v8.20.7#820007)