Go to file
SLW\ARNAUA 5c7bad19c4 Updated script. 2023-01-16 12:56:17 +01:00
.vscode modified the file. updated cn url 2023-01-16 12:41:23 +01:00
BMW_Terraform modified the file. updated cn url 2023-01-16 12:41:23 +01:00
QM-Report modified the file. updated cn url 2023-01-16 12:41:23 +01:00
Terraform modified the file. updated cn url 2023-01-16 12:41:23 +01:00
.gitignore modified the file. updated cn url 2023-01-16 12:41:23 +01:00
ModifyNachoDashboards_preset.py modified the file. updated cn url 2023-01-16 12:41:23 +01:00
README.md modified the file. updated cn url 2023-01-16 12:41:23 +01:00
createToken.py Updated script. 2023-01-16 12:56:17 +01:00
environment.yaml modified the file. updated cn url 2023-01-16 12:41:23 +01:00
gatherReportingData.py modified the file. updated cn url 2023-01-16 12:41:23 +01:00
gatherRestartswoMgmtZone.py modified the file. updated cn url 2023-01-16 12:41:23 +01:00
manageProcess_TOTAL.py modified the file. updated cn url 2023-01-16 12:41:23 +01:00
requirements.txt modified the file. updated cn url 2023-01-16 12:41:23 +01:00

README.md

DynatraceScripts

required packages

Required python packages are documented in the requirements.txt. Run pip install to install them
pip install -r requirements.txt


.env file

The scripts work with environment variables, to ease this up, create a .env file (this is git ignored as it has sensitive data like tokens) with the following content

"">NAPROD_TOKEN_VAR="<yourtoken>"
EUPREPROD_TOKEN_VAR="<yourtoken>"    
NAPREPROD_TOKEN_VAR="<yourtoken>"    
CNPROD_TOKEN_VAR="<yourtoken>"  
CNPREPROD_TOKEN_VAR="<yourtoken>"  
GLOBAL_TOKEN_VAR="<yourtoken>"  
TERRA_TOKEN_VAR="<yourtoken>"  

REPORTING_FOLDER="./Reporting_CSV/"

Make sure the reporting folder exists!


createToken.py

This script is used to create token for AWS ECS and EKS onboardings
Currently no parameters are passed through the CLI (needs to be changed) To change the token name, change it in line 81 in the script directly

tokenname="application_ecs"