By: Dane Camacho, Luc Berger-Vergiat, Christian Glusa
Warden is software for parsing XML data and displaying it as "dive-in"-able graphs hosted on a Dash(Flask) app
- Clone the repository
git clone git@github.com/sandialabs/warden - Install the package
pip install .
- Configure by creating a configuration file
config.yaml. Seeconfig.yaml.samplefor an example. - Run
warden_init_or_updateto initialize the folder using the configuration inconfig.yaml - Run
warden_run_dashboardto launch the webserver.
It is recommended to run warden_init_or_update at regular intervals
using crontab or a systemd timer to pull new data from the
repositories.
XML data files need to be formatted like so:
<?xml version="1.0"?>
<performance-report date="2024-03-28T11:10:49" name="nightly_run_2024_03_28" time-units="seconds">
<metadata key="Trilinos Version" value="ccf0c14624"/>
<timing name="Base Timer" value="0.246703">
<timing name="SubTimer1" value="0.0306649"/>
<timing name="SubTimer2" value="0.0306649">
<timing name="SubSubTimer1 value="0.0206649>
<timing name="SubSubTimer2 value="0.01>
</timing>
</timing>
</performance-report>
Each timing element must contain one "name" and one "value" attribute
Datasets can be directly accessed using the URLs
http://HOST:PORT/?dataset=DATASET
and