From f2508f78eccdb5f87a37d0ba0b843f672b599b5e Mon Sep 17 00:00:00 2001 From: rforstner Date: Wed, 27 Jul 2022 10:22:59 +0200 Subject: [PATCH 1/2] adapating readme.md --- readme.md | 17 ++++++++++++++++- slo_parameter.yaml | 2 +- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index f1ce2dd..f9fdd2c 100644 --- a/readme.md +++ b/readme.md @@ -3,9 +3,24 @@ This repository holds the code to generate the Dynatrace Global Dashboard as Cod The Global Dashboard splits in 2 different dashboards: - - STAGING + - STAGING (https://jyy23483.live.dynatrace.com/#dashboard;gtf=defaultTimeFrame;gf=defaultManagementZone;id=2f1be2c6-9109-4e6b-8ec1-895be69935e3) - PROD While the PROD dashboard is adapted manually, the Staging dashboard is auto updated when this script runs. + +# Dashboard Splitting + +To enable flexibility for different screensizes, the script takes an -R or --ROWS parameter to define how many SLOs should be on one dedicated dashboard. +If left empty, only one dashboard will be created, if entered a row the dashboard will be splitted to multiple dashboards and uploaded with the following name: [STAGING]Global Offboard Reliability - Touchpoint Mobile #1 ..#2..#3 + + +# shared configuration +This script is using the following shared configuration: + - slo_parameter.yaml --> https://atc.bmwgroup.net/bitbucket/projects/OPAPM/repos/shared_configuration/browse + +# Archiving +Old artefacts (dashboard.json files) are archived within the following repository: +https://atc.bmwgroup.net/bitbucket/projects/OPAPM/repos/archive/browse + # Prerequisites ## Python packages diff --git a/slo_parameter.yaml b/slo_parameter.yaml index 6eb3ab0..a1bc6c4 100644 --- a/slo_parameter.yaml +++ b/slo_parameter.yaml @@ -244,7 +244,7 @@ TP_Mobile_RSU: yearstart: "2022-01-01" displayname: "RSU Mobile" department: "DE-430" - metric: "func:slo.wirkkette__rsu__mobile_____reliability_of_key_requests" + metric: "func:slo.tp_mobile_rsu" doc_url: "https://atc.bmwgroup.net/confluence/x/NpnwdQ" ops_dashboard: emea: "https" From 746e496e7a7c5e8134cda7921311f6a9ba22f8d3 Mon Sep 17 00:00:00 2001 From: rforstner Date: Wed, 27 Jul 2022 11:36:50 +0200 Subject: [PATCH 2/2] adapting .gitignore --- .gitignore | 139 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 137 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 72b94cf..f03a203 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,138 @@ -.env dashboard_tiles_* -\[STAGING\]* \ No newline at end of file +\[STAGING\]* + +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +pip-wheel-metadata/ +share/python-wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +*.py,cover +.hypothesis/ +.pytest_cache/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py +db.sqlite3 +db.sqlite3-journal + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# IPython +profile_default/ +ipython_config.py + +# pyenv +.python-version + +# pipenv +# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. +# However, in case of collaboration, if having platform-specific dependencies or dependencies +# having no cross-platform support, pipenv may install dependencies that don't work, or not +# install all needed dependencies. +#Pipfile.lock + +# PEP 582; used by e.g. github.com/David-OConnor/pyflow +__pypackages__/ + +# Celery stuff +celerybeat-schedule +celerybeat.pid + +# SageMath parsed files +*.sage.py + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ +.dmypy.json +dmypy.json + +# Pyre type checker +.pyre/ + +### Terraform stuff +**/.terraform/* +crash.log +*.tfvars +