hawkular-apm icon indicating copy to clipboard operation
hawkular-apm copied to clipboard

HWKAPM-722 : Add timeline directive

Open ammendonca opened this issue 7 years ago • 6 comments

Timeline directive, including:

  • Scrubber (line following mouse and showing timestamp);
  • Brush Overview to see whole timeline;
  • Drag feature to drag in the main timeline;
  • Show events (APM logs) at given timeframe;
  • Show TX info on click;
  • Zoom to TX span on double-click;
  • Collapse / Expand span children;

(had a gif demo, but doesn't seem to be able to attach.. will try later)

ammendonca avatar Feb 28 '17 19:02 ammendonca

Sample usage of the directive:

<!-- the actual timeline -->
<div id="timeline-container" timeline nodes="myNodes"></div>
<!-- the overview to brush and zoom in/out -->
<div id="timeline-overview-container" timeline timeline-overview nodes="myNodes"></div>

selectedSpan is the scope variable that will hold the currently selected span to display info about.

ammendonca avatar Feb 28 '17 19:02 ammendonca

Demo with improvements

timeline-demo-final

ammendonca avatar Feb 28 '17 23:02 ammendonca

@ammendonca Great work! Marked as 'do not merge' for now until we sort out the backend.

objectiser avatar Mar 01 '17 08:03 objectiser

Any progress on the backend? This feature would be great!

ptescher avatar Apr 13 '17 20:04 ptescher

@pat2man Sorry for the delay in responding.

Although this UI is great, we have recently made the decision to use the Jaeger project as our OpenTracing core - which already provides its own timeline view. See http://www.hawkular.org/blog/2017/04/19/hawkular-apm-jaeger.html

Therefore we won't be using this timeline view currently - although in the future, potentially if closer integration is required with the OpenShift UI, we may get a chance to use it then.

objectiser avatar Apr 19 '17 09:04 objectiser

@objectiser thanks for the response. Jaeger seems like a solid foundation although the aggregated views of Hawkular APM are really what sold me. Looking forward to see those integrated.

ptescher avatar Apr 19 '17 16:04 ptescher