flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] zentol commented on a change in pull request #6850: [FLINK-10252] Handle oversized metric messges
Date Thu, 18 Oct 2018 07:42:01 GMT
zentol commented on a change in pull request #6850: [FLINK-10252] Handle oversized metric messges
URL: https://github.com/apache/flink/pull/6850#discussion_r226197769
 
 

 ##########
 File path: flink-runtime/src/main/java/org/apache/flink/runtime/metrics/dump/MetricQueryService.java
 ##########
 @@ -70,6 +72,12 @@ public String filterCharacters(String input) {
 	private final Map<Histogram, Tuple2<QueryScopeInfo, String>> histograms = new
HashMap<>();
 	private final Map<Meter, Tuple2<QueryScopeInfo, String>> meters = new HashMap<>();
 
+	private final long maximumFramesize;
+
+	public MetricQueryService(MetricRegistryConfiguration configuration) {
+		this.maximumFramesize = configuration.getMetricMsgMaximumFramesize();
 
 Review comment:
   pass in the maxiumFramesize instead

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message