zentol commented on a change in pull request #7582: [FLINK-11424][metrics]fix
remove error type Gauge in DatadogHttpReporter
URL: https://github.com/apache/flink/pull/7582#discussion_r252625671
##########
File path:
flink-metrics/flink-metrics-datadog/src/main/java/org/apache/flink/metrics/datadog/DatadogHttpReporter.java
##########
@@ -117,7 +117,7 @@ public void close() {
@Override
public void report() {
DatadogHttpRequest request = new DatadogHttpRequest();
-
+ List<Gauge> notNumberGauges = new ArrayList<>();
Review comment:
while the common use-case a gauge throwing an arbitrary exception also ends
up in this list, even if it works with Numbers.
Rename to `gaugesToRemove`.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services