Skip to content
Snippets Groups Projects
user avatar
CI-Bot authored
5734d745
History

Service Usage Plots

In this project, plots are generated from service usage data. The data is incorporated via submodules from separate projects.

Generated Plots (most recent)

All plots are generated automatically when changes are detected or the generation pipeline is triggered. Also daily plots are generated.

General overview plots

KPI plots

Local execution

Clone this repository recursively, i.e. including the data, with:

git clone --recursive git@codebase.helmholtz.cloud:hifis/overall/kpi/kpi-plots-ci.git

If you have cloned the repository already, you might need to update the submodules (i.e., data) with

git submodule sync --recursive
git submodule update --remote --recursive --init

To run the plot script, you need python and the following libraries installed:

  • matplotlib
  • pypdf
  • pandas
  • mattermost

To run the script:

python plot_scripts/plot.py

Structure

  • subprojects: Linked projects providing the source data.
  • gallery: The gallery is automatically generated in this folder
  • metadata: This directory contains metadata on the individual services.
    • displayname: The name to be displayed for this service
    • T_onboard: The onboarding date of the service
    • T_reference_overall: A specially defined date from which the dates of the service are used
    • special_plot_%: Defines whether a specific data file is meant as a special plot
    • grace_period: period before warnings are sent if no new data appears
  • kpi-weights.csv: Weighting of all separate service contributions to overall KPI; usually 50% service users+50% service usage.