Hi,

Team, We are writing our own prometheus reporter to make sure that we are
capturing data in histograms rather than summaries.

We were able to do it successfully in version 1.12.7.

But while upgrading to version 1.14.3 , we find
that MetricRegistryTestUtils is not available in the src code given by
flink in github.

PrometheusReporterTest.java throws error that this file is unavailable

[image: Screen Shot 2022-02-01 at 11.50.09 AM.png]

[image: Screen Shot 2022-02-01 at 11.53.17 AM.png]

The below code is in 1.12.7 but method defaultMetricRegistryConfiguration  is
deprecated in the latest version.

[image: Screen Shot 2022-02-01 at 11.51.46 AM.png]

Looking at the Github link
https://github.com/apache/flink/tree/release-1.14.3-rc1/flink-runtime/src/main/java/org/apache/flink/runtime/metrics
also shows that the MetricRegistryTestUtils is not available. It's not
available in
https://github.com/apache/flink/tree/master/flink-runtime/src/main/java/org/apache/flink/runtime/metrics
master branch as well.

[image: Screen Shot 2022-02-01 at 11.55.19 AM.png]

Could the community please add the Class file in GITHUB.

Thanks,
Prasanna.

Reply via email to