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:34:00 UTC

[jira] [Updated] (FLINK-28174) Dynamically resolve StatsD Reporter Host

     [ https://issues.apache.org/jira/browse/FLINK-28174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emile updated FLINK-28174:
--------------------------
    Component/s: Kubernetes Operator

> Dynamically resolve StatsD Reporter Host
> ----------------------------------------
>
>                 Key: FLINK-28174
>                 URL: https://issues.apache.org/jira/browse/FLINK-28174
>             Project: Flink
>          Issue Type: Bug
>          Components: Kubernetes Operator
>            Reporter: Emile
>            Priority: Blocker
>
> 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)