NIFI-6586 - Code comments and doc updates#3671
NIFI-6586 - Code comments and doc updates#3671YolandaMDavis wants to merge 1 commit intoapache:analytics-frameworkfrom
Conversation
|
|
||
| /** | ||
| * Get available predictions | ||
| * @return map |
There was a problem hiding this comment.
We should note what the keys/values are/mean.
There was a problem hiding this comment.
I.e. what is the string, what is the long.
There was a problem hiding this comment.
@achristianson thanks for the feedback, I've made changes to clarify this
|
|
||
| /** | ||
| * <p> | ||
| * An implementation of {@link StatusAnalyticsEngine} that supports caching of ConnectionStatusAnalytics objects |
There was a problem hiding this comment.
We may want to go in some detail about caching policy, as well as the nature of the cache (in-memory, size, etc.).
There was a problem hiding this comment.
Makes sense, have added info
ai-christianson
left a comment
There was a problem hiding this comment.
Thanks for taking the time to put together good code documentation. Nothing stuck out which would be a blocker, but I left a couple notes on things that we could potentially expound.
f821eee to
92c8cf0
Compare
|
@achristianson I made a few more changes to include some detail on the framework in the user and admin guides. Also I figured out my issue with seeing docs updated locally so I moved this PR out of draft mode. |
e9986c2 to
dbbd41b
Compare
|
@YolandaMDavis I rebased |
2931fd0 to
81a778f
Compare
81a778f to
bed5d9b
Compare
|
@achristianson merged this request so closing PR manually |
|
|
||
| Hovering over the queue will also reveal predicted statistics on when the queue may encounter back pressure, either due to the object count or content size meeting the current threshold | ||
| settings. Predictions will only be available when NiFi has enough data in it's internal repository and if it's model is accurate enough to broadcast a prediction. | ||
|
|
There was a problem hiding this comment.
What happens if they aren't available? Will it tell you? Can you tell the difference between not enough data and not configured?
There was a problem hiding this comment.
@ottobackwards thanks for this question, it prompted us to ensure we add enabled/disabled property for the new features (commit has been added to the PR against master #3681. UI changes are pending (did ask @rfellows offline) but in short tooltip will distinguish when predictions are enabled yet not available vs when predictions are not enabled.
Posting as a draft because for some reason the Admin Guide updates aren't showing as expected. @mattyb149 or @achristianson if you can help identify what I am missing?
Thank you for submitting a contribution to Apache NiFi.
Please provide a short description of the PR here:
Description of PR
Enables X functionality; fixes bug NIFI-YYYY.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:
Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?
Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.
Has your PR been rebased against the latest commit within the target branch (typically
master)?Is your initial contribution a single, squashed commit? Additional commits in response to PR reviewer feedback should be made on this branch and pushed to allow change tracking. Do not
squashor use--forcewhen pushing to allow for clean monitoring of changes.For code changes:
mvn -Pcontrib-check clean installat the rootnififolder?LICENSEfile, including the mainLICENSEfile undernifi-assembly?NOTICEfile, including the mainNOTICEfile found undernifi-assembly?.displayNamein addition to .name (programmatic access) for each of the new properties?For documentation related changes:
Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.