Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-28174

Dynamically resolve StatsD Reporter Host

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • None
    • None
    • Kubernetes Operator

    Description

      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?

      Attachments

        Activity

          People

            Unassigned Unassigned
            emile.alberts Emile
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: