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

Use separate Prometheus CollectorRegistries

    XMLWordPrintableJSON

Details

    • Hide
      The PrometheusReporters now use a separate CollectorRegistry for each reporter instance instead of the singleton default registry.
      This generally shouldn't impact setups, but it may break code that indirectly interacted with the reporter via the singleton instance (e.g., a test trying to assert what metrics are reported).
      Show
      The PrometheusReporters now use a separate CollectorRegistry for each reporter instance instead of the singleton default registry. This generally shouldn't impact setups, but it may break code that indirectly interacted with the reporter via the singleton instance (e.g., a test trying to assert what metrics are reported).

    Description

      The PrometheusReporter uses the singleton collector registry, which means that defining multiple prometheus reporters with different metric filters will not behave as expected.

      Attachments

        Issue Links

          Activity

            People

              chesnay Chesnay Schepler
              chesnay Chesnay Schepler
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: