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

Expose MetricGroup in FlinkResourceListener interface to allow users to create custom metrics per cluster

    XMLWordPrintableJSON

Details

    Description

      The operator supports pluggable FlinkResourceListener which provides the events & deployment status. However, such interface does not expose MetricManager/any way to create custom meters.
      Which means that if users would like to create custom metrics per deployments(failures rate, scaling counter, any other metric per events) there is no way to attach it via operator metric system.

      There are some basic metrics created per namespace in

      org.apache.flink.kubernetes.operator.metrics.FlinkDeploymentMetrics

      My suggestion is to expose either operator metric manager or another entity which provides a way to create meters(and internally registers them via MetricManager) in FlinkResourceListener interface.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tamirsagi Tamir Sagi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: