diff --git a/BMW-Dynatrace-config/00_Global-Config/auto-tag/Component.json b/BMW-Dynatrace-config/00_Global-Config/auto-tag/Component.json index 7bc69023..716b59be 100644 --- a/BMW-Dynatrace-config/00_Global-Config/auto-tag/Component.json +++ b/BMW-Dynatrace-config/00_Global-Config/auto-tag/Component.json @@ -2,7 +2,7 @@ "description": null, "entitySelectorBasedRules": [], "metadata": { - "clusterVersion": "1.224.76.20210824-135737", + "clusterVersion": "1.227.117.20211006-093310", "configurationVersions": [ 7 ] @@ -28,8 +28,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "Infotainment" @@ -53,8 +53,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "Infotainment" @@ -240,8 +240,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "CSI" @@ -694,8 +694,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "SMACC-BE" @@ -719,8 +719,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "SMACC-KTS" @@ -866,8 +866,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "BASE" @@ -894,8 +894,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "RemoteServices" @@ -919,8 +919,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "CCG" @@ -944,8 +944,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "LSC-HR" @@ -972,8 +972,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "Remote 360" @@ -1000,8 +1000,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "RS Cockpit" @@ -1137,8 +1137,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "Voice Services" @@ -1317,8 +1317,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "ASBC-SMACC" @@ -1342,8 +1342,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "ASBC-RSU" @@ -1367,8 +1367,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "ASBC-HAL" @@ -1392,8 +1392,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "App Repository" @@ -1417,8 +1417,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "Call Center Client" @@ -1442,8 +1442,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "Call Center Client" @@ -1467,8 +1467,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "Voice Services" @@ -1492,8 +1492,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "Voice Services" @@ -1517,8 +1517,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "Voice Services" @@ -1542,8 +1542,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "Voice Services" @@ -1567,8 +1567,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "Voice Services" @@ -1592,8 +1592,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "Voice Services" @@ -1617,8 +1617,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "Voice Services" @@ -1642,8 +1642,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "XCC" @@ -1667,8 +1667,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "MSGSVC" @@ -1857,8 +1857,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "Perseus" @@ -1882,8 +1882,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "ASBC-RSU" @@ -1907,8 +1907,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "ASBC-SMACC" @@ -2037,8 +2037,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "LSC-JR" @@ -2062,8 +2062,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "LSC-WO" @@ -2087,8 +2087,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "APIGW-WS" @@ -2112,8 +2112,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "APIGW-WS" @@ -2137,8 +2137,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "APIGW-WS" @@ -2162,8 +2162,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "APIGW-WS" @@ -2187,8 +2187,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "APIGW-WS" @@ -2233,8 +2233,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "APIGW-APP" @@ -2258,8 +2258,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "Connected Backend Services" @@ -2282,8 +2282,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "Service Gateway Legacy" @@ -2340,8 +2340,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "{ProcessGroup:KubernetesNamespace/managed-app-(.++)}" @@ -2365,8 +2365,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "Call Center Client" @@ -2417,8 +2417,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "{ProcessGroup:Kubernetes:component}" @@ -2475,8 +2475,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "APPCALL" @@ -2533,8 +2533,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "ACDS" @@ -2558,8 +2558,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "ECS" @@ -2583,8 +2583,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "XCS" @@ -2641,8 +2641,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "EVNS" @@ -2699,8 +2699,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "eCallGW" @@ -2757,8 +2757,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "GATS" @@ -3189,8 +3189,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "NGTP" @@ -3214,8 +3214,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "NGTP-CS" @@ -3515,8 +3515,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "{ProcessGroup:KubernetesNamespace/(.*?)-prod}" @@ -3556,8 +3556,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "{ProcessGroup:KubernetesNamespace/(.*?)-e2e}" @@ -3597,8 +3597,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "{ProcessGroup:KubernetesNamespace/(.*?)-int}" @@ -3638,8 +3638,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "{ProcessGroup:KubernetesNamespace/(.*?)-test}" @@ -3779,8 +3779,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "{ProcessGroup:KubernetesNamespace/(.*?)-prod}" @@ -3821,8 +3821,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "{ProcessGroup:KubernetesNamespace/(.*?)-e2e}" @@ -4044,8 +4044,8 @@ ], "enabled": true, "propagationTypes": [ - "PROCESS_GROUP_TO_HOST", - "PROCESS_GROUP_TO_SERVICE" + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" ], "type": "PROCESS_GROUP", "valueFormat": "Perseus" @@ -4087,191 +4087,437 @@ "valueFormat": "sfa-ota" }, { - "type": "SERVICE", - "enabled": true, - "valueFormat": "xcc-settings", - "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": "xcc-settings-db", - "negate": false, - "caseSensitive": true - } - } - ] - }, - { - "type": "SERVICE", - "enabled": true, - "valueFormat": "BMW_POINTS_ENGINE", - "propagationTypes": [], "conditions": [ { - "key": { - "attribute": "SERVICE_TYPE" - }, "comparisonInfo": { - "type": "SERVICE_TYPE", + "negate": false, "operator": "EQUALS", - "value": "DATABASE_SERVICE", - "negate": false + "type": "SERVICE_TYPE", + "value": "DATABASE_SERVICE" + }, + "key": { + "attribute": "SERVICE_TYPE", + "type": "STATIC" } }, { - "key": { - "attribute": "SERVICE_DATABASE_NAME" - }, "comparisonInfo": { - "type": "STRING", - "operator": "BEGINS", - "value": "ime_", + "caseSensitive": true, "negate": false, - "caseSensitive": true + "operator": "CONTAINS", + "type": "STRING", + "value": "vsd_cam" + }, + "key": { + "attribute": "SERVICE_DATABASE_NAME", + "type": "STATIC" } } - ] + ], + "enabled": true, + "propagationTypes": [], + "type": "SERVICE", + "valueFormat": "camvs" }, { - "type": "SERVICE", - "enabled": true, - "valueFormat": "rsu", - "propagationTypes": [], "conditions": [ { - "key": { - "attribute": "SERVICE_TYPE" - }, "comparisonInfo": { - "type": "SERVICE_TYPE", + "caseSensitive": true, + "negate": false, "operator": "EQUALS", - "value": "DATABASE_SERVICE", - "negate": false + "type": "STRING", + "value": "camvs" + }, + "key": { + "attribute": "PROCESS_GROUP_CUSTOM_METADATA", + "dynamicKey": { + "key": "app-name", + "source": "ENVIRONMENT" + }, + "type": "PROCESS_CUSTOM_METADATA_KEY" + } + } + ], + "enabled": true, + "propagationTypes": [ + "SERVICE_TO_PROCESS_GROUP_LIKE", + "SERVICE_TO_HOST_LIKE" + ], + "type": "SERVICE", + "valueFormat": "camvs" + }, + { + "conditions": [ + { + "comparisonInfo": { + "negate": false, + "operator": "EQUALS", + "type": "SERVICE_TYPE", + "value": "DATABASE_SERVICE" + }, + "key": { + "attribute": "SERVICE_TYPE", + "type": "STATIC" } }, { - "key": { - "attribute": "SERVICE_DATABASE_NAME" - }, "comparisonInfo": { - "type": "STRING", - "operator": "CONTAINS_REGEX", - "value": "^(?>cam|disp|fre|rcs|rdh|rmo|rpp|rte|rve|rvi|rvt|rwd|uvm)(?>eu|us|cn)(?>e2e|p)$", + "caseSensitive": true, "negate": false, - "caseSensitive": true + "operator": "CONTAINS", + "type": "STRING", + "value": "xcc-settings-db" + }, + "key": { + "attribute": "SERVICE_DATABASE_NAME", + "type": "STATIC" } } - ] + ], + "enabled": true, + "propagationTypes": [], + "type": "SERVICE", + "valueFormat": "xcc-settings" }, { - "type": "SERVICE", - "enabled": true, - "valueFormat": "XCC", - "propagationTypes": [], "conditions": [ - { - "key": { - "attribute": "SERVICE_TYPE" - }, - "comparisonInfo": { - "type": "SERVICE_TYPE", - "operator": "EQUALS", - "value": "DATABASE_SERVICE", - "negate": false - } + { + "comparisonInfo": { + "negate": false, + "operator": "EQUALS", + "type": "SERVICE_TYPE", + "value": "DATABASE_SERVICE" }, - { - "key": { - "attribute": "SERVICE_DATABASE_NAME" - }, - "comparisonInfo": { - "type": "STRING", - "operator": "CONTAINS", - "value": "xcc", - "negate": false, - "caseSensitive": true - } + "key": { + "attribute": "SERVICE_TYPE", + "type": "STATIC" } - ] + }, + { + "comparisonInfo": { + "caseSensitive": true, + "negate": false, + "operator": "BEGINS_WITH", + "type": "STRING", + "value": "ime_" + }, + "key": { + "attribute": "SERVICE_DATABASE_NAME", + "type": "STATIC" + } + } + ], + "enabled": true, + "propagationTypes": [], + "type": "SERVICE", + "valueFormat": "BMW_POINTS_ENGINE" }, { - "type": "SERVICE", - "enabled": true, - "valueFormat": "VPS-Trigger", - "propagationTypes": [], "conditions": [ - { - "key": { - "attribute": "SERVICE_TYPE" - }, - "comparisonInfo": { - "type": "SERVICE_TYPE", - "operator": "EQUALS", - "value": "DATABASE_SERVICE", - "negate": false - } + { + "comparisonInfo": { + "negate": false, + "operator": "EQUALS", + "type": "SERVICE_TYPE", + "value": "DATABASE_SERVICE" }, - { - "key": { - "attribute": "SERVICE_DATABASE_NAME" - }, - "comparisonInfo": { - "type": "STRING", - "operator": "CONTAINS", - "value": "cc", - "negate": false, - "caseSensitive": true - } + "key": { + "attribute": "SERVICE_TYPE", + "type": "STATIC" } - ] + }, + { + "comparisonInfo": { + "caseSensitive": true, + "negate": false, + "operator": "BEGINS_WITH", + "type": "STRING", + "value": "ccc" + }, + "key": { + "attribute": "SERVICE_DATABASE_NAME", + "type": "STATIC" + } + } + ], + "enabled": true, + "propagationTypes": [], + "type": "SERVICE", + "valueFormat": "ccc" }, { - "type": "SERVICE", - "enabled": true, - "valueFormat": "VPS-Archive", - "propagationTypes": [], "conditions": [ - { - "key": { - "attribute": "SERVICE_TYPE" - }, - "comparisonInfo": { - "caseSensitive": true, - "negate": false, - "operator": "REGEX_MATCHES", - "type": "STRING", - "value": "cc_.*vps.*archiv" - } + { + "comparisonInfo": { + "caseSensitive": true, + "negate": false, + "operator": "EQUALS", + "type": "STRING", + "value": "asbc-hal" }, - { - "key": { - "attribute": "SERVICE_DATABASE_NAME" - }, - "comparisonInfo": { - "type": "STRING", - "operator": "CONTAINS", - "value": "cc", - "negate": false, - "caseSensitive": true - } + "key": { + "attribute": "PROCESS_GROUP_PREDEFINED_METADATA", + "dynamicKey": "KUBERNETES_NAMESPACE", + "type": "PROCESS_PREDEFINED_METADATA_KEY" } - ] + } + ], + "enabled": true, + "propagationTypes": [ + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" + ], + "type": "PROCESS_GROUP", + "valueFormat": "ASBC-HAL-CL" + }, + { + "conditions": [ + { + "comparisonInfo": { + "caseSensitive": true, + "negate": false, + "operator": "EQUALS", + "type": "STRING", + "value": "asbc-ngtp" + }, + "key": { + "attribute": "PROCESS_GROUP_PREDEFINED_METADATA", + "dynamicKey": "KUBERNETES_NAMESPACE", + "type": "PROCESS_PREDEFINED_METADATA_KEY" + } + } + ], + "enabled": true, + "propagationTypes": [ + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" + ], + "type": "PROCESS_GROUP", + "valueFormat": "ASBC-NGTP" + }, + { + "conditions": [ + { + "comparisonInfo": { + "caseSensitive": true, + "negate": false, + "operator": "EQUALS", + "type": "STRING", + "value": "hpauth" + }, + "key": { + "attribute": "PROCESS_GROUP_PREDEFINED_METADATA", + "dynamicKey": "KUBERNETES_NAMESPACE", + "type": "PROCESS_PREDEFINED_METADATA_KEY" + } + } + ], + "enabled": true, + "propagationTypes": [ + "PROCESS_GROUP_TO_SERVICE", + "PROCESS_GROUP_TO_HOST" + ], + "type": "PROCESS_GROUP", + "valueFormat": "hpauth" + }, + { + "conditions": [ + { + "comparisonInfo": { + "negate": false, + "operator": "EQUALS", + "type": "SERVICE_TYPE", + "value": "DATABASE_SERVICE" + }, + "key": { + "attribute": "SERVICE_TYPE", + "type": "STATIC" + } + }, + { + "comparisonInfo": { + "caseSensitive": true, + "negate": false, + "operator": "CONTAINS", + "type": "STRING", + "value": "countly_mongo_db" + }, + "key": { + "attribute": "SERVICE_DATABASE_NAME", + "type": "STATIC" + } + } + ], + "enabled": true, + "propagationTypes": [], + "type": "SERVICE", + "valueFormat": "Countly" + }, + { + "conditions": [ + { + "comparisonInfo": { + "negate": false, + "operator": "EQUALS", + "type": "SERVICE_TYPE", + "value": "DATABASE_SERVICE" + }, + "key": { + "attribute": "SERVICE_TYPE", + "type": "STATIC" + } + }, + { + "comparisonInfo": { + "caseSensitive": true, + "negate": false, + "operator": "CONTAINS", + "type": "STRING", + "value": "asbchal" + }, + "key": { + "attribute": "SERVICE_DATABASE_NAME", + "type": "STATIC" + } + } + ], + "enabled": true, + "propagationTypes": [], + "type": "SERVICE", + "valueFormat": "ASBC-HAL-CL" + }, + { + "conditions": [ + { + "comparisonInfo": { + "negate": false, + "operator": "EQUALS", + "type": "SERVICE_TYPE", + "value": "DATABASE_SERVICE" + }, + "key": { + "attribute": "SERVICE_TYPE", + "type": "STATIC" + } + }, + { + "comparisonInfo": { + "caseSensitive": true, + "negate": false, + "operator": "REGEX_MATCHES", + "type": "STRING", + "value": "^(?\u003ecam|disp|fre|rcs|rdh|rmo|rpp|rte|rve|rvi|rvt|rwd|uvm)(?\u003eeu|us|cn)(?\u003ee2e|p)$" + }, + "key": { + "attribute": "SERVICE_DATABASE_NAME", + "type": "STATIC" + } + } + ], + "enabled": true, + "propagationTypes": [], + "type": "SERVICE", + "valueFormat": "rsu" + }, + { + "conditions": [ + { + "comparisonInfo": { + "negate": false, + "operator": "EQUALS", + "type": "SERVICE_TYPE", + "value": "DATABASE_SERVICE" + }, + "key": { + "attribute": "SERVICE_TYPE", + "type": "STATIC" + } + }, + { + "comparisonInfo": { + "caseSensitive": true, + "negate": false, + "operator": "REGEX_MATCHES", + "type": "STRING", + "value": "cc_.*vps.*archiv" + }, + "key": { + "attribute": "SERVICE_DATABASE_NAME", + "type": "STATIC" + } + } + ], + "enabled": true, + "propagationTypes": [], + "type": "SERVICE", + "valueFormat": "VPS-Archive" + }, + { + "conditions": [ + { + "comparisonInfo": { + "negate": false, + "operator": "EQUALS", + "type": "SERVICE_TYPE", + "value": "DATABASE_SERVICE" + }, + "key": { + "attribute": "SERVICE_TYPE", + "type": "STATIC" + } + }, + { + "comparisonInfo": { + "caseSensitive": true, + "negate": false, + "operator": "REGEX_MATCHES", + "type": "STRING", + "value": "cc_.*vps.*monitor" + }, + "key": { + "attribute": "SERVICE_DATABASE_NAME", + "type": "STATIC" + } + } + ], + "enabled": true, + "propagationTypes": [], + "type": "SERVICE", + "valueFormat": "VPS-Monitor" + }, + { + "conditions": [ + { + "comparisonInfo": { + "negate": false, + "operator": "EQUALS", + "type": "SERVICE_TYPE", + "value": "DATABASE_SERVICE" + }, + "key": { + "attribute": "SERVICE_TYPE", + "type": "STATIC" + } + }, + { + "comparisonInfo": { + "caseSensitive": true, + "negate": false, + "operator": "REGEX_MATCHES", + "type": "STRING", + "value": "cc_.*vps.*config" + }, + "key": { + "attribute": "SERVICE_DATABASE_NAME", + "type": "STATIC" + } + } + ], + "enabled": true, + "propagationTypes": [], + "type": "SERVICE", + "valueFormat": "VPS-Admin" } ] -} \ No newline at end of file + } \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VCSM/alerting-profile/alerting-profile.yaml b/BMW-Dynatrace-config/CD_VCSM/alerting-profile/alerting-profile.yaml new file mode 100644 index 00000000..8e869668 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VCSM/alerting-profile/alerting-profile.yaml @@ -0,0 +1,43 @@ +config: +- CDVCSM: default.json + + +#Prod alerting profiles for EMEA/NA/CN +CDVCSM.EMEA-Prod: +- name: CD_VCSM PROD +- tag: VCSM +- mzId: CD_VCSM/management-zone/CDVCSM.id +- env: PROD +- skipDeployment: "false" +CDVCSM.NA-Prod: +- name: CD_VCSM PROD +- tag: VCSM +- mzId: CD_VCSM/management-zone/CDVCSM.id +- env: PROD +- skipDeployment: "false" +CDVCSM.CN-Prod: +- name: CD_VCSM PROD +- tag: VCSM +- mzId: CD_VCSM/management-zone/CDVCSM.id +- env: PROD +- skipDeployment: "false" + +#INT alerting profiles for EMEA/NA/CN +CDVCSM.EMEA-PreProd: +- name: CD_VCSM INT +- tag: VCSM +- mzId: CD_VCSM/management-zone/CDVCSM.id +- env: INT +- skipDeployment: "false" +CDVCSM.NA-PreProd: +- name: CD_VCSM INT +- tag: VCSM +- mzId: CD_VCSM/management-zone/CDVCSM.id +- env: INT +- skipDeployment: "false" +CDVCSM.CN-PreProd: +- name: CD_VCSM INT +- tag: VCSM +- mzId: CD_VCSM/management-zone/CDVCSM.id +- env: INT +- skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VCSM/alerting-profile/default.json b/BMW-Dynatrace-config/CD_VCSM/alerting-profile/default.json new file mode 100644 index 00000000..681a4c64 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VCSM/alerting-profile/default.json @@ -0,0 +1,103 @@ +{ + "displayName": "{{.name}}", + "eventTypeFilters": [], + "managementZoneId": "{{.mzId}}", + "mzId": "{{.mzId}}", + "rules": [ + { + "delayInMinutes": 0, + "severityLevel": "AVAILABILITY", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Component", + "value": "{{.tag}}" + }, + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 10, + "severityLevel": "ERROR", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Component", + "value": "{{.tag}}" + }, + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 30, + "severityLevel": "PERFORMANCE", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Component", + "value": "{{.tag}}" + }, + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 30, + "severityLevel": "RESOURCE_CONTENTION", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Component", + "value": "{{.tag}}" + }, + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 10, + "severityLevel": "CUSTOM_ALERT", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Component", + "value": "{{.tag}}" + }, + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VCSM/calculated-metrics-service/README.md b/BMW-Dynatrace-config/CD_VCSM/calculated-metrics-service/README.md new file mode 100644 index 00000000..f958f929 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VCSM/calculated-metrics-service/README.md @@ -0,0 +1,4 @@ + +### How to configure custom metrics? + +Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Calculated+Metrics) page to configure your custom metrics. \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VCSM/conditional-naming-processgroup/README.md b/BMW-Dynatrace-config/CD_VCSM/conditional-naming-processgroup/README.md new file mode 100644 index 00000000..8c10d2b4 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VCSM/conditional-naming-processgroup/README.md @@ -0,0 +1,4 @@ + +### How to configure process groups? + +Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Process+Group+Naming) page to configure your process groups. \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VCSM/conditional-naming-processgroup/conditional-naming-processgroup.yaml b/BMW-Dynatrace-config/CD_VCSM/conditional-naming-processgroup/conditional-naming-processgroup.yaml new file mode 100644 index 00000000..0725945d --- /dev/null +++ b/BMW-Dynatrace-config/CD_VCSM/conditional-naming-processgroup/conditional-naming-processgroup.yaml @@ -0,0 +1,8 @@ +config: +- CDVCSM: template.json + +CDVCSM: +- name: MyProcessNamingRule +- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}" +- tag: VCSM +- skipDeployment: "true" diff --git a/BMW-Dynatrace-config/CD_VCSM/conditional-naming-processgroup/template.json b/BMW-Dynatrace-config/CD_VCSM/conditional-naming-processgroup/template.json new file mode 100644 index 00000000..7c039808 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VCSM/conditional-naming-processgroup/template.json @@ -0,0 +1,29 @@ +{ + "displayName": "{{.name}}", + "enabled": true, + "metadata": { + "clusterVersion": "1.214.107.20210407-223952", + "configurationVersions": [ + 0 + ] + }, + "nameFormat": "{{.nameFormat}}", + "rules": [ + { + "comparisonInfo": { + "negate": false, + "operator": "EQUALS", + "type": "TAG", + "value": { + "context": "CONTEXTLESS", + "key": "Component", + "value": "{{.tag}}" + } + }, + "key": { + "attribute": "PROCESS_GROUP_TAGS" + } + } + ], + "type": "PROCESS_GROUP" +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VCSM/conditional-naming-service/README.md b/BMW-Dynatrace-config/CD_VCSM/conditional-naming-service/README.md new file mode 100644 index 00000000..93dc620b --- /dev/null +++ b/BMW-Dynatrace-config/CD_VCSM/conditional-naming-service/README.md @@ -0,0 +1,4 @@ + +### How to configure service naming + +Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Service+Naming) page to configure your service naming. \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VCSM/conditional-naming-service/conditional-naming-service.yaml b/BMW-Dynatrace-config/CD_VCSM/conditional-naming-service/conditional-naming-service.yaml new file mode 100644 index 00000000..0725945d --- /dev/null +++ b/BMW-Dynatrace-config/CD_VCSM/conditional-naming-service/conditional-naming-service.yaml @@ -0,0 +1,8 @@ +config: +- CDVCSM: template.json + +CDVCSM: +- name: MyProcessNamingRule +- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}" +- tag: VCSM +- skipDeployment: "true" diff --git a/BMW-Dynatrace-config/CD_VCSM/conditional-naming-service/template.json b/BMW-Dynatrace-config/CD_VCSM/conditional-naming-service/template.json new file mode 100644 index 00000000..5d4fac56 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VCSM/conditional-naming-service/template.json @@ -0,0 +1,29 @@ +{ + "displayName": "{{.name}}", + "enabled": true, + "metadata": { + "clusterVersion": "1.214.107.20210407-223952", + "configurationVersions": [ + 0 + ] + }, + "nameFormat": "{{.nameFormat}}", + "rules": [ + { + "comparisonInfo": { + "negate": false, + "operator": "EQUALS", + "type": "TAG", + "value": { + "context": "CONTEXTLESS", + "key": "Component", + "value": "{{.tag}}" + } + }, + "key": { + "attribute": "SERVICE_TAGS" + } + } + ], + "type": "SERVICE" +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VCSM/custom-service-java/README.md b/BMW-Dynatrace-config/CD_VCSM/custom-service-java/README.md new file mode 100644 index 00000000..a467a6f8 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VCSM/custom-service-java/README.md @@ -0,0 +1,4 @@ + +### How to configure custom services? + +Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Custom+Services) page to configure your custom services. \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VCSM/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_VCSM/custom-service-java/custom-service-java.yaml new file mode 100644 index 00000000..25f8a028 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VCSM/custom-service-java/custom-service-java.yaml @@ -0,0 +1,9 @@ +config: +- customService1: template-1-1.json + +customService1: +- name: myJOYNRService +- className: com.bmw.cc.conn.this.is.just.an.exampleClasss +- methodName: exampleJoynrMethod +- returnType: void +- skipDeployment: "true" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VCSM/custom-service-java/template-1-1.json b/BMW-Dynatrace-config/CD_VCSM/custom-service-java/template-1-1.json new file mode 100644 index 00000000..b3003515 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VCSM/custom-service-java/template-1-1.json @@ -0,0 +1,23 @@ +{ + "enabled": true, + "name": "{{.name}}", + "processGroups": [], + "queueEntryPoint": false, + "queueEntryPointType": null, + "rules": [ + { + "annotations": [], + "className": "{{.className}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": [], + "methodName": "{{.methodName}}", + "returnType": "{{.returnType}}" + } + ] + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VCSM/dashboard/README.md b/BMW-Dynatrace-config/CD_VCSM/dashboard/README.md new file mode 100644 index 00000000..2b6d5717 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VCSM/dashboard/README.md @@ -0,0 +1,4 @@ + +### How to configure dashboards? + +Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Dashboards) page to configure your dashboards. \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VCSM/dashboard/dashboard.yaml b/BMW-Dynatrace-config/CD_VCSM/dashboard/dashboard.yaml new file mode 100644 index 00000000..78847e41 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VCSM/dashboard/dashboard.yaml @@ -0,0 +1,125 @@ +config: +- CDVCSM-PROD: default.json +- CDVCSM-E2E: default.json +- CDVCSM-INT: default.json +- CDVCSM-TEST: default.json + +#PROD dashboards for EMEA/NA/CN Prod +CDVCSM-PROD: +- name: CD_VCSM PROD +- mzName: CD_VCSM/management-zone/CDVCSM.name +- mzId: CD_VCSM/management-zone/CDVCSM.id +- tag: VCSM +- env: PROD +- skipDeployment: "true" +CDVCSM-PROD.EMEA-Prod: +- name: CD_VCSM PROD +- mzName: CD_VCSM/management-zone/CDVCSM.name +- mzId: CD_VCSM/management-zone/CDVCSM.id +- tag: VCSM +- env: PROD +- skipDeployment: "false" +CDVCSM-PROD.NA-Prod: +- name: CD_VCSM PROD +- mzName: CD_VCSM/management-zone/CDVCSM.name +- mzId: CD_VCSM/management-zone/CDVCSM.id +- tag: VCSM +- env: PROD +- skipDeployment: "false" +CDVCSM-PROD.CN-Prod: +- name: CD_VCSM PROD +- mzName: CD_VCSM/management-zone/CDVCSM.name +- mzId: CD_VCSM/management-zone/CDVCSM.id +- tag: VCSM +- env: PROD +- skipDeployment: "false" + +#E2E dashboards for EMEA/NA/CN Prod +CDVCSM-E2E: +- name: CD_VCSM E2E +- mzName: CD_VCSM/management-zone/CDVCSM.name +- mzId: CD_VCSM/management-zone/CDVCSM.id +- tag: VCSM +- env: E2E +- skipDeployment: "true" +CDVCSM-E2E.EMEA-Prod: +- name: CD_VCSM E2E +- mzName: CD_VCSM/management-zone/CDVCSM.name +- mzId: CD_VCSM/management-zone/CDVCSM.id +- tag: VCSM +- env: E2E +- skipDeployment: "false" +CDVCSM-E2E.NA-Prod: +- name: CD_VCSM E2E +- mzName: CD_VCSM/management-zone/CDVCSM.name +- mzId: CD_VCSM/management-zone/CDVCSM.id +- tag: VCSM +- env: E2E +- skipDeployment: "false" +CDVCSM-E2E.CN-Prod: +- name: CD_VCSM E2E +- mzName: CD_VCSM/management-zone/CDVCSM.name +- mzId: CD_VCSM/management-zone/CDVCSM.id +- tag: VCSM +- env: E2E +- skipDeployment: "false" + +#INT dashboards for EMEA/NA/CN PreProd +CDVCSM-INT: +- name: CD_VCSM INT +- mzName: CD_VCSM/management-zone/CDVCSM.name +- mzId: CD_VCSM/management-zone/CDVCSM.id +- tag: VCSM +- env: INT +- skipDeployment: "true" +CDVCSM-INT.EMEA-PreProd: +- name: CD_VCSM INT +- mzName: CD_VCSM/management-zone/CDVCSM.name +- mzId: CD_VCSM/management-zone/CDVCSM.id +- tag: VCSM +- env: INT +- skipDeployment: "false" +CDVCSM-INT.NA-PreProd: +- name: CD_VCSM INT +- mzName: CD_VCSM/management-zone/CDVCSM.name +- mzId: CD_VCSM/management-zone/CDVCSM.id +- tag: VCSM +- env: INT +- skipDeployment: "false" +CDVCSM-INT.CN-PreProd: +- name: CD_VCSM INT +- mzName: CD_VCSM/management-zone/CDVCSM.name +- mzId: CD_VCSM/management-zone/CDVCSM.id +- tag: VCSM +- env: INT +- skipDeployment: "false" + +#TEST dashboards for EMEA/NA/CN PreProd +CDVCSM-TEST: +- name: CD_VCSM TEST +- mzName: CD_VCSM/management-zone/CDVCSM.name +- mzId: CD_VCSM/management-zone/CDVCSM.id +- tag: VCSM +- env: TEST +- skipDeployment: "true" +CDVCSM-TEST.EMEA-PreProd: +- name: CD_VCSM TEST +- mzName: CD_VCSM/management-zone/CDVCSM.name +- mzId: CD_VCSM/management-zone/CDVCSM.id +- tag: VCSM +- env: TEST +- skipDeployment: "false" +CDVCSM-TEST.NA-PreProd: +- name: CD_VCSM TEST +- mzName: CD_VCSM/management-zone/CDVCSM.name +- mzId: CD_VCSM/management-zone/CDVCSM.id +- tag: VCSM +- env: TEST +- skipDeployment: "false" +CDVCSM-TEST.CN-PreProd: +- name: CD_VCSM TEST +- mzName: CD_VCSM/management-zone/CDVCSM.name +- mzId: CD_VCSM/management-zone/CDVCSM.id +- tag: VCSM +- env: TEST +- skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VCSM/dashboard/default.json b/BMW-Dynatrace-config/CD_VCSM/dashboard/default.json new file mode 100644 index 00000000..ef07d18c --- /dev/null +++ b/BMW-Dynatrace-config/CD_VCSM/dashboard/default.json @@ -0,0 +1,309 @@ +{ + "metadata": { + "configurationVersions": [ + 3 + ], + "clusterVersion": "1.214.107.20210407-223952" + }, + "dashboardMetadata": { + "name": "{{.name}}", + "shared": true, + "owner": "Ignacio.Goldman@partner.bmwgroup.com", + "dashboardFilter": { + "timeframe": "-24h to now" + }, + "tags": [ + "{{.tag}}" + ], + "preset": true + }, + "tiles": [ + { + "name": "Custom chart", + "tileType": "CUSTOM_CHARTING", + "configured": true, + "bounds": { + "top": 228, + "left": 38, + "width": 1064, + "height": 304 + }, + "tileFilter": {}, + "filterConfig": { + "type": "MIXED", + "customName": "Failure rate (HTTP 4xx/5xx errors)", + "defaultName": "Custom chart", + "chartConfig": { + "legendShown": true, + "type": "TIMESERIES", + "series": [ + { + "metric": "builtin:service.errors.fourxx.rate", + "aggregation": "AVG", + "type": "BAR", + "entityType": "SERVICE", + "dimensions": [], + "sortAscending": false, + "sortColumn": false, + "aggregationRate": "TOTAL" + }, + { + "metric": "builtin:service.errors.fivexx.rate", + "aggregation": "AVG", + "type": "BAR", + "entityType": "SERVICE", + "dimensions": [], + "sortAscending": false, + "sortColumn": true, + "aggregationRate": "TOTAL" + } + ], + "resultMetadata": { + "nullbuiltin:service.errors.fivexx.rate|AVG|TOTAL|BAR|SERVICE": { + "lastModified": 1617956393463, + "customColor": "#ff0000" + }, + "nullbuiltin:service.errors.fourxx.rate|AVG|TOTAL|BAR|SERVICE": { + "lastModified": 1617956441725, + "customColor": "#fff29a" + } + } + }, + "filtersPerEntityType": { + "SERVICE": { + "AUTO_TAGS": [ + "Environment:{{.env}}", + "Component:{{.tag}}" + ] + } + } + } + }, + { + "name": "Problems", + "tileType": "OPEN_PROBLEMS", + "configured": true, + "bounds": { + "top": 38, + "left": 950, + "width": 152, + "height": 152 + }, + "tileFilter": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + } + }, + { + "name": "Overall Health", + "tileType": "HEADER", + "configured": true, + "bounds": { + "top": 0, + "left": 38, + "width": 1064, + "height": 38 + }, + "tileFilter": {} + }, + { + "name": "Markdown", + "tileType": "MARKDOWN", + "configured": true, + "bounds": { + "top": 532, + "left": 38, + "width": 1064, + "height": 38 + }, + "tileFilter": {}, + "markdown": "---\n" + }, + { + "name": "Custom chart", + "tileType": "CUSTOM_CHARTING", + "configured": true, + "bounds": { + "top": 570, + "left": 38, + "width": 1064, + "height": 304 + }, + "tileFilter": {}, + "filterConfig": { + "type": "MIXED", + "customName": "Response time, Request Count and Number of Errors", + "defaultName": "Custom chart", + "chartConfig": { + "legendShown": true, + "type": "TIMESERIES", + "series": [ + { + "metric": "builtin:service.response.time", + "aggregation": "AVG", + "type": "LINE", + "entityType": "SERVICE", + "dimensions": [], + "sortAscending": false, + "sortColumn": false, + "aggregationRate": "TOTAL" + }, + { + "metric": "builtin:service.requestCount.total", + "aggregation": "NONE", + "type": "BAR", + "entityType": "SERVICE", + "dimensions": [], + "sortAscending": false, + "sortColumn": false, + "aggregationRate": "TOTAL" + }, + { + "metric": "builtin:service.errors.total.count", + "aggregation": "NONE", + "type": "BAR", + "entityType": "SERVICE", + "dimensions": [], + "sortAscending": false, + "sortColumn": true, + "aggregationRate": "TOTAL" + } + ], + "resultMetadata": { + "nullbuiltin:service.requestCount.total|NONE|TOTAL|BAR|SERVICE": { + "lastModified": 1595275720776, + "customColor": "#008cdb" + }, + "nullbuiltin:service.errors.total.count|NONE|TOTAL|BAR|SERVICE": { + "lastModified": 1595275955999, + "customColor": "#ef651f" + }, + "nullbuiltin:service.response.time|AVG|TOTAL|LINE|SERVICE": { + "lastModified": 1595275686773, + "customColor": "#b4e5f9" + } + } + }, + "filtersPerEntityType": { + "SERVICE": { + "AUTO_TAGS": [ + "Environment:{{.env}}", + "Component:{{.tag}}" + ] + } + } + } + }, + { + "name": "Markdown", + "tileType": "MARKDOWN", + "configured": true, + "bounds": { + "top": 190, + "left": 38, + "width": 1064, + "height": 38 + }, + "tileFilter": {}, + "markdown": "---\n" + }, + { + "name": "", + "tileType": "DATABASES_OVERVIEW", + "configured": true, + "bounds": { + "top": 38, + "left": 646, + "width": 190, + "height": 152 + }, + "tileFilter": {}, + "filterConfig": { + "type": "DATABASE", + "customName": "Databases", + "defaultName": "Databases", + "chartConfig": { + "legendShown": true, + "type": "TIMESERIES", + "series": [], + "resultMetadata": {} + }, + "filtersPerEntityType": { + "DATABASE": { + "AUTO_TAGS": [ + "Environment:{{.env}}", + "Component:{{.tag}}" + ] + } + } + }, + "chartVisible": true + }, + { + "name": "", + "tileType": "SERVICES", + "configured": true, + "bounds": { + "top": 38, + "left": 342, + "width": 190, + "height": 152 + }, + "tileFilter": {}, + "filterConfig": { + "type": "SERVICE", + "customName": "Services", + "defaultName": "Services", + "chartConfig": { + "legendShown": true, + "type": "TIMESERIES", + "series": [], + "resultMetadata": {} + }, + "filtersPerEntityType": { + "SERVICE": { + "AUTO_TAGS": [ + "Environment:{{.env}}", + "Component:{{.tag}}" + ] + } + } + }, + "chartVisible": true + }, + { + "name": "", + "tileType": "HOSTS", + "configured": true, + "bounds": { + "top": 38, + "left": 38, + "width": 190, + "height": 152 + }, + "tileFilter": {}, + "filterConfig": { + "type": "HOST", + "customName": "Hosts", + "defaultName": "Hosts", + "chartConfig": { + "legendShown": true, + "type": "TIMESERIES", + "series": [], + "resultMetadata": {} + }, + "filtersPerEntityType": { + "HOST": { + "AUTO_TAGS": [ + "Environment:{{.env}}", + "Component:{{.tag}}" + ] + } + } + }, + "chartVisible": true + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VCSM/management-zone/README.md b/BMW-Dynatrace-config/CD_VCSM/management-zone/README.md new file mode 100644 index 00000000..ffe9d6e3 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VCSM/management-zone/README.md @@ -0,0 +1,4 @@ + +### How to configure management zones? + +Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Management+Zones) page to configure your management zones. \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VCSM/management-zone/default.json b/BMW-Dynatrace-config/CD_VCSM/management-zone/default.json new file mode 100644 index 00000000..bffa0c3b --- /dev/null +++ b/BMW-Dynatrace-config/CD_VCSM/management-zone/default.json @@ -0,0 +1,114 @@ +{ + "dimensionalRules": [], + "name": "{{.name}}", + "rules": [ + { + "conditions": [ + { + "comparisonInfo": { + "negate": false, + "operator": "EQUALS", + "type": "TAG", + "value": { + "context": "CONTEXTLESS", + "key": "Component", + "value": "{{.tag}}" + } + }, + "key": { + "attribute": "SERVICE_TAGS" + } + } + ], + "enabled": true, + "propagationTypes": [ + "SERVICE_TO_PROCESS_GROUP_LIKE", + "SERVICE_TO_HOST_LIKE" + ], + "type": "SERVICE" + }, + { + "conditions": [ + { + "comparisonInfo": { + "negate": false, + "operator": "EQUALS", + "type": "TAG", + "value": { + "context": "CONTEXTLESS", + "key": "Component", + "value": "{{.tag}}" + } + }, + "key": { + "attribute": "PROCESS_GROUP_TAGS" + } + } + ], + "enabled": true, + "propagationTypes": [ + "PROCESS_GROUP_TO_HOST" + ], + "type": "PROCESS_GROUP" + }, + { + "conditions": [ + { + "comparisonInfo": { + "negate": false, + "operator": "EQUALS", + "type": "TAG", + "value": { + "context": "CONTEXTLESS", + "key": "Component", + "value": "{{.tag}}" + } + }, + "key": { + "attribute": "HOST_TAGS" + } + } + ], + "enabled": true, + "type": "HOST" + }, + { + "conditions": [ + { + "comparisonInfo": { + "caseSensitive": true, + "negate": false, + "operator": "CONTAINS", + "type": "STRING", + "value": "{{.tag}}" + }, + "key": { + "attribute": "CLOUD_APPLICATION_NAMESPACE_NAME" + } + } + ], + "enabled": true, + "propagationTypes": [], + "type": "CLOUD_APPLICATION_NAMESPACE" + }, + { + "conditions": [ + { + "comparisonInfo": { + "caseSensitive": true, + "negate": false, + "operator": "CONTAINS", + "type": "STRING", + "value": "{{.tag}}" + }, + "key": { + "attribute": "CLOUD_APPLICATION_NAME" + } + } + ], + "enabled": true, + "propagationTypes": [], + "type": "CLOUD_APPLICATION" + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VCSM/management-zone/management-zone.yaml b/BMW-Dynatrace-config/CD_VCSM/management-zone/management-zone.yaml new file mode 100644 index 00000000..6f33a832 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VCSM/management-zone/management-zone.yaml @@ -0,0 +1,6 @@ +config: +- CDVCSM: default.json + +CDVCSM: +- name: CD_VCSM +- tag: VCSM diff --git a/BMW-Dynatrace-config/CD_VCSM/notification/README.md b/BMW-Dynatrace-config/CD_VCSM/notification/README.md new file mode 100644 index 00000000..5ba3825a --- /dev/null +++ b/BMW-Dynatrace-config/CD_VCSM/notification/README.md @@ -0,0 +1,4 @@ + +### How to configure notification systems? + +Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Problem+Notification+Integrations) page to configure your notification systems. \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VCSM/notification/email.json b/BMW-Dynatrace-config/CD_VCSM/notification/email.json new file mode 100644 index 00000000..486642a7 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VCSM/notification/email.json @@ -0,0 +1,13 @@ +{ + "active": true, + "alertingProfile": "{{.alertingProfile}}", + "bccReceivers": [], + "body": "{ProblemDetailsHTML}", + "ccReceivers": [], + "name": "{{.name}}", + "receivers": [ + "{{.receivers}}" + ], + "subject": "{State} Problem {ProblemID}: {ImpactedEntity}", + "type": "EMAIL" +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VCSM/notification/itsm.json b/BMW-Dynatrace-config/CD_VCSM/notification/itsm.json new file mode 100644 index 00000000..677ef0ea --- /dev/null +++ b/BMW-Dynatrace-config/CD_VCSM/notification/itsm.json @@ -0,0 +1,20 @@ +{ + "acceptAnyCertificate": false, + "active": true, + "alertingProfile": "{{.alertingProfile}}", + "headers": [ + { + "name": "Authorization", + "value": "{{.Env.SecretAuthHeader}}" + }, + { + "name": "x-apikey", + "value": "{{.Env.SecretXAPIKey}}" + } + ], + "name": "{{.name}}", + "notifyEventMergesEnabled": false, + "payload": "[\n{\n \"attributes\": {\n \"CLASS\": \"BusinessTransaction\",\n \"source\": \"MgmtZone: {{.mzName}}\",\n \"severity\": \"MINOR\",\n \"origin\": \"{{.appdid}}\",\n \"sub_origin\": \"Dynatrace SaaS - {ImpactedEntity}\",\n \"adapter_host\": \"{{ .DTEnvironment }}\",\n \"msg\": \"{ProblemDetailsText}\",\n \"contract_id\": \"{{.contractid}}\",\n \"ars_esc\": \"Yes\",\n \"ars_delay_time\": \"0\",\n \"hostname\": \"test\",\n \"sub_source\": \"Environment: CoCo_EMEA_Prod\",\n \"server_loc\": \"\",\n \"event_id\": \"AI001\",\n \"dd_plus\": \"{ProblemSeverity}\",\n \"dd1\": \"{ProblemURL}\",\n \"dd2\": \"{PID}\"\n }\n}\n]", + "type": "WEBHOOK", + "url": "{{.webhook}}" +} diff --git a/BMW-Dynatrace-config/CD_VCSM/notification/msTeams.json b/BMW-Dynatrace-config/CD_VCSM/notification/msTeams.json new file mode 100644 index 00000000..33e92cf6 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VCSM/notification/msTeams.json @@ -0,0 +1,11 @@ +{ + "acceptAnyCertificate": false, + "active": true, + "alertingProfile": "{{.alertingProfile}}", + "headers": [], + "name": "{{.name}}", + "notifyEventMergesEnabled": false, + "payload": "{\n\"title\":\"{ProblemTitle}\",\n\"text\":\"{ProblemDetailsHTML}\",\n\"themeColor\":\"EA4300\"\n}", + "type": "WEBHOOK", + "url": "{{.webhook}}" +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VCSM/notification/notification.yaml b/BMW-Dynatrace-config/CD_VCSM/notification/notification.yaml new file mode 100644 index 00000000..f8b5c6d4 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VCSM/notification/notification.yaml @@ -0,0 +1,102 @@ +config: +- CDVCSM: msTeams.json +- CDVCSMITSM: itsm.json + +# Notification System for EMEA/NA/CN Prod msTeams +CDVCSM.EMEA-Prod: +- name: CD_VCSM PROD +- alertingProfile: CD_VCSM/alerting-profile/CDVCSM.id +- webhook: https://empty +- skipDeployment: "true" +CDVCSM.NA-Prod: +- name: CD_VCSM PROD +- alertingProfile: CD_VCSM/alerting-profile/CDVCSM.id +- webhook: https://empty +- skipDeployment: "true" +CDVCSM.CN-Prod: +- name: CD_VCSM PROD +- alertingProfile: CD_VCSM/alerting-profile/CDVCSM.id +- webhook: https://empty +- skipDeployment: "true" + +# Notification System for EMEA/NA/CN PreProd msTeams +CDVCSM.EMEA-PreProd: +- name: CD_VCSM INT +- alertingProfile: CD_VCSM/alerting-profile/CDVCSM.id +- webhook: https://empty +- skipDeployment: "true" +CDVCSM.NA-PreProd: +- name: CD_VCSM INT +- alertingProfile: CD_VCSM/alerting-profile/CDVCSM.id +- webhook: https://empty +- skipDeployment: "true" +CDVCSM.CN-PreProd: +- name: CD_VCSM INT +- alertingProfile: CD_VCSM/alerting-profile/CDVCSM.id +- webhook: https://empty +- skipDeployment: "true" + + +# Notification System for EMEA/NA/CN Prod ITSM +CDVCSMITSM.EMEA-Prod: +- name: CD_VCSM ITSM PROD +- alertingProfile: CD_VCSM/alerting-profile/CDVCSM.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VCSM/management-zone/CDVCSM.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + +CDVCSMITSM.NA-Prod: +- name: CD_VCSM ITSM PROD +- alertingProfile: CD_VCSM/alerting-profile/CDVCSM.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VCSM/management-zone/CDVCSM.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + + +CDVCSMITSM.CN-Prod: +- name: CD_VCSM ITSM PROD +- alertingProfile: CD_VCSM/alerting-profile/CDVCSM.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VCSM/management-zone/CDVCSM.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + +CDVCSMITSM.EMEA-PreProd: +- name: CD_VCSM ITSM INT +- alertingProfile: CD_VCSM/alerting-profile/CDVCSM.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VCSM/management-zone/CDVCSM.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + +CDVCSMITSM.NA-PreProd: +- name: CD_VCSM ITSM INT +- alertingProfile: CD_VCSM/alerting-profile/CDVCSM.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VCSM/management-zone/CDVCSM.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + + +CDVCSMITSM.CN-PreProd: +- name: CD_VCSM ITSM INT +- alertingProfile: CD_VCSM/alerting-profile/CDVCSM.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VCSM/management-zone/CDVCSM.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + diff --git a/BMW-Dynatrace-config/CD_VCSM/synthetic-monitor/README.md b/BMW-Dynatrace-config/CD_VCSM/synthetic-monitor/README.md new file mode 100644 index 00000000..04d7949f --- /dev/null +++ b/BMW-Dynatrace-config/CD_VCSM/synthetic-monitor/README.md @@ -0,0 +1,4 @@ + +### How to configure synthetics? + +Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Synthetic+Monitors) page to configure your synthetics. \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VCSM/synthetic-monitor/default.json b/BMW-Dynatrace-config/CD_VCSM/synthetic-monitor/default.json new file mode 100644 index 00000000..cf83039b --- /dev/null +++ b/BMW-Dynatrace-config/CD_VCSM/synthetic-monitor/default.json @@ -0,0 +1,82 @@ +{ + "anomalyDetection": { + "loadingTimeThresholds": { + "enabled": false, + "thresholds": [ + { + "type": "TOTAL", + "valueMs": 0 + } + ] + }, + "outageHandling": { + "globalOutage": true, + "localOutage": false, + "localOutagePolicy": { + "affectedLocations": 1, + "consecutiveRuns": 3 + } + } + }, + "automaticallyAssignedApps": [], + "enabled": true, + "frequencyMin": 1, + "locations": [ + "{{.location}}" + ], + "managementZones": [ + { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + ], + "manuallyAssignedApps": [], + "name": "{{.name}}", + "requests": [ + { + "entityId": "HTTP_CHECK_STEP-0BA53EC80CD7EE5A", + "name": "{{.name}}", + "sequenceNumber": 1 + } + ], + "script": { + "requests": [ + { + "configuration": { + "acceptAnyCertificate": true, + "followRedirects": true, + "requestHeaders": [ + { + "name": "accept", + "value": "application/json" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "api_key", + "value": "355DE89C-7B72-4EA3-BDD8-157C79EB2C23" + } + ] + }, + "description": "{{.name}}", + "method": "GET", + "url": "{{.endpoint}}", + "validation": { + "rules": [ + { + "passIfFound": true, + "type": "httpStatusesList", + "value": "200" + } + ], + "rulesChaining": "or" + } + } + ], + "version": "1.0" + }, + "tags": [], + "type": "HTTP" +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VCSM/synthetic-monitor/synthetic-monitor.yaml b/BMW-Dynatrace-config/CD_VCSM/synthetic-monitor/synthetic-monitor.yaml new file mode 100644 index 00000000..a725daff --- /dev/null +++ b/BMW-Dynatrace-config/CD_VCSM/synthetic-monitor/synthetic-monitor.yaml @@ -0,0 +1,10 @@ +config: +- VCSM: default.json + +VCSM: +- name: CD_VCSM - +- mzName: CD_VCSM/management-zone/CDVCSM.name +- mzId: CD_VCSM/management-zone/CDVCSM.id +- endpoint: +- location: +- skipDeployment: "true" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_oclisc2v/alerting-profile/alerting-profile.yaml b/BMW-Dynatrace-config/CD_oclisc2v/alerting-profile/alerting-profile.yaml new file mode 100644 index 00000000..dda0e11e --- /dev/null +++ b/BMW-Dynatrace-config/CD_oclisc2v/alerting-profile/alerting-profile.yaml @@ -0,0 +1,43 @@ +config: +- CDOCLIS_c2v: default.json + + +#Prod alerting profiles for EMEA/NA/CN +CDOCLIS_c2v.EMEA-Prod: +- name: CD_OCLISc2v PROD +- tag: OCLIS_c2v +- mzId: CD_OCLISc2v/management-zone/CDOCLIS_c2v.id +- env: PROD +- skipDeployment: "false" +CDOCLIS_c2v.NA-Prod: +- name: CD_OCLISc2v PROD +- tag: OCLIS_c2v +- mzId: CD_OCLISc2v/management-zone/CDOCLIS_c2v.id +- env: PROD +- skipDeployment: "false" +CDOCLIS_c2v.CN-Prod: +- name: CD_OCLISc2v PROD +- tag: OCLIS_c2v +- mzId: CD_OCLISc2v/management-zone/CDOCLIS_c2v.id +- env: PROD +- skipDeployment: "false" + +#INT alerting profiles for EMEA/NA/CN +CDOCLIS_c2v.EMEA-PreProd: +- name: CD_OCLISc2v INT +- tag: OCLIS_c2v +- mzId: CD_OCLISc2v/management-zone/CDOCLIS_c2v.id +- env: INT +- skipDeployment: "false" +CDOCLIS_c2v.NA-PreProd: +- name: CD_OCLISc2v INT +- tag: OCLIS_c2v +- mzId: CD_OCLISc2v/management-zone/CDOCLIS_c2v.id +- env: INT +- skipDeployment: "false" +CDOCLIS_c2v.CN-PreProd: +- name: CD_OCLISc2v INT +- tag: OCLIS_c2v +- mzId: CD_OCLISc2v/management-zone/CDOCLIS_c2v.id +- env: INT +- skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_oclisc2v/alerting-profile/default.json b/BMW-Dynatrace-config/CD_oclisc2v/alerting-profile/default.json new file mode 100644 index 00000000..681a4c64 --- /dev/null +++ b/BMW-Dynatrace-config/CD_oclisc2v/alerting-profile/default.json @@ -0,0 +1,103 @@ +{ + "displayName": "{{.name}}", + "eventTypeFilters": [], + "managementZoneId": "{{.mzId}}", + "mzId": "{{.mzId}}", + "rules": [ + { + "delayInMinutes": 0, + "severityLevel": "AVAILABILITY", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Component", + "value": "{{.tag}}" + }, + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 10, + "severityLevel": "ERROR", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Component", + "value": "{{.tag}}" + }, + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 30, + "severityLevel": "PERFORMANCE", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Component", + "value": "{{.tag}}" + }, + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 30, + "severityLevel": "RESOURCE_CONTENTION", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Component", + "value": "{{.tag}}" + }, + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 10, + "severityLevel": "CUSTOM_ALERT", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Component", + "value": "{{.tag}}" + }, + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_oclisc2v/calculated-metrics-service/README.md b/BMW-Dynatrace-config/CD_oclisc2v/calculated-metrics-service/README.md new file mode 100644 index 00000000..f958f929 --- /dev/null +++ b/BMW-Dynatrace-config/CD_oclisc2v/calculated-metrics-service/README.md @@ -0,0 +1,4 @@ + +### How to configure custom metrics? + +Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Calculated+Metrics) page to configure your custom metrics. \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_oclisc2v/conditional-naming-processgroup/README.md b/BMW-Dynatrace-config/CD_oclisc2v/conditional-naming-processgroup/README.md new file mode 100644 index 00000000..8c10d2b4 --- /dev/null +++ b/BMW-Dynatrace-config/CD_oclisc2v/conditional-naming-processgroup/README.md @@ -0,0 +1,4 @@ + +### How to configure process groups? + +Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Process+Group+Naming) page to configure your process groups. \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_oclisc2v/conditional-naming-processgroup/conditional-naming-processgroup.yaml b/BMW-Dynatrace-config/CD_oclisc2v/conditional-naming-processgroup/conditional-naming-processgroup.yaml new file mode 100644 index 00000000..f2b45e5d --- /dev/null +++ b/BMW-Dynatrace-config/CD_oclisc2v/conditional-naming-processgroup/conditional-naming-processgroup.yaml @@ -0,0 +1,8 @@ +config: +- CDOCLIS_c2v: template.json + +CDOCLIS_c2v: +- name: MyProcessNamingRule +- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}" +- tag: OCLIS_c2v +- skipDeployment: "true" diff --git a/BMW-Dynatrace-config/CD_oclisc2v/conditional-naming-processgroup/template.json b/BMW-Dynatrace-config/CD_oclisc2v/conditional-naming-processgroup/template.json new file mode 100644 index 00000000..7c039808 --- /dev/null +++ b/BMW-Dynatrace-config/CD_oclisc2v/conditional-naming-processgroup/template.json @@ -0,0 +1,29 @@ +{ + "displayName": "{{.name}}", + "enabled": true, + "metadata": { + "clusterVersion": "1.214.107.20210407-223952", + "configurationVersions": [ + 0 + ] + }, + "nameFormat": "{{.nameFormat}}", + "rules": [ + { + "comparisonInfo": { + "negate": false, + "operator": "EQUALS", + "type": "TAG", + "value": { + "context": "CONTEXTLESS", + "key": "Component", + "value": "{{.tag}}" + } + }, + "key": { + "attribute": "PROCESS_GROUP_TAGS" + } + } + ], + "type": "PROCESS_GROUP" +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_oclisc2v/conditional-naming-service/README.md b/BMW-Dynatrace-config/CD_oclisc2v/conditional-naming-service/README.md new file mode 100644 index 00000000..93dc620b --- /dev/null +++ b/BMW-Dynatrace-config/CD_oclisc2v/conditional-naming-service/README.md @@ -0,0 +1,4 @@ + +### How to configure service naming + +Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Service+Naming) page to configure your service naming. \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_oclisc2v/conditional-naming-service/conditional-naming-service.yaml b/BMW-Dynatrace-config/CD_oclisc2v/conditional-naming-service/conditional-naming-service.yaml new file mode 100644 index 00000000..f2b45e5d --- /dev/null +++ b/BMW-Dynatrace-config/CD_oclisc2v/conditional-naming-service/conditional-naming-service.yaml @@ -0,0 +1,8 @@ +config: +- CDOCLIS_c2v: template.json + +CDOCLIS_c2v: +- name: MyProcessNamingRule +- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}" +- tag: OCLIS_c2v +- skipDeployment: "true" diff --git a/BMW-Dynatrace-config/CD_oclisc2v/conditional-naming-service/template.json b/BMW-Dynatrace-config/CD_oclisc2v/conditional-naming-service/template.json new file mode 100644 index 00000000..5d4fac56 --- /dev/null +++ b/BMW-Dynatrace-config/CD_oclisc2v/conditional-naming-service/template.json @@ -0,0 +1,29 @@ +{ + "displayName": "{{.name}}", + "enabled": true, + "metadata": { + "clusterVersion": "1.214.107.20210407-223952", + "configurationVersions": [ + 0 + ] + }, + "nameFormat": "{{.nameFormat}}", + "rules": [ + { + "comparisonInfo": { + "negate": false, + "operator": "EQUALS", + "type": "TAG", + "value": { + "context": "CONTEXTLESS", + "key": "Component", + "value": "{{.tag}}" + } + }, + "key": { + "attribute": "SERVICE_TAGS" + } + } + ], + "type": "SERVICE" +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_oclisc2v/custom-service-java/README.md b/BMW-Dynatrace-config/CD_oclisc2v/custom-service-java/README.md new file mode 100644 index 00000000..a467a6f8 --- /dev/null +++ b/BMW-Dynatrace-config/CD_oclisc2v/custom-service-java/README.md @@ -0,0 +1,4 @@ + +### How to configure custom services? + +Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Custom+Services) page to configure your custom services. \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_oclisc2v/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_oclisc2v/custom-service-java/custom-service-java.yaml new file mode 100644 index 00000000..25f8a028 --- /dev/null +++ b/BMW-Dynatrace-config/CD_oclisc2v/custom-service-java/custom-service-java.yaml @@ -0,0 +1,9 @@ +config: +- customService1: template-1-1.json + +customService1: +- name: myJOYNRService +- className: com.bmw.cc.conn.this.is.just.an.exampleClasss +- methodName: exampleJoynrMethod +- returnType: void +- skipDeployment: "true" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_oclisc2v/custom-service-java/template-1-1.json b/BMW-Dynatrace-config/CD_oclisc2v/custom-service-java/template-1-1.json new file mode 100644 index 00000000..b3003515 --- /dev/null +++ b/BMW-Dynatrace-config/CD_oclisc2v/custom-service-java/template-1-1.json @@ -0,0 +1,23 @@ +{ + "enabled": true, + "name": "{{.name}}", + "processGroups": [], + "queueEntryPoint": false, + "queueEntryPointType": null, + "rules": [ + { + "annotations": [], + "className": "{{.className}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": [], + "methodName": "{{.methodName}}", + "returnType": "{{.returnType}}" + } + ] + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_oclisc2v/notification/README.md b/BMW-Dynatrace-config/CD_oclisc2v/notification/README.md new file mode 100644 index 00000000..5ba3825a --- /dev/null +++ b/BMW-Dynatrace-config/CD_oclisc2v/notification/README.md @@ -0,0 +1,4 @@ + +### How to configure notification systems? + +Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Problem+Notification+Integrations) page to configure your notification systems. \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_oclisc2v/notification/email.json b/BMW-Dynatrace-config/CD_oclisc2v/notification/email.json new file mode 100644 index 00000000..486642a7 --- /dev/null +++ b/BMW-Dynatrace-config/CD_oclisc2v/notification/email.json @@ -0,0 +1,13 @@ +{ + "active": true, + "alertingProfile": "{{.alertingProfile}}", + "bccReceivers": [], + "body": "{ProblemDetailsHTML}", + "ccReceivers": [], + "name": "{{.name}}", + "receivers": [ + "{{.receivers}}" + ], + "subject": "{State} Problem {ProblemID}: {ImpactedEntity}", + "type": "EMAIL" +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_oclisc2v/notification/itsm.json b/BMW-Dynatrace-config/CD_oclisc2v/notification/itsm.json new file mode 100644 index 00000000..677ef0ea --- /dev/null +++ b/BMW-Dynatrace-config/CD_oclisc2v/notification/itsm.json @@ -0,0 +1,20 @@ +{ + "acceptAnyCertificate": false, + "active": true, + "alertingProfile": "{{.alertingProfile}}", + "headers": [ + { + "name": "Authorization", + "value": "{{.Env.SecretAuthHeader}}" + }, + { + "name": "x-apikey", + "value": "{{.Env.SecretXAPIKey}}" + } + ], + "name": "{{.name}}", + "notifyEventMergesEnabled": false, + "payload": "[\n{\n \"attributes\": {\n \"CLASS\": \"BusinessTransaction\",\n \"source\": \"MgmtZone: {{.mzName}}\",\n \"severity\": \"MINOR\",\n \"origin\": \"{{.appdid}}\",\n \"sub_origin\": \"Dynatrace SaaS - {ImpactedEntity}\",\n \"adapter_host\": \"{{ .DTEnvironment }}\",\n \"msg\": \"{ProblemDetailsText}\",\n \"contract_id\": \"{{.contractid}}\",\n \"ars_esc\": \"Yes\",\n \"ars_delay_time\": \"0\",\n \"hostname\": \"test\",\n \"sub_source\": \"Environment: CoCo_EMEA_Prod\",\n \"server_loc\": \"\",\n \"event_id\": \"AI001\",\n \"dd_plus\": \"{ProblemSeverity}\",\n \"dd1\": \"{ProblemURL}\",\n \"dd2\": \"{PID}\"\n }\n}\n]", + "type": "WEBHOOK", + "url": "{{.webhook}}" +} diff --git a/BMW-Dynatrace-config/CD_oclisc2v/notification/msTeams.json b/BMW-Dynatrace-config/CD_oclisc2v/notification/msTeams.json new file mode 100644 index 00000000..33e92cf6 --- /dev/null +++ b/BMW-Dynatrace-config/CD_oclisc2v/notification/msTeams.json @@ -0,0 +1,11 @@ +{ + "acceptAnyCertificate": false, + "active": true, + "alertingProfile": "{{.alertingProfile}}", + "headers": [], + "name": "{{.name}}", + "notifyEventMergesEnabled": false, + "payload": "{\n\"title\":\"{ProblemTitle}\",\n\"text\":\"{ProblemDetailsHTML}\",\n\"themeColor\":\"EA4300\"\n}", + "type": "WEBHOOK", + "url": "{{.webhook}}" +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_oclisc2v/notification/notification.yaml b/BMW-Dynatrace-config/CD_oclisc2v/notification/notification.yaml new file mode 100644 index 00000000..26cc5d29 --- /dev/null +++ b/BMW-Dynatrace-config/CD_oclisc2v/notification/notification.yaml @@ -0,0 +1,102 @@ +config: +- CDOCLIS_c2v: msTeams.json +- CDOCLIS_c2vITSM: itsm.json + +# Notification System for EMEA/NA/CN Prod msTeams +CDOCLIS_c2v.EMEA-Prod: +- name: CD_OCLISc2v PROD +- alertingProfile: CD_OCLISc2v/alerting-profile/CDOCLIS_c2v.id +- webhook: https://empty +- skipDeployment: "true" +CDOCLIS_c2v.NA-Prod: +- name: CD_OCLISc2v PROD +- alertingProfile: CD_OCLISc2v/alerting-profile/CDOCLIS_c2v.id +- webhook: https://empty +- skipDeployment: "true" +CDOCLIS_c2v.CN-Prod: +- name: CD_OCLISc2v PROD +- alertingProfile: CD_OCLISc2v/alerting-profile/CDOCLIS_c2v.id +- webhook: https://empty +- skipDeployment: "true" + +# Notification System for EMEA/NA/CN PreProd msTeams +CDOCLIS_c2v.EMEA-PreProd: +- name: CD_OCLISc2v INT +- alertingProfile: CD_OCLISc2v/alerting-profile/CDOCLIS_c2v.id +- webhook: https://empty +- skipDeployment: "true" +CDOCLIS_c2v.NA-PreProd: +- name: CD_OCLISc2v INT +- alertingProfile: CD_OCLISc2v/alerting-profile/CDOCLIS_c2v.id +- webhook: https://empty +- skipDeployment: "true" +CDOCLIS_c2v.CN-PreProd: +- name: CD_OCLISc2v INT +- alertingProfile: CD_OCLISc2v/alerting-profile/CDOCLIS_c2v.id +- webhook: https://empty +- skipDeployment: "true" + + +# Notification System for EMEA/NA/CN Prod ITSM +CDOCLIS_c2vITSM.EMEA-Prod: +- name: CD_OCLISc2v ITSM PROD +- alertingProfile: CD_OCLISc2v/alerting-profile/CDOCLIS_c2v.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_OCLISc2v/management-zone/CDOCLIS_c2v.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + +CDOCLIS_c2vITSM.NA-Prod: +- name: CD_OCLISc2v ITSM PROD +- alertingProfile: CD_OCLISc2v/alerting-profile/CDOCLIS_c2v.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_OCLISc2v/management-zone/CDOCLIS_c2v.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + + +CDOCLIS_c2vITSM.CN-Prod: +- name: CD_OCLISc2v ITSM PROD +- alertingProfile: CD_OCLISc2v/alerting-profile/CDOCLIS_c2v.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_OCLISc2v/management-zone/CDOCLIS_c2v.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + +CDOCLIS_c2vITSM.EMEA-PreProd: +- name: CD_OCLISc2v ITSM INT +- alertingProfile: CD_OCLISc2v/alerting-profile/CDOCLIS_c2v.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_OCLISc2v/management-zone/CDOCLIS_c2v.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + +CDOCLIS_c2vITSM.NA-PreProd: +- name: CD_OCLISc2v ITSM INT +- alertingProfile: CD_OCLISc2v/alerting-profile/CDOCLIS_c2v.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_OCLISc2v/management-zone/CDOCLIS_c2v.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + + +CDOCLIS_c2vITSM.CN-PreProd: +- name: CD_OCLISc2v ITSM INT +- alertingProfile: CD_OCLISc2v/alerting-profile/CDOCLIS_c2v.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_OCLISc2v/management-zone/CDOCLIS_c2v.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + diff --git a/BMW-Dynatrace-config/CD_oclisc2v/synthetic-monitor/README.md b/BMW-Dynatrace-config/CD_oclisc2v/synthetic-monitor/README.md new file mode 100644 index 00000000..04d7949f --- /dev/null +++ b/BMW-Dynatrace-config/CD_oclisc2v/synthetic-monitor/README.md @@ -0,0 +1,4 @@ + +### How to configure synthetics? + +Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Synthetic+Monitors) page to configure your synthetics. \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_oclisc2v/synthetic-monitor/default.json b/BMW-Dynatrace-config/CD_oclisc2v/synthetic-monitor/default.json new file mode 100644 index 00000000..cf83039b --- /dev/null +++ b/BMW-Dynatrace-config/CD_oclisc2v/synthetic-monitor/default.json @@ -0,0 +1,82 @@ +{ + "anomalyDetection": { + "loadingTimeThresholds": { + "enabled": false, + "thresholds": [ + { + "type": "TOTAL", + "valueMs": 0 + } + ] + }, + "outageHandling": { + "globalOutage": true, + "localOutage": false, + "localOutagePolicy": { + "affectedLocations": 1, + "consecutiveRuns": 3 + } + } + }, + "automaticallyAssignedApps": [], + "enabled": true, + "frequencyMin": 1, + "locations": [ + "{{.location}}" + ], + "managementZones": [ + { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + ], + "manuallyAssignedApps": [], + "name": "{{.name}}", + "requests": [ + { + "entityId": "HTTP_CHECK_STEP-0BA53EC80CD7EE5A", + "name": "{{.name}}", + "sequenceNumber": 1 + } + ], + "script": { + "requests": [ + { + "configuration": { + "acceptAnyCertificate": true, + "followRedirects": true, + "requestHeaders": [ + { + "name": "accept", + "value": "application/json" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "api_key", + "value": "355DE89C-7B72-4EA3-BDD8-157C79EB2C23" + } + ] + }, + "description": "{{.name}}", + "method": "GET", + "url": "{{.endpoint}}", + "validation": { + "rules": [ + { + "passIfFound": true, + "type": "httpStatusesList", + "value": "200" + } + ], + "rulesChaining": "or" + } + } + ], + "version": "1.0" + }, + "tags": [], + "type": "HTTP" +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_oclisc2v/synthetic-monitor/synthetic-monitor.yaml b/BMW-Dynatrace-config/CD_oclisc2v/synthetic-monitor/synthetic-monitor.yaml new file mode 100644 index 00000000..d6a7794e --- /dev/null +++ b/BMW-Dynatrace-config/CD_oclisc2v/synthetic-monitor/synthetic-monitor.yaml @@ -0,0 +1,10 @@ +config: +- OCLIS_c2v: default.json + +OCLIS_c2v: +- name: CD_OCLISc2v - +- mzName: CD_OCLISc2v/management-zone/CDOCLIS_c2v.name +- mzId: CD_OCLISc2v/management-zone/CDOCLIS_c2v.id +- endpoint: +- location: +- skipDeployment: "true" \ No newline at end of file diff --git a/environment.yaml b/environment.yaml index 6af64c8a..f4440ef8 100644 --- a/environment.yaml +++ b/environment.yaml @@ -20,10 +20,10 @@ NA-PreProd: CN-Prod: - name: "CN-Prod" - - env-url: "https://dynatracemgd-cn.bmwgroup.net/e/b921f1b9-c00e-4031-b9d1-f5a0d530757b@PROXY" + - env-url: "https://dynatracemgd-tsp.bmwgroup.net/e/b921f1b9-c00e-4031-b9d1-f5a0d530757b@PROXY" - env-token-name: "CN_Prod_TOKEN" CN-PreProd: - name: "CN-PreProd" - - env-url: "https://dynatracemgd-cn.bmwgroup.net/e/ab88c03b-b7fc-45f0-9115-9e9ecc0ced35@PROXY" + - env-url: "https://dynatracemgd-tsp.bmwgroup.net/e/ab88c03b-b7fc-45f0-9115-9e9ecc0ced35@PROXY" - env-token-name: "CN_PreProd_TOKEN" \ No newline at end of file