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

Add options to include/exclude metrics

    XMLWordPrintableJSON

Details

    Description

      I work on Stream Processing team at Yelp. We provide centralized streaming infrastructure for Flink applications within our company. We have many Flink applications running in their own clusters with multiple applications having multiple jobs. Different applications have different usage of Flink metrics and not all applications use all the metrics provided by Flink. I was wondering if Flink can provide a configurable key for ex: metrics.reporter.<name>.scope.metrics.excludes or metrics.scope.excludes which can take a list of metric names that can be excluded by Flink metrics library. This will help us to scrape only the relevant metrics at an applications level and not bloat up our metrics infrastructure with metrics that are never used. We would like to use this with Prometheus Exporter.

      We can solve this at our end by writing a custom metric reporter which can provide this functionality. I think community can benefit from such an option directly provided by Flink. What do you think?

      Attachments

        Issue Links

          Activity

            People

              chesnay Chesnay Schepler
              akhatkar Ashish Khatkar
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: