- Automatically generates SLO reports (Pandas/Excel) from your Dynatrace environments.
- Python 3.x (or lastest). Download
- Dynatrace API Token (Settings > Integration > Dynatrace API)
- Configure the file
config.ini
:- [DATES]
- Specify the desired time range.
- [TENANTS]
- Specify all the tenants to extract the data from. i.e.:
tenant1 = https://abc12345.live.dynatrace.com <token> #tenant2 = https://abc22345.live.dynatrace.com <token> ... tenant3 = https://abc32345.live.dynatrace.com <token>
- Use comments to avoid getting the data from a specific tenant
- Specify all the tenants to extract the data from. i.e.:
- [DATES]
cd <python file location>
- Execute:
python usage-calculation.py
- Note: Make sure to have installed python packages:
pip install <package-name>
- Note: Make sure to have installed python packages:
- Results will be stored in different folders (per enviroment) and sheets (per day).