diff --git a/BMW-Dynatrace-config/00_Global-Config/README.md b/BMW-Dynatrace-config/00_Global-Config/README.md index 2e7656f0..a4e0f3c8 100644 --- a/BMW-Dynatrace-config/00_Global-Config/README.md +++ b/BMW-Dynatrace-config/00_Global-Config/README.md @@ -1,46 +1,48 @@ ## Add Databases into your Management Zone 1. Under the BMW-Dynatrace-config\00_Global-Config directory, move to auto-tag folder 2. Use the following template to add your DB: - `{` - ` "type": "SERVICE",` - ` "enabled": true,` - ` "valueFormat": "",` - ` "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": "",` - ` "negate": false,` - ` "caseSensitive": true` - ` }` - ` }` - ` ]` - `} ` + ``` + { + "type": "SERVICE", + "enabled": true, + "valueFormat": "", + "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": "", + "negate": false, + "caseSensitive": true + } + } + ] + } + ``` + Notes: - Replace with the value of the tags for your component - Use a for your databases - i.e. if all of your db has the string "sc2" in common, use that value 3. Open Component.json file and paste the recently edited template as a new rule (line 10). Remember to separate the rule with a comma 4. Commit and pull request to merge the branch to the master: - - `git add ` - - `git commit -m " configuration changes"` - - `git push -u origin ` \ No newline at end of file + ``` + git add + git commit -m " configuration changes" + git push -u origin + ``` \ No newline at end of file