Skip to content

Commit

Permalink
Merge pull request #163 from rosswhitfield/ipsportal_docs
Browse files Browse the repository at this point in the history
Update IPS-portal docs
  • Loading branch information
rosswhitfield authored Jun 16, 2022
2 parents 754cf31 + a2b961a commit 4be89d1
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 0 deletions.
Binary file added doc/user_guides/jaeger_options.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions doc/user_guides/portal_guides.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,44 @@ To use the portal include

.. code-block:: text
USE_PORTAL = True
PORTAL_URL = http://lb.ipsportal.production.svc.spin.nersc.org
The source code for the portal can be found one `GitHub
<https://github.com/HPC-SimTools/IPS-portal>`_ and issues can be
reported using `GitHub issues
<https://github.com/HPC-SimTools/IPS-portal/issues>`_.

in either your :doc:`Platform Configuration File<platform>` or your
:doc:`Simulation Configuration File<config_file>`.


Tracing
-------

IPS (version >= 0.6.0) has the ability to capture a trace of the
workflow to allow analysis and visualizations. The traces are captured
in the `Zipkin Span format <https://zipkin.io/zipkin-api/>`_ and
viewed within IPS portal using `Jaeger
<https://www.jaegertracing.io/>`_.

After selecting a run in the portal there will be a link to the trace:

.. image:: run_list.png

.. image:: trace_link.png

The default view is the Trace Timeline but other useful views are
Trace Graph and Trace Statistic which can be selected from the menu in
the top-right:

.. image:: jaeger_options.png

The statistics can be further broken down by operation.

.. image:: statistics_sub_group.png

.. note::

Self time (ST) is the total time spent in a span when it was not waiting on children. For example, a 10ms span with two 4ms non-overlapping children would have self-time = 10ms - 2 * 4ms = 2ms.
Binary file added doc/user_guides/run_list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/user_guides/statistics_sub_group.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/user_guides/trace_link.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4be89d1

Please sign in to comment.