This repository has been archived by the owner on Jul 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[1071282] disk size used by storage metric is invisible when no metri…
…c is collected [1071291] no-data-available metric values for storage node metrics The --no-data-available-- is our standard text formatting when a Double is either null or NaN (using MeasumenentConvertClient). So I couldn't just change that across the board. But in this instance I agree the table looked odd and inconsistent. So, now using "NaN" in this scenario. As for the missing metric entry, certain metrics are simply not able to be reported immediately. For the one in question I made sure it is there, if possible, with "NaN" values. But understand that it is possible to actually get no metrics for a very brief period after import. Also, it is possible the metric set may lack a metroc or two for a brief period. The fix covers things as best as possible. Remember that this entire issue goes away very quickly, as soon as metrics are initially reported. Probably more important than the BZ changes were some fixes I found along the way: - limit the StorageNode.QUERY_FIND_UNACKED_ALERTS_COUNTS query to committed storage node resources, otherwise it can report incorrectly. (sorry for the file reformat) - Fix the AVAILABILITY column handling, use our more common approach to avoid some issues. It was working a bit by luck. - Fix the STATUS field record value, it should be a string. - Change some formatting to allow more space both for the metrics table as a whole (in the detail view) and also the metric name column. - Fix clusterStatusItem value, it should be a String. - Fix messageItem value, it should be a String. - Protect against a potential bad widget ID - Apply CellFormatters prior to setting ListGridFields, and Fix == to be equals() to ensure proper CellFormatter is applied
- Loading branch information
Showing
5 changed files
with
129 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.