This project is mirrored from https://gitee.com/NQL886/scope.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
  1. 28 Nov, 2017 9 commits
    • Matthias Radestock's avatar
      filter pseudo-pseudo adjacencies · f0e3b233
      Matthias Radestock authored
      Edges between pseudo nodes are typically artifacts of imperfect
      connection tracking, e.g. when VIPs and NAT traversal are in use.
      
      So lets filter them out.
      f0e3b233
    • Matthias Radestock's avatar
      Merge pull request #2951 from weaveworks/one-pass-unconnected · e73ba587
      Matthias Radestock authored
      filter out unconnected pseudo nodes just once, at the end
      e73ba587
    • Matthias Radestock's avatar
      always apply ColorConnected in process renderers · 95630369
      Matthias Radestock authored
      This eliminates the awkward distinction between ProcessRenderer and
      ColorConnectedProcessRenderer.
      
      It also ensures that processes resulting from direct rendering of the
      process topology (/api/topology/processes is invoking
      ProcessWithContainerNameRenderer and /api/topology/processes-by-name
      is invoking ProcessNameRenderer) are colored and hence summarising
      them correctly sets the 'linkable' property. This was the behaviour
      prior to the revamping of the rendering pipeline. However, it doesn't
      actually make a practical difference since process detail panels only
      show other processes as connection endpoints, and these are always
      marked linkable anyway.
      95630369
    • Matthias Radestock's avatar
      f193a210
    • Matthias Radestock's avatar
      remove filtering of unconnected pseudo nodes from ordinary filters · 1416fe92
      Matthias Radestock authored
      It's now done via a special filter, once, after all other filters have
      been applied.
      
      Some tests need updating since they were relying on ordinary filters
      doing that filtering.
      1416fe92
    • Matthias Radestock's avatar
      filter unconnected nodes after applying user-specified filters · 9dca7627
      Matthias Radestock authored
      ...rather than before. That way, nodes which become unconnected during
      filtering are removed, which is what we want. ATM we are depending on
      some 'unconnected' filtering inside every filter, which is expensive
      and largely redundant. We should soon be able to remove that.
      
      downside: 'unconnected' filtering is no longer memoised.
      9dca7627
    • Matthias Radestock's avatar
      refactor: separate filtering from rendering in topology description · 2d964b66
      Matthias Radestock authored
      This is a step towards filtering unconnected nodes after all custom
      filters have been applied.
      2d964b66
    • Matthias Radestock's avatar
      refactor(ish): introduce Tranformers · 7bbded9e
      Matthias Radestock authored
      so we can generalise the filter step in render.Render et al. That will
      allow us to apply whole-topology filters in that step.
      7bbded9e
    • Matthias Radestock's avatar
      optimising refactor: FilterUnconnected{Pseudo} w/o LatestMap · 97fadd6d
      Matthias Radestock authored
      Instead of three passes
      1. building a 'connected' node set
      2. marking nodes from that set with a LatestMap entry
      3. removing unmarked nodes
      
      we just do two
      1. building a 'connected' node set
      2. removing nodes not in that set
      
      This does entail duplication of the adjecency list pruning code from
      FilterFunc.Apply. We will be able to eliminate that eventually, but
      not just yet.
      
      Also, we cannot get rid of ColorConnected completely;
      ColorConnectedProcessRenderer uses it to mark nodes, and that
      information is required by detailed.processNodeSummary to determine
      whether a process in the details panel can be rendered as a link.
      97fadd6d
  2. 26 Nov, 2017 1 commit
  3. 25 Nov, 2017 1 commit
  4. 24 Nov, 2017 1 commit
  5. 23 Nov, 2017 1 commit
  6. 22 Nov, 2017 11 commits
  7. 21 Nov, 2017 7 commits
  8. 20 Nov, 2017 2 commits
  9. 18 Nov, 2017 5 commits
  10. 16 Nov, 2017 1 commit
  11. 15 Nov, 2017 1 commit
    • Bryan Boreham's avatar
      Copy net.ParseIP and modify to save memory allocations · b9890064
      Bryan Boreham authored
      Pass in a slice on the stack instead of allocating one on the heap:
      reduces garbage, hence makes the program run faster
      
      Also apply knowledge that critbitgo will do an append() with one extra
      byte, so we do that allocation up-front too.  This is innocuous should
      we stop using critbitgo or should its internals change.
      b9890064