collect output statistics (#44)

Reviewed-on: #44
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
This commit is contained in:
2025-08-13 12:04:22 +00:00
committed by Gode, Sebastian
parent 394cec25a5
commit d6c1eecd79
6 changed files with 49 additions and 2 deletions

View File

@ -150,7 +150,7 @@ def save_to_file(data, environment, cloud_environment):
"""
Saves data in the folder ./analytics/<environment>/<cloud_environment>.json
"""
folder = os.path.join("analytics", environment)
folder = os.path.join("otc_metadata", "analytics", environment)
os.makedirs(folder, exist_ok=True)
filename = os.path.join(folder, f"{cloud_environment}.json")