|
|
||
|---|---|---|
| CN_PREPROD | ||
| CN_PROD | ||
| EMEA_PREPROD | ||
| EMEA_PROD | ||
| NA_PREPROD | ||
| NA_PROD | ||
| _templates | ||
| .gitignore | ||
| environments.yaml | ||
| onboarding.py | ||
| readme.md | ||
| requirements.txt | ||
readme.md
Dynatrace onboarding repo / Terreform config
This repository holds the Dynatrace configuration for onboarding purposes
Prerequisites
Python packages
Before executing scripts, python requirements have to be satisfied. To do so, execute following command: pip install -r requirements.txt
Usage
1. Clone template:
git clone --branch template ssh://git@git.bmwgroup.net:7999/opapm/coco_apm_terraform_onboarding.git
2. Create branch:
git checkout -b CD_<appname>
3.Install python dependencies:
pip install -r requirements.txt
4.Run onboarding script:
python ./onboarding.py -A CD_<app_name> -C <compass_id>
5. Review created files:
git status
6. Commit your changes:
git add <changes>
git commit -m "<OPMAAS-XXX> - Add initial configuration of application <app_name> to Dynatrace"
git push -u origin CD_<app_name>
7. Create pull request from CD_<app_name> to master
Files
onboarding.py
This scripts generates predefined configuration basing on your app_name and compass ids
requirements.txt
File containing required python packages