|
|
||
|---|---|---|
| CD_APIGW/management-zone | ||
| CD_APIM/management-zone | ||
| CD_ASBC-HAL | ||
| CD_ASBC-RSU | ||
| CD_ASBC-SMACC | ||
| CD_App-Repository | ||
| CD_BMW-Assistant-for-Service-Events-(BASE) | ||
| CD_BMWPoints/management-zone | ||
| CD_Billing_Buffet | ||
| CD_CCG | ||
| CD_CSI | ||
| CD_Call-Handling-Backends | ||
| CD_CallCenterClient/management-zone | ||
| CD_Connected-Backend-Services/management-zone | ||
| CD_Connected-User-Behaviour/management-zone | ||
| CD_ConnectedDrive-Internet-Portal | ||
| CD_ContentProvider/management-zone | ||
| CD_DPP_DPM | ||
| CD_LSC | ||
| CD_Messaging-Services | ||
| CD_PISA | ||
| CD_Perseus | ||
| CD_RemoteServices/management-zone | ||
| CD_Speech | ||
| CD_VoiceServices/management-zone | ||
| CD_agent-service | ||
| CD_chargenow-enabler-service | ||
| CD_client-vehicle-telemetry-processor | ||
| CD_connected-oauth-service | ||
| CD_destination-composite-service | ||
| CD_digital-key-composite-service | ||
| CD_id-lookup-service | ||
| CD_image-composite-service | ||
| CD_imiles-service | ||
| CD_legal-document-composite-service | ||
| CD_remote-360-composite-service | ||
| CD_send-to-car-service | ||
| CD_user-composite-service | ||
| CD_user-profile-service | ||
| CD_vehicle-composite-service | ||
| CD_vehicle-features-service | ||
| CD_vehicle-mapping-composite-service | ||
| CD_vehicle-remote-commands-composite-service | ||
| CD_vehicle-service | ||
| CD_vehicle-shadow-event-processor | ||
| CD_vehicle-status-proxy-service | ||
| CD_vehicle-user-relationship-service | ||
| CICD_Testing/cicd-zone | ||
| WK_Login/management-zone | ||
| WK_Personal_Favorites/management-zone | ||
| WK_RSU/management-zone | ||
| WK_Remote360/management-zone | ||
| WK_RemoteService/management-zone | ||
| WK_SMACC/management-zone | ||
| WK_UserRegistration/management-zone | ||
| WK_VehicleMapping/management-zone | ||
| README.md | ||
| delete.yaml | ||
| environment.yaml | ||
| jenkinsfile | ||
| jenkinsfile_bkp | ||
README.md
BMW Monaco
Overview
- BMW-Dynatrace-config/: Contains the configuration of all Dynatrace tenants.
- Composed by:
- Global config folder (00_Global_Config): contains configuration not related to any components in specific.
- Component config folder (CD_Component): contains configuration related to a speficic component.
- Composed by:
- Environment.yaml: Contains the information about all BMW's tenants.
- bin/monaco: executable.
- onboarding/CD_newComponentTag: template for new onboardings.
- onboard.sh: onboarding script. (To be replaced by pipeline, used for local onboardings)
Get Started
- Clone repository in your local machine
- Define environmental variables for the environment.yaml file. i.e. export xxu26128_TOKEN= Dynatrace API token Do the same for the rest of the environments. Follow this link to learn how to generate a token in Dynatrace.
- mv bin/monaco /usr/bin
Update configuration
- Execute the following command:
monaco --environments="environment.yaml" -p="CD_Component-Template" BMW-Dynatrace-config/
- Under -p you can select the configuration you want to update
Onboard a new application
- Run the following command to create a folder under BMW-Dynatrace-config with a template configuration for the new application to be onboarded: ./onboard.sh ManagementZone Tag i.e. ./onboard.sh CD_ABC ABC
- Execute monaco: monaco --environments="environment.yaml" -p="CD_ABC" BMW-Dynatrace-config/
- To remove all CD_ABC configuration:
- Uncomment CD_ABC lines from delete.yaml.
- Execute monaco again to apply changes from delete.yaml: monaco --environments="environment.yaml" -p="CD_ABC" BMW-Dynatrace-config/
- Remove CD_ABC configuration folder
Results
- CD_ABC Management Zone created containing all entities with ABC tag.
- PROD/E2E/INT Dashboards for CD_ABC components.
- PROD/E2E/INT Alerting Profiles for CD_ABC components.
Debugging
- set environment variable MONACO_REQUEST_LOG=mylogfile.log to see what exactly gets sent to DT
Download configuration
Configuration has been downloaded and set up under BMW-Dynatrace-config. It's not necessary to be downloaded again.
- execute the following command: monaco -e environment.yaml -download
Automatic config environment variables
- source ./exports.sh