[
https://issues.apache.org/jira/browse/FLINK-28174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17556867#comment-17556867
]
Martijn Visser commented on FLINK-28174:
----------------------------------------
[~emile.alberts] That's great, thank you for that!
> 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: Major
> Labels: question
>
> I'm trying to use the StatsD metrics reporter with the Flink Kubernetes
> Operator. These are the default configurations that I'm using:
> {code:yaml}
> 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
> {code}
> 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)