|
|
||
|---|---|---|
| .. | ||
| auto-tag | ||
| calculated-metrics-service | ||
| conditional-naming-processgroup | ||
| conditional-naming-service | ||
| custom-service-java | ||
| request-attributes | ||
| README.md | ||
README.md
Add Databases into your Management Zone
-
Under the BMW-Dynatrace-config\00_Global-Config directory, move to auto-tag folder
-
Use the following template to add your DB:
{"type": "SERVICE","enabled": true,"valueFormat": "<app_name>","propagationTypes": [],"conditions": [{"key": {"attribute": "SERVICE_TYPE"},"comparisonInfo": {"type": "SERVICE_TYPE","operator": "EQUALS","value": "DATABASE_SERVICE","negate": false}},{"key": {"attribute": "SERVICE_DATABASE_NAME"},"comparisonInfo": {"type": "STRING","operator": "CONTAINS","value": "<common_string_in_name>","negate": false,"caseSensitive": true}}]}Notes:- Replace <app_name> with the value of the tags for your component
- Use a <common_string_in_name> for your databases
- i.e. if all of your db has the string "sc2" in common, use that value
-
Open Component.json file and paste the recently edited template as a new rule (line 10). Remember to separate the rule with a comma
-
Commit and pull request to merge the branch to the master:
git add <changes>git commit -m "<app_name> configuration changes"git push -u origin <branch>