Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI: Improved stats charts #4727

Merged
merged 64 commits into from
Oct 17, 2018
Merged

UI: Improved stats charts #4727

merged 64 commits into from
Oct 17, 2018

Commits on Aug 31, 2018

  1. An array subclass that enforces a maxLength

    The maxLength is enforced by removing elements from the head of the
    list.
    DingoEatingFuzz committed Aug 31, 2018
    Configuration menu
    Copy the full SHA
    a8480fa View commit details
    Browse the repository at this point in the history
  2. An abstract class for capturing nomad stats

    It follows the form of poll -> json parse -> append,
    Where append is defined in subclasses to add data from the new frame
    to long-lived rolling arrays of data.
    DingoEatingFuzz committed Aug 31, 2018
    Configuration menu
    Copy the full SHA
    5c5e44d View commit details
    Browse the repository at this point in the history
  3. An implementation of StatsTracker for allocations

    It accumulates CPU and Memory usage for the allocation as a whole as well
    as by task.
    DingoEatingFuzz committed Aug 31, 2018
    Configuration menu
    Copy the full SHA
    1df44a6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0082272 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d25c0d6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    405cf82 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c455a39 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3c09777 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2018

  1. Configuration menu
    Copy the full SHA
    e8c860b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5b927d3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dc63be2 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2018

  1. Configuration menu
    Copy the full SHA
    f8c8c3c View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2018

  1. Merge pull request #4635 from hashicorp/f-ui-stat-trackers

    UI: Stats trackers
    DingoEatingFuzz committed Sep 13, 2018
    Configuration menu
    Copy the full SHA
    1002eeb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    48df4d2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5e09491 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bb40cb0 View commit details
    Browse the repository at this point in the history
  5. Make the tooltip animation snappier for line charts

    When data is coming in live, the tooltip can get bogged down by updates
    causing the tooltip to never make it under the mouse, which looks like
    either lag or a bug.
    DingoEatingFuzz committed Sep 13, 2018
    Configuration menu
    Copy the full SHA
    db6ad98 View commit details
    Browse the repository at this point in the history
  6. Stats time series

    A use-case specific line-chart for showing utilization metrics by
    percent
    DingoEatingFuzz committed Sep 13, 2018
    Configuration menu
    Copy the full SHA
    0d7c22f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b84d755 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4b67b76 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a3e858e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    fd80df6 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    40861aa View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    efb1301 View commit details
    Browse the repository at this point in the history
  13. Merge pull request #4661 from hashicorp/f-ui-line-chart

    UI: line chart
    DingoEatingFuzz committed Sep 13, 2018
    Configuration menu
    Copy the full SHA
    5e2edf8 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2018

  1. Configuration menu
    Copy the full SHA
    4cd9164 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    48d0220 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b80016d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    44b16b2 View commit details
    Browse the repository at this point in the history
  5. New primary-metric component

    It encapsulates all the tracker, polling, and markup for this style
    of metric.
    DingoEatingFuzz committed Sep 14, 2018
    Configuration menu
    Copy the full SHA
    48910d8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    76f9c13 View commit details
    Browse the repository at this point in the history
  7. Remove old stat tracking code from the client page

    In favor of the new primary-metric components
    DingoEatingFuzz committed Sep 14, 2018
    Configuration menu
    Copy the full SHA
    1572e8d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9a102b7 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    adc0597 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    79c8667 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    5834919 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    f84b145 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    509f42c View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    7c24847 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2018

  1. New service to manage stats trackers

    This solves two problems:
    
    1. redundant trackers making redundant requests
    2. trackers being obliterated as soon as the primary metric component
       is destroyed
    
    It introduces a new problem where visiting more and more node and
    allocation pages adds to an ever-growing list of trackers that can
    assume lots of memory, but it solves the problem by using a
    least-recently-used cache to limit the number of trackers tracked.
    DingoEatingFuzz committed Sep 17, 2018
    Configuration menu
    Copy the full SHA
    cf9490c View commit details
    Browse the repository at this point in the history
  2. New LRUMap dep

    DingoEatingFuzz committed Sep 17, 2018
    Configuration menu
    Copy the full SHA
    1a6682d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    81788cf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    670b246 View commit details
    Browse the repository at this point in the history
  5. Add request throttling to the abstract stats tracker

    This is the best of three options
    
    1. Users of stats trackers control polling (old method)
    2. Stat tracker is stateful and has start/stop methods (like logging)
    3. Stat trackers blindly throttle requests
    
    This is the best option because it means N number of concurrent users of
    a stats tracker can request polling without inundating the tracker with
    redundant frames (or the network with redundant requests), but they also
    don't have to coordinate amongst themselves to determine what state a
    tracker should be in.
    DingoEatingFuzz committed Sep 17, 2018
    Configuration menu
    Copy the full SHA
    f0208c0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    cf57ddc View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8de545c View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2018

  1. Configuration menu
    Copy the full SHA
    0ede4c5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    01195a8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    28d8f79 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f4ae9e1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    866f650 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2018

  1. Configuration menu
    Copy the full SHA
    47ec74e View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2018

  1. Merge pull request #4704 from hashicorp/f-ui-applied-stat-charts

    UI: Stat charts everywhere
    DingoEatingFuzz committed Sep 26, 2018
    Configuration menu
    Copy the full SHA
    f5eaffe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    65336cc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4d5fa15 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1e34a6a View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2018

  1. Configuration menu
    Copy the full SHA
    9a6d2be View commit details
    Browse the repository at this point in the history
  2. Add a11y features to the line-chart component

    - Treat it as an image
    - Add a title and a description
    - Hide the axes, just in case
    DingoEatingFuzz committed Sep 27, 2018
    Configuration menu
    Copy the full SHA
    d83d231 View commit details
    Browse the repository at this point in the history
  3. Override the a11y title and description for the stats time series chart

    Since this is a use case specific chart, we can use use case specific
    language in our labels.
    DingoEatingFuzz committed Sep 27, 2018
    Configuration menu
    Copy the full SHA
    6d4d520 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2018

  1. Configuration menu
    Copy the full SHA
    2c20678 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #4726 from hashicorp/f-ui-use-stats-trackers-for-r…

    …esource-rows
    
    UI: Use stats trackers for resource rows
    DingoEatingFuzz committed Oct 17, 2018
    Configuration menu
    Copy the full SHA
    fd415fe View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3517c7c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    35b933a View commit details
    Browse the repository at this point in the history
  5. Merge pull request #4718 from hashicorp/f-ui-a11y-line-chart

    UI: Add some simple accessibility labels for line charts
    DingoEatingFuzz committed Oct 17, 2018
    Configuration menu
    Copy the full SHA
    f02d99a View commit details
    Browse the repository at this point in the history