jmark99 commented on a change in pull request #3918: NIFI-6931 Add
status-history graph to track backpressure estimates
URL: https://github.com/apache/nifi/pull/3918#discussion_r368072590
##########
File path:
nifi-commons/nifi-properties/src/main/java/org/apache/nifi/util/NiFiProperties.java
##########
@@ -321,10 +322,13 @@
// analytics defaults
public static final String DEFAULT_ANALYTICS_PREDICTION_ENABLED = "false";
public static final String DEFAULT_ANALYTICS_PREDICTION_INTERVAL = "3
mins";
- public static final String DEFAULT_ANALYTICS_QUERY_INTERVAL = "3 mins";
+ public static final String DEFAULT_ANALYTICS_QUERY_INTERVAL = "5 mins";
public final static String
DEFAULT_ANALYTICS_CONNECTION_MODEL_IMPLEMENTATION =
"org.apache.nifi.controller.status.analytics.models.OrdinaryLeastSquares";
public static final String DEFAULT_ANALYTICS_CONNECTION_SCORE_NAME =
"rSquared";
public static final double DEFAULT_ANALYTICS_CONNECTION_SCORE_THRESHOLD =
.90;
+ // This is the time, below which the status history graph will actively
display
+ // backpressure estimates if prediction analytics are enabled.
+ public static final String DEFAULT_ANALYTICS_STATUS_GRAPH_THRESHOLD = "6
hrs";
Review comment:
It was a value chosen at the suggestion of someone familiar with the
project. Beyond that, no. It can be set to whatever the user desires, but if it
gets too large then the graph can get difficult to read.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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