diff --git a/bin/terraform-provider-dynatrace_v1.9.1 b/bin/terraform-provider-dynatrace_v1.9.1 new file mode 100644 index 0000000..fea0e44 Binary files /dev/null and b/bin/terraform-provider-dynatrace_v1.9.1 differ diff --git a/export.py b/export.py index 4a75c03..0a42bc2 100644 --- a/export.py +++ b/export.py @@ -12,6 +12,11 @@ from glob import glob # [AA 2022.01.17] Set available resources +if os.name == 'nt': + export_tool = ".\\bin\\terraform-provider-dynatrace_v1.9.1.exe" +else: + export_tool = "./bin/terraform-provider-dynatrace_v1.9.1" + Resources = os.getenv("TERRAFORM_RESOURCES").split(",") if os.getenv("TERRAFORM_RESOURCES") else [ "dynatrace_custom_service", "dynatrace_dashboard", @@ -231,7 +236,7 @@ if(len(sys.argv) == 2): setEnv(sys.argv[1], timestamp, outputFolder) # [AA, EW 2022.01.17] Download resource files - runProcess("Export", [".\\bin\\terraform-provider-dynatrace_v1.9.1.exe", "export"] + Resources) + runProcess("Export", [export_tool, "export"] + Resources) # [AA, EW 2022.01.17] Create a dictionary to store information of resources createResourceDict() diff --git a/output/20220126-160617_TERRAFORM/alerting_profiles/Default.c21f969b-5f03-333d-83e0-4f8f136e7682..alerting_profile.tf b/output/20220126-160617_TERRAFORM/alerting_profiles/Default.c21f969b-5f03-333d-83e0-4f8f136e7682..alerting_profile.tf new file mode 100644 index 0000000..ed3047f --- /dev/null +++ b/output/20220126-160617_TERRAFORM/alerting_profiles/Default.c21f969b-5f03-333d-83e0-4f8f136e7682..alerting_profile.tf @@ -0,0 +1,45 @@ +resource "dynatrace_alerting_profile" "Default" { + display_name = "Default" + rules { + delay_in_minutes = 0 + severity_level = "AVAILABILITY" + tag_filter { + include_mode = "NONE" + } + } + rules { + delay_in_minutes = 0 + severity_level = "CUSTOM_ALERT" + tag_filter { + include_mode = "NONE" + } + } + rules { + delay_in_minutes = 0 + severity_level = "ERROR" + tag_filter { + include_mode = "NONE" + } + } + rules { + delay_in_minutes = 0 + severity_level = "MONITORING_UNAVAILABLE" + tag_filter { + include_mode = "NONE" + } + } + rules { + delay_in_minutes = 30 + severity_level = "PERFORMANCE" + tag_filter { + include_mode = "NONE" + } + } + rules { + delay_in_minutes = 30 + severity_level = "RESOURCE_CONTENTION" + tag_filter { + include_mode = "NONE" + } + } +} diff --git a/output/20220126-160617_TERRAFORM/alerting_profiles/TestMySQL.eb090ec3-58e3-359d-9acc-ff19e246c9fc..alerting_profile.tf b/output/20220126-160617_TERRAFORM/alerting_profiles/TestMySQL.eb090ec3-58e3-359d-9acc-ff19e246c9fc..alerting_profile.tf new file mode 100644 index 0000000..0cb4cae --- /dev/null +++ b/output/20220126-160617_TERRAFORM/alerting_profiles/TestMySQL.eb090ec3-58e3-359d-9acc-ff19e246c9fc..alerting_profile.tf @@ -0,0 +1,15 @@ +resource "dynatrace_alerting_profile" "TestMySQL" { + display_name = "TestMySQL" + rules { + delay_in_minutes = 0 + severity_level = "AVAILABILITY" + tag_filter { + include_mode = "INCLUDE_ALL" + tag_filters { + context = "CONTEXTLESS" + key = "Test-MySQL" + value = "catalogue" + } + } + } +} diff --git a/output/20220126-160617_TERRAFORM/anomalies/application_anomalies.tf b/output/20220126-160617_TERRAFORM/anomalies/application_anomalies.tf new file mode 100644 index 0000000..b85dddc --- /dev/null +++ b/output/20220126-160617_TERRAFORM/anomalies/application_anomalies.tf @@ -0,0 +1,23 @@ +resource "dynatrace_application_anomalies" "dynatrace_application_anomalies" { + failure_rate { + auto { + absolute = 5 + relative = 50 + } + } + response_time { + auto { + load = "TEN_REQUESTS_PER_MINUTE" + milliseconds = 100 + percent = 50 + slowest_milliseconds = 1000 + slowest_percent = 100 + } + } + traffic { + drops { + enabled = true + percent = 50 + } + } +} diff --git a/output/20220126-160617_TERRAFORM/anomalies/custom/Cluster controller mismatch.custom_anomalies.tf b/output/20220126-160617_TERRAFORM/anomalies/custom/Cluster controller mismatch.custom_anomalies.tf new file mode 100644 index 0000000..b8bf922 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/anomalies/custom/Cluster controller mismatch.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "Cluster_controller_mismatch" { + name = "Cluster controller mismatch" + description = "There are {severity} active cluster controllers" + enabled = false + aggregation_type = "AVG" + metric_id = "builtin:tech.kafka.pg.kafka.controller.KafkaController.ActiveControllerCount.Value" + severity = "ERROR" + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 5 + threshold = 1 + unit = "COUNT" + violating_samples = 5 + } + } +} diff --git a/output/20220126-160617_TERRAFORM/anomalies/custom/High GC time.custom_anomalies.tf b/output/20220126-160617_TERRAFORM/anomalies/custom/High GC time.custom_anomalies.tf new file mode 100644 index 0000000..5789c0f --- /dev/null +++ b/output/20220126-160617_TERRAFORM/anomalies/custom/High GC time.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "High_GC_time" { + name = "High GC time" + description = "The .NET GC time of {severity} is {alert_condition} the threshold of {threshold}" + enabled = false + aggregation_type = "AVG" + metric_id = "builtin:tech.dotnet.perfmon.%TimeInGC" + severity = "PERFORMANCE" + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 5 + threshold = 0 + unit = "PERCENT" + violating_samples = 3 + } + } +} diff --git a/output/20220126-160617_TERRAFORM/anomalies/custom/High HAProxy backend session usage.custom_anomalies.tf b/output/20220126-160617_TERRAFORM/anomalies/custom/High HAProxy backend session usage.custom_anomalies.tf new file mode 100644 index 0000000..790575a --- /dev/null +++ b/output/20220126-160617_TERRAFORM/anomalies/custom/High HAProxy backend session usage.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "High_HAProxy_backend_session_usage" { + name = "High HAProxy backend session usage" + description = "The backend session usage is {alert_condition} the threshold of {threshold}" + enabled = true + aggregation_type = "AVG" + metric_id = "builtin:tech.haproxy.be_susage" + severity = "PERFORMANCE" + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 5 + threshold = 80 + unit = "PERCENT" + violating_samples = 3 + } + } +} diff --git a/output/20220126-160617_TERRAFORM/anomalies/custom/High HAProxy frontend session usage.custom_anomalies.tf b/output/20220126-160617_TERRAFORM/anomalies/custom/High HAProxy frontend session usage.custom_anomalies.tf new file mode 100644 index 0000000..a4e40a8 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/anomalies/custom/High HAProxy frontend session usage.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "High_HAProxy_frontend_session_usage" { + name = "High HAProxy frontend session usage" + description = "The frontend session usage is {alert_condition} the threshold of {threshold}" + enabled = true + aggregation_type = "AVG" + metric_id = "builtin:tech.haproxy.fe_susage" + severity = "PERFORMANCE" + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 5 + threshold = 80 + unit = "PERCENT" + violating_samples = 3 + } + } +} diff --git a/output/20220126-160617_TERRAFORM/anomalies/custom/High HAProxy requests queue.custom_anomalies.tf b/output/20220126-160617_TERRAFORM/anomalies/custom/High HAProxy requests queue.custom_anomalies.tf new file mode 100644 index 0000000..7b21443 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/anomalies/custom/High HAProxy requests queue.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "High_HAProxy_requests_queue" { + name = "High HAProxy requests queue" + description = "The ammount of queued requests is {alert_condition} the threshold of {threshold}" + enabled = false + aggregation_type = "AVG" + metric_id = "builtin:tech.haproxy.be_qcur" + severity = "PERFORMANCE" + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 5 + threshold = 0 + unit = "PER_MINUTE" + violating_samples = 3 + } + } +} diff --git a/output/20220126-160617_TERRAFORM/anomalies/custom/High HAProxy response time.custom_anomalies.tf b/output/20220126-160617_TERRAFORM/anomalies/custom/High HAProxy response time.custom_anomalies.tf new file mode 100644 index 0000000..eaa05eb --- /dev/null +++ b/output/20220126-160617_TERRAFORM/anomalies/custom/High HAProxy response time.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "High_HAProxy_response_time" { + name = "High HAProxy response time" + description = "The average response time is {alert_condition} the threshold of {threshold}" + enabled = false + aggregation_type = "AVG" + metric_id = "builtin:tech.haproxy.be_rtime" + severity = "PERFORMANCE" + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 5 + threshold = 0 + unit = "MILLI_SECOND" + violating_samples = 3 + } + } +} diff --git a/output/20220126-160617_TERRAFORM/anomalies/custom/High OS CPU usage.custom_anomalies.tf b/output/20220126-160617_TERRAFORM/anomalies/custom/High OS CPU usage.custom_anomalies.tf new file mode 100644 index 0000000..59ee561 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/anomalies/custom/High OS CPU usage.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "High_OS_CPU_usage" { + name = "High OS CPU usage" + description = "The OS CPU usage is {alert_condition} the threshold of {threshold}" + enabled = true + aggregation_type = "AVG" + metric_id = "builtin:tech.elasticsearch.remote.node.os.cpu_percent" + severity = "PERFORMANCE" + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 5 + threshold = 70 + unit = "PERCENT" + violating_samples = 3 + } + } +} diff --git a/output/20220126-160617_TERRAFORM/anomalies/custom/High RabbitMQ file descriptors usage.custom_anomalies.tf b/output/20220126-160617_TERRAFORM/anomalies/custom/High RabbitMQ file descriptors usage.custom_anomalies.tf new file mode 100644 index 0000000..f649b91 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/anomalies/custom/High RabbitMQ file descriptors usage.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "High_RabbitMQ_file_descriptors_usage" { + name = "High RabbitMQ file descriptors usage" + description = "The RabbitMQ file descriptors usage of {severity} is {alert_condition} the threshold of {threshold}" + enabled = true + aggregation_type = "AVG" + metric_id = "builtin:tech.rabbitmq.fd_usage" + severity = "PERFORMANCE" + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 5 + threshold = 90 + unit = "PERCENT" + violating_samples = 3 + } + } +} diff --git a/output/20220126-160617_TERRAFORM/anomalies/custom/High RabbitMQ memory usage.custom_anomalies.tf b/output/20220126-160617_TERRAFORM/anomalies/custom/High RabbitMQ memory usage.custom_anomalies.tf new file mode 100644 index 0000000..5415a69 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/anomalies/custom/High RabbitMQ memory usage.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "High_RabbitMQ_memory_usage" { + name = "High RabbitMQ memory usage" + description = "The RabbitMQ memory usage of {severity} is {alert_condition} the threshold of {threshold}" + enabled = true + aggregation_type = "AVG" + metric_id = "builtin:tech.rabbitmq.mem_usage" + severity = "PERFORMANCE" + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 5 + threshold = 90 + unit = "PERCENT" + violating_samples = 3 + } + } +} diff --git a/output/20220126-160617_TERRAFORM/anomalies/custom/High RabbitMQ number of auto delete queues without consumers.custom_anomalies.tf b/output/20220126-160617_TERRAFORM/anomalies/custom/High RabbitMQ number of auto delete queues without consumers.custom_anomalies.tf new file mode 100644 index 0000000..c0cb43f --- /dev/null +++ b/output/20220126-160617_TERRAFORM/anomalies/custom/High RabbitMQ number of auto delete queues without consumers.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "High_RabbitMQ_number_of_auto_delete_queues_without_consumers" { + name = "High RabbitMQ number of auto delete queues without consumers" + description = "The number of auto delete queues without consumers is {alert_condition} the threshold of {threshold}" + enabled = false + aggregation_type = "AVG" + metric_id = "builtin:tech.rabbitmq.ad_queues_no_consumers" + severity = "PERFORMANCE" + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 5 + threshold = 0 + unit = "COUNT" + violating_samples = 3 + } + } +} diff --git a/output/20220126-160617_TERRAFORM/anomalies/custom/High RabbitMQ number of blocked connections.custom_anomalies.tf b/output/20220126-160617_TERRAFORM/anomalies/custom/High RabbitMQ number of blocked connections.custom_anomalies.tf new file mode 100644 index 0000000..0393e6a --- /dev/null +++ b/output/20220126-160617_TERRAFORM/anomalies/custom/High RabbitMQ number of blocked connections.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "High_RabbitMQ_number_of_blocked_connections" { + name = "High RabbitMQ number of blocked connections" + description = "The number of blocked connections is {alert_condition} the threshold of {threshold}" + enabled = false + aggregation_type = "AVG" + metric_id = "builtin:tech.rabbitmq.connections_blocked" + severity = "PERFORMANCE" + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 5 + threshold = 0 + unit = "COUNT" + violating_samples = 3 + } + } +} diff --git a/output/20220126-160617_TERRAFORM/anomalies/custom/High RabbitMQ number of unacknowledged messages.custom_anomalies.tf b/output/20220126-160617_TERRAFORM/anomalies/custom/High RabbitMQ number of unacknowledged messages.custom_anomalies.tf new file mode 100644 index 0000000..6367b85 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/anomalies/custom/High RabbitMQ number of unacknowledged messages.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "High_RabbitMQ_number_of_unacknowledged_messages" { + name = "High RabbitMQ number of unacknowledged messages" + description = "The number of unacknowledged messages is {alert_condition} the threshold of {threshold}" + enabled = false + aggregation_type = "AVG" + metric_id = "builtin:tech.rabbitmq.messages_unacknowledged" + severity = "PERFORMANCE" + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 5 + threshold = 0 + unit = "COUNT" + violating_samples = 3 + } + } +} diff --git a/output/20220126-160617_TERRAFORM/anomalies/custom/High RabbitMQ processes usage.custom_anomalies.tf b/output/20220126-160617_TERRAFORM/anomalies/custom/High RabbitMQ processes usage.custom_anomalies.tf new file mode 100644 index 0000000..2122902 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/anomalies/custom/High RabbitMQ processes usage.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "High_RabbitMQ_processes_usage" { + name = "High RabbitMQ processes usage" + description = "The RabbitMQ processes usage of {severity} is {alert_condition} the threshold of {threshold}" + enabled = true + aggregation_type = "AVG" + metric_id = "builtin:tech.rabbitmq.proc_usage" + severity = "PERFORMANCE" + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 5 + threshold = 90 + unit = "PERCENT" + violating_samples = 3 + } + } +} diff --git a/output/20220126-160617_TERRAFORM/anomalies/custom/High RabbitMQ sockets usage.custom_anomalies.tf b/output/20220126-160617_TERRAFORM/anomalies/custom/High RabbitMQ sockets usage.custom_anomalies.tf new file mode 100644 index 0000000..f99fae8 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/anomalies/custom/High RabbitMQ sockets usage.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "High_RabbitMQ_sockets_usage" { + name = "High RabbitMQ sockets usage" + description = "The RabbitMQ sockets usage of {severity} is {alert_condition} the threshold of {threshold}" + enabled = true + aggregation_type = "AVG" + metric_id = "builtin:tech.rabbitmq.sockets_usage" + severity = "PERFORMANCE" + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 5 + threshold = 90 + unit = "PERCENT" + violating_samples = 3 + } + } +} diff --git a/output/20220126-160617_TERRAFORM/anomalies/custom/High panic count.custom_anomalies.tf b/output/20220126-160617_TERRAFORM/anomalies/custom/High panic count.custom_anomalies.tf new file mode 100644 index 0000000..99fb20a --- /dev/null +++ b/output/20220126-160617_TERRAFORM/anomalies/custom/High panic count.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "High_panic_count" { + name = "High panic count" + description = "The {metricname} of {severity} is {alert_condition} the threshold of {threshold}" + enabled = true + aggregation_type = "AVG" + metric_id = "builtin:tech.coredns.panic_count_total" + severity = "ERROR" + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 5 + threshold = 0 + unit = "COUNT" + violating_samples = 1 + } + } +} diff --git a/output/20220126-160617_TERRAFORM/anomalies/custom/Low HAProxy idle time.custom_anomalies.tf b/output/20220126-160617_TERRAFORM/anomalies/custom/Low HAProxy idle time.custom_anomalies.tf new file mode 100644 index 0000000..9a6b3f5 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/anomalies/custom/Low HAProxy idle time.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "Low_HAProxy_idle_time" { + name = "Low HAProxy idle time" + description = "The percentage standby time is {alert_condition} the threshold of {threshold}" + enabled = true + aggregation_type = "AVG" + metric_id = "builtin:tech.haproxy.idle" + severity = "PERFORMANCE" + strategy { + static { + alert_condition = "BELOW" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 5 + threshold = 10 + unit = "PERCENT" + violating_samples = 3 + } + } +} diff --git a/output/20220126-160617_TERRAFORM/anomalies/custom/Low RabbitMQ free disk space.custom_anomalies.tf b/output/20220126-160617_TERRAFORM/anomalies/custom/Low RabbitMQ free disk space.custom_anomalies.tf new file mode 100644 index 0000000..12bbf75 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/anomalies/custom/Low RabbitMQ free disk space.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "Low_RabbitMQ_free_disk_space" { + name = "Low RabbitMQ free disk space" + description = "The RabbitMQ free disk space of {severity} is {alert_condition} the threshold of {threshold}" + enabled = true + aggregation_type = "AVG" + metric_id = "builtin:tech.rabbitmq.disk_free_left_to_limit" + severity = "PERFORMANCE" + strategy { + static { + alert_condition = "BELOW" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 5 + threshold = 50000000 + unit = "BYTE" + violating_samples = 3 + } + } +} diff --git a/output/20220126-160617_TERRAFORM/anomalies/custom/Offline partitions.custom_anomalies.tf b/output/20220126-160617_TERRAFORM/anomalies/custom/Offline partitions.custom_anomalies.tf new file mode 100644 index 0000000..3751b92 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/anomalies/custom/Offline partitions.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "Offline_partitions" { + name = "Offline partitions" + description = "There are {severity} offline partitions" + enabled = false + aggregation_type = "AVG" + metric_id = "builtin:tech.kafka.pg.kafka.controller.KafkaController.OfflinePartitionsCount.Value" + severity = "PERFORMANCE" + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 5 + threshold = 0 + unit = "COUNT" + violating_samples = 3 + } + } +} diff --git a/output/20220126-160617_TERRAFORM/anomalies/custom/RabbitMQ Node failed.custom_anomalies.tf b/output/20220126-160617_TERRAFORM/anomalies/custom/RabbitMQ Node failed.custom_anomalies.tf new file mode 100644 index 0000000..d09b36e --- /dev/null +++ b/output/20220126-160617_TERRAFORM/anomalies/custom/RabbitMQ Node failed.custom_anomalies.tf @@ -0,0 +1,27 @@ +resource "dynatrace_custom_anomalies" "RabbitMQ_Node_failed" { + name = "RabbitMQ Node failed" + description = "Node {severity} for {violating_samples}." + enabled = true + aggregation_type = "VALUE" + metric_id = "builtin:tech.rabbitmq.node_status" + severity = "AVAILABILITY" + dimensions { + string { + filter { + operator = "EQUALS" + value = "failed" + } + } + } + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 5 + threshold = 0 + unit = "COUNT" + violating_samples = 3 + } + } +} diff --git a/output/20220126-160617_TERRAFORM/anomalies/custom/Redis Replica synchronization in progress.custom_anomalies.tf b/output/20220126-160617_TERRAFORM/anomalies/custom/Redis Replica synchronization in progress.custom_anomalies.tf new file mode 100644 index 0000000..dcfa21a --- /dev/null +++ b/output/20220126-160617_TERRAFORM/anomalies/custom/Redis Replica synchronization in progress.custom_anomalies.tf @@ -0,0 +1,27 @@ +resource "dynatrace_custom_anomalies" "Redis_Replica_synchronization_in_progress" { + name = "Redis Replica synchronization in progress" + description = "Replica is {severity} for {violating_samples}." + enabled = false + aggregation_type = "VALUE" + metric_id = "builtin:tech.redis.slave_state" + severity = "AVAILABILITY" + dimensions { + string { + filter { + operator = "EQUALS" + value = "Sync in progress" + } + } + } + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 5 + threshold = 0 + unit = "COUNT" + violating_samples = 3 + } + } +} diff --git a/output/20220126-160617_TERRAFORM/anomalies/custom/Redis Replica unsynchronized.custom_anomalies.tf b/output/20220126-160617_TERRAFORM/anomalies/custom/Redis Replica unsynchronized.custom_anomalies.tf new file mode 100644 index 0000000..fb082c1 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/anomalies/custom/Redis Replica unsynchronized.custom_anomalies.tf @@ -0,0 +1,27 @@ +resource "dynatrace_custom_anomalies" "Redis_Replica_unsynchronized" { + name = "Redis Replica unsynchronized" + description = "Replica is {severity} for {violating_samples}." + enabled = true + aggregation_type = "VALUE" + metric_id = "builtin:tech.redis.slave_state" + severity = "AVAILABILITY" + dimensions { + string { + filter { + operator = "EQUALS" + value = "Unsynchronized" + } + } + } + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 5 + threshold = 0 + unit = "COUNT" + violating_samples = 3 + } + } +} diff --git a/output/20220126-160617_TERRAFORM/anomalies/custom/Under replicated.custom_anomalies.tf b/output/20220126-160617_TERRAFORM/anomalies/custom/Under replicated.custom_anomalies.tf new file mode 100644 index 0000000..f543c97 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/anomalies/custom/Under replicated.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "Under_replicated" { + name = "Under replicated" + description = "There are {severity} under replicated partitions" + enabled = false + aggregation_type = "AVG" + metric_id = "builtin:tech.kafka.kafka.server.ReplicaManager.UnderReplicatedPartitions.Value" + severity = "PERFORMANCE" + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 5 + threshold = 0 + unit = "COUNT" + violating_samples = 3 + } + } +} diff --git a/output/20220126-160617_TERRAFORM/anomalies/custom/WSO2 API Manager - Carbon has exteremly high system response time.custom_anomalies.tf b/output/20220126-160617_TERRAFORM/anomalies/custom/WSO2 API Manager - Carbon has exteremly high system response time.custom_anomalies.tf new file mode 100644 index 0000000..8115915 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/anomalies/custom/WSO2 API Manager - Carbon has exteremly high system response time.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "WSO2_API_Manager_-_Carbon_has_exteremly_high_system_response_time" { + name = "WSO2 API Manager - Carbon has exteremly high system response time" + description = "The {metricname} of {severity} is {alert_condition} the threshold of {threshold}" + enabled = true + aggregation_type = "MAX" + metric_id = "builtin:tech.wso2-api-manager.metric_carbon_system_response_time_avg" + severity = "PERFORMANCE" + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 10 + threshold = 60000 + unit = "MILLI_SECOND" + violating_samples = 5 + } + } +} diff --git a/output/20220126-160617_TERRAFORM/anomalies/custom/WSO2 API Manager - Carbon has faulty services.custom_anomalies.tf b/output/20220126-160617_TERRAFORM/anomalies/custom/WSO2 API Manager - Carbon has faulty services.custom_anomalies.tf new file mode 100644 index 0000000..4b856e0 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/anomalies/custom/WSO2 API Manager - Carbon has faulty services.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "WSO2_API_Manager_-_Carbon_has_faulty_services" { + name = "WSO2 API Manager - Carbon has faulty services" + description = "The {metricname} of {severity} is {alert_condition} the threshold of {threshold}" + enabled = true + aggregation_type = "MAX" + metric_id = "builtin:tech.wso2-api-manager.metric_carbon_number_faulty_services" + severity = "AVAILABILITY" + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 10 + threshold = 0 + unit = "COUNT" + violating_samples = 5 + } + } +} diff --git a/output/20220126-160617_TERRAFORM/anomalies/custom/WSO2 API Manager - High http backend latency.custom_anomalies.tf b/output/20220126-160617_TERRAFORM/anomalies/custom/WSO2 API Manager - High http backend latency.custom_anomalies.tf new file mode 100644 index 0000000..e68b13f --- /dev/null +++ b/output/20220126-160617_TERRAFORM/anomalies/custom/WSO2 API Manager - High http backend latency.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "WSO2_API_Manager_-_High_http_backend_latency" { + name = "WSO2 API Manager - High http backend latency" + description = "The {metricname} of {severity} is {alert_condition} the threshold of {threshold}" + enabled = true + aggregation_type = "MAX" + metric_id = "builtin:tech.wso2-api-manager.metric_wso2am_http_latency_backend_avg" + severity = "PERFORMANCE" + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 10 + threshold = 30000 + unit = "MILLI_SECOND" + violating_samples = 5 + } + } +} diff --git a/output/20220126-160617_TERRAFORM/anomalies/custom/WSO2 API Manager - High http latency.custom_anomalies.tf b/output/20220126-160617_TERRAFORM/anomalies/custom/WSO2 API Manager - High http latency.custom_anomalies.tf new file mode 100644 index 0000000..ade3a7e --- /dev/null +++ b/output/20220126-160617_TERRAFORM/anomalies/custom/WSO2 API Manager - High http latency.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "WSO2_API_Manager_-_High_http_latency" { + name = "WSO2 API Manager - High http latency" + description = "The {metricname} of {severity} is {alert_condition} the threshold of {threshold}" + enabled = true + aggregation_type = "MAX" + metric_id = "builtin:tech.wso2-api-manager.metric_wso2am_http_latency_avg" + severity = "PERFORMANCE" + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 10 + threshold = 30000 + unit = "MILLI_SECOND" + violating_samples = 5 + } + } +} diff --git a/output/20220126-160617_TERRAFORM/anomalies/custom/WSO2 API Manager - High https backend latency.custom_anomalies.tf b/output/20220126-160617_TERRAFORM/anomalies/custom/WSO2 API Manager - High https backend latency.custom_anomalies.tf new file mode 100644 index 0000000..980b927 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/anomalies/custom/WSO2 API Manager - High https backend latency.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "WSO2_API_Manager_-_High_https_backend_latency" { + name = "WSO2 API Manager - High https backend latency" + description = "The {metricname} of {severity} is {alert_condition} the threshold of {threshold}" + enabled = true + aggregation_type = "MAX" + metric_id = "builtin:tech.wso2-api-manager.metric_wso2am_https_latency_backend_avg" + severity = "PERFORMANCE" + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 10 + threshold = 30000 + unit = "MILLI_SECOND" + violating_samples = 5 + } + } +} diff --git a/output/20220126-160617_TERRAFORM/anomalies/custom/WSO2 API Manager - High https latency.custom_anomalies.tf b/output/20220126-160617_TERRAFORM/anomalies/custom/WSO2 API Manager - High https latency.custom_anomalies.tf new file mode 100644 index 0000000..4d51123 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/anomalies/custom/WSO2 API Manager - High https latency.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "WSO2_API_Manager_-_High_https_latency" { + name = "WSO2 API Manager - High https latency" + description = "The {metricname} of {severity} is {alert_condition} the threshold of {threshold}" + enabled = true + aggregation_type = "MAX" + metric_id = "builtin:tech.wso2-api-manager.metric_wso2am_https_latency_avg" + severity = "PERFORMANCE" + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 10 + threshold = 30000 + unit = "MILLI_SECOND" + violating_samples = 5 + } + } +} diff --git a/output/20220126-160617_TERRAFORM/anomalies/database_anomalies.tf b/output/20220126-160617_TERRAFORM/anomalies/database_anomalies.tf new file mode 100644 index 0000000..5bfb0a2 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/anomalies/database_anomalies.tf @@ -0,0 +1,21 @@ +resource "dynatrace_database_anomalies" "dynatrace_database_anomalies" { + db_connect_failures { + connection_fails_count = 5 + eval_period = 5 + } + failure_rate { + auto { + absolute = 0 + relative = 50 + } + } + response_time { + auto { + load = "TEN_REQUESTS_PER_MINUTE" + milliseconds = 5 + percent = 50 + slowest_milliseconds = 20 + slowest_percent = 100 + } + } +} diff --git a/output/20220126-160617_TERRAFORM/anomalies/host_anomalies.tf b/output/20220126-160617_TERRAFORM/anomalies/host_anomalies.tf new file mode 100644 index 0000000..3923da3 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/anomalies/host_anomalies.tf @@ -0,0 +1,51 @@ +resource "dynatrace_host_anomalies" "dynatrace_host_anomalies" { + connections { + enabled = true + enabled_on_graceful_shutdowns = false + } + cpu { + enabled = true + } + disks { + inodes { + enabled = true + } + space { + enabled = true + } + speed { + enabled = true + } + } + gc { + enabled = true + } + java { + out_of_memory { + enabled = true + } + out_of_threads { + enabled = true + } + } + memory { + enabled = true + } + network { + connectivity { + enabled = true + } + dropped_packets { + enabled = true + } + errors { + enabled = true + } + retransmission { + enabled = true + } + utilization { + enabled = true + } + } +} diff --git a/output/20220126-160617_TERRAFORM/anomalies/service_anomalies.tf b/output/20220126-160617_TERRAFORM/anomalies/service_anomalies.tf new file mode 100644 index 0000000..a27eaed --- /dev/null +++ b/output/20220126-160617_TERRAFORM/anomalies/service_anomalies.tf @@ -0,0 +1,17 @@ +resource "dynatrace_service_anomalies" "dynatrace_service_anomalies" { + failure_rates { + auto { + absolute = 0 + relative = 50 + } + } + response_times { + auto { + load = "TEN_REQUESTS_PER_MINUTE" + milliseconds = 100 + percent = 50 + slowest_milliseconds = 1000 + slowest_percent = 100 + } + } +} diff --git a/output/20220126-160617_TERRAFORM/autotags/Cloud.5474be80-3faa-4a7a-a024-0fadb4451fb1..autotag.tf b/output/20220126-160617_TERRAFORM/autotags/Cloud.5474be80-3faa-4a7a-a024-0fadb4451fb1..autotag.tf new file mode 100644 index 0000000..c16ac42 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/autotags/Cloud.5474be80-3faa-4a7a-a024-0fadb4451fb1..autotag.tf @@ -0,0 +1,127 @@ +resource "dynatrace_autotag" "Cloud" { + name = "Cloud" + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Azure" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "Azure-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Azure" + conditions { + cloud_type { + # negate = false + operator = "EQUALS" + value = "AZURE" + } + key { + type = "STATIC" + attribute = "HOST_CLOUD_TYPE" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "AWS" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "AWS-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "AWS" + conditions { + cloud_type { + # negate = false + operator = "EQUALS" + value = "EC2" + } + key { + type = "STATIC" + attribute = "HOST_CLOUD_TYPE" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "On Premise" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "OpenShift_" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "On Premise" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "Multiproject_" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "On Premise" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "SingleApplicationServer_" + } + } + } +} diff --git a/output/20220126-160617_TERRAFORM/autotags/Component.4d002d6d-7b32-4e18-937a-7fc200ff8b23..autotag.tf b/output/20220126-160617_TERRAFORM/autotags/Component.4d002d6d-7b32-4e18-937a-7fc200ff8b23..autotag.tf new file mode 100644 index 0000000..39fe252 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/autotags/Component.4d002d6d-7b32-4e18-937a-7fc200ff8b23..autotag.tf @@ -0,0 +1,3011 @@ +resource "dynatrace_autotag" "Component" { + name = "Component" + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Infotainment" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "EQUALS" + value = "vcis-information" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Infotainment" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "EQUALS" + value = "avs" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "CDIP" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "COMMAND_LINE_ARGS" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "cdip" + } + } + } + rules { + type = "APPLICATION" + enabled = true + value_format = "CDIP" + conditions { + key { + type = "STATIC" + attribute = "WEB_APPLICATION_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "ConnectedDrive Internet Portal (CDIP)" + } + } + } + rules { + type = "APPLICATION" + enabled = true + value_format = "CDIP" + conditions { + key { + type = "STATIC" + attribute = "WEB_APPLICATION_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "Toyota Supra Connect Customer Portal" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Infotainment" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "bon-information-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Infotainment" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "bon-personalization-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Infotainment" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "bon-public-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Infotainment" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "bon-vehicle-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "CSI" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + # negate = false + operator = "BEGINS_WITH" + value = "csi-" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Infotainment" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "apps-" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Voice Services" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "voice" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Voice Services" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "crs_" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Voice Services" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "crsa_" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Voice Services" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "epl_" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Infotainment" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "newsservice" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Infotainment" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "weatherservice" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Infotainment" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "id5" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "DPP" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "dpp" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "DPM" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "dpm" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Infotainment" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "lis-" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Infotainment" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "eml-" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Infotainment" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "ups-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "SMACC-BE" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "smc2-bl-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "SMACC-KTS" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "smc2-key-trk-" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "SMACC-BE" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "asbc_sc2" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Infotainment" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "online-entertainment-" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Infotainment" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "vps-" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Infotainment" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "inf_oe" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "BASE" + conditions { + key { + type = "STATIC" + attribute = "HOST_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "base-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "RemoteServices" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "microservice" + source = "KUBERNETES" + } + } + string { + case_sensitive = true + # negate = false + operator = "EQUALS" + value = "rs" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "CCG" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "ccg-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "LSC-HR" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "lsc-hr" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Remote 360" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "microservice" + source = "KUBERNETES" + } + } + string { + case_sensitive = true + # negate = false + operator = "EQUALS" + value = "rs-360" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "RS Cockpit" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "microservice" + source = "KUBERNETES" + } + } + string { + case_sensitive = true + # negate = false + operator = "EQUALS" + value = "rs-cockpit" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "RemoteServices" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "rs_" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "SMS-Gateway" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "COMMAND_LINE_ARGS" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "/www/smsgw" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "BASE" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "base_" + } + } + } + rules { + type = "HOST" + enabled = true + propagation_types = ["HOST_TO_PROCESS_GROUP_INSTANCE"] + value_format = "Voice Services" + conditions { + key { + type = "STATIC" + attribute = "HOST_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "b2vsbc" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Voice Services" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_DETECTED_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "voice.callmgr" + } + } + } + rules { + type = "HOST" + enabled = true + propagation_types = ["HOST_TO_PROCESS_GROUP_INSTANCE"] + value_format = "Voice Services" + conditions { + key { + type = "STATIC" + attribute = "HOST_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "lib2vsbc" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "CSI" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "csi" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "LSC-WO" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "lscwo" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "CCG" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "ccg" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "GCDM" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "WEB_REQUEST_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "gcdm" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "ASBC-SMACC" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "COMMAND_LINE_ARGS" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "/www/smacc-app/" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "ASBC-RSU" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "COMMAND_LINE_ARGS" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "www/rsu-app" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "ASBC-HAL" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "COMMAND_LINE_ARGS" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "www/hsmlib-app" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "App Repository" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "COMMAND_LINE_ARGS" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "inf-apr-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Call Center Client" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "COMMAND_LINE_ARGS" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "/www/ccc" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Call Center Client" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "COMMAND_LINE_ARGS" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "/www/emea_prod2" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Voice Services" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "b2v-voice-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Voice Services" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "crs-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Voice Services" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "crsa-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Voice Services" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "epl-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Voice Services" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "epm-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Voice Services" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "voicegw-admin-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Voice Services" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "vgw-homer-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "XCC" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "xcc-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "MSGSVC" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "msgsvc-" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "ASBC-SMACC" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "asbc_smacc" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "ASBC-RSU" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "asbc_rsu" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "ASBC-HAL" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "asbc_hsm" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "XCC" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "xcc" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "MSGSVC" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "msgsvc" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Perseus" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "perseus-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "ASBC-RSU" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "asbc-rsu-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "ASBC-SMACC" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "asbc-smacc-" + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "Perseus" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "perseus" + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "ASBC-HAL" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "asbchsml" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Remote 360" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "rs3" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "LSC-JR" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "lsc-jr" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "LSC-WO" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "lsc-wo" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "APIGW-WS" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "COMMAND_LINE_ARGS" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "/int-api-bmwgroup-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "APIGW-WS" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "COMMAND_LINE_ARGS" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "/api-bmwgroup-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "APIGW-WS" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "COMMAND_LINE_ARGS" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "/www/b2vapi-new-bmwgroup-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "APIGW-WS" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "COMMAND_LINE_ARGS" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "/int-api-nf-bmwgroup-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "APIGW-WS" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "COMMAND_LINE_ARGS" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "/api-nf-bmwgroup-" + } + } + } + rules { + type = "HOST" + enabled = true + value_format = "Voice Services" + conditions { + key { + type = "STATIC" + attribute = "HOST_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "ltb2vsbc" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "APIGW-APP" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "EXE_PATH" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "/global/www/conn/apigw/" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Connected Backend Services" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "JAVA_MAIN_CLASS" + } + string { + case_sensitive = true + # negate = false + operator = "EQUALS" + value = "com.nitzinger.Synchronization" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Service Gateway Legacy" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_AZURE_SITE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "btcapiwebapp" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "App Repository" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "apr_apr" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "{ProcessGroup:KubernetesNamespace/managed-app-(.++)}" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "managed-app-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Call Center Client" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "COMMAND_LINE_ARGS" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "ServerName\\ ccc" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Buffet" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "buffet-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "{ProcessGroup:Kubernetes:component}" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "component" + source = "KUBERNETES" + } + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } + rules { + type = "SERVICE" + enabled = true + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "asbc_smc2_key_trk" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "APPCALL" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "APPCALL-" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "APPCALL" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "acallservices" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "ACDS" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "ACDS-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "ECS" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "ECS-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "XCS" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "XCS-" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "XCS" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "xcallservices" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "EVNS" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "EVNS2-" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "EVNS" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "evns2" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "eCallGW" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "eCallGW-" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "eCallGW" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "ecallgateway" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "GATS" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "GATS-" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "GATS" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "gatsconverter" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Buffet" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "bff" + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "Call-Handling-Backends" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "APPCALL" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "Call-Handling-Backends" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "ACDS" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "Call-Handling-Backends" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "ECS" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "Call-Handling-Backends" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "XCS" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "Call-Handling-Backends" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "EVNS" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "Call-Handling-Backends" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "eCallGW" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "Call-Handling-Backends" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "GATS" + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "PISA" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "pisa-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "DPP" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "dpp-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "DPM" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "dpm-" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "PISA" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "pisa" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "SMACC-KTS" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "smc2" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "NGTP" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "ngtp" + } + } + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + negate = true + operator = "CONTAINS" + value = "cs" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "NGTP-CS" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "ngtp-cs" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "NGTP" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "ngtp" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + negate = true + operator = "CONTAINS" + value = "cs" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "NGTP-CS" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "ngtp" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "cs" + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "Call-Handling-Backends" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "NGTP" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "Call-Handling-Backends" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "NGTP-CS" + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "HVD" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "hvd-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "HTTS" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "htts-" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "HVD" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "hvd" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "HTTS" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "htts" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "{ProcessGroup:KubernetesNamespace/(.*?)-prod}" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "ENDS_WITH" + value = "-prod" + } + } + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Platform" + value = "OpenShift" + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "{ProcessGroup:KubernetesNamespace/(.*?)-e2e}" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "ENDS_WITH" + value = "-e2e" + } + } + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Platform" + value = "OpenShift" + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "{ProcessGroup:KubernetesNamespace/(.*?)-int}" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "ENDS_WITH" + value = "-int" + } + } + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Platform" + value = "OpenShift" + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "{ProcessGroup:KubernetesNamespace/(.*?)-test}" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "ENDS_WITH" + value = "-test" + } + } + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Platform" + value = "OpenShift" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "am-store" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "store" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "am-casa" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "casa" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "am-cesim" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "cesim" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "{ProcessGroup:KubernetesNamespace/(.*?)-prod}" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "ENDS_WITH" + value = "-prod" + } + } + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "PaaS" + source = "KUBERNETES" + } + } + string { + case_sensitive = true + # negate = false + operator = "EQUALS" + value = "Plain" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "{ProcessGroup:KubernetesNamespace/(.*?)-e2e}" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "ENDS_WITH" + value = "e2e" + } + } + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "PaaS" + source = "KUBERNETES" + } + } + string { + case_sensitive = true + # negate = false + operator = "EQUALS" + value = "Plain" + } + } + } +} diff --git a/output/20220126-160617_TERRAFORM/autotags/Environment.1b7707f0-5c51-42b1-aa68-0fdbd85d633b..autotag.tf b/output/20220126-160617_TERRAFORM/autotags/Environment.1b7707f0-5c51-42b1-aa68-0fdbd85d633b..autotag.tf new file mode 100644 index 0000000..5caa0f3 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/autotags/Environment.1b7707f0-5c51-42b1-aa68-0fdbd85d633b..autotag.tf @@ -0,0 +1,890 @@ +resource "dynatrace_autotag" "Environment" { + name = "Environment" + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "{ProcessGroup:DetectedName/-(.*?)\\)}" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "BASE" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "PROD" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "EQUALS" + value = "svds - prod" + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "TEST" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "dev" + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "TEST" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "test" + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "INT" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "int" + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "I2E" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "i2e" + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "E2E" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "e2e" + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "PROD" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "prod" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "TEST" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "environment" + source = "KUBERNETES" + } + } + string { + # case_sensitive = false + # negate = false + operator = "EQUALS" + value = "dev" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "TEST" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "environment" + source = "KUBERNETES" + } + } + string { + # case_sensitive = false + # negate = false + operator = "EQUALS" + value = "test" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "INT" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "environment" + source = "KUBERNETES" + } + } + string { + # case_sensitive = false + # negate = false + operator = "EQUALS" + value = "int" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "I2E" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "environment" + source = "KUBERNETES" + } + } + string { + # case_sensitive = false + # negate = false + operator = "EQUALS" + value = "i2e" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "E2E" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "environment" + source = "KUBERNETES" + } + } + string { + # case_sensitive = false + # negate = false + operator = "EQUALS" + value = "e2e" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "PROD" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "environment" + source = "KUBERNETES" + } + } + string { + # case_sensitive = false + # negate = false + operator = "EQUALS" + value = "prod" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "TEST" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + # negate = false + operator = "ENDS_WITH" + value = "-dev" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "TEST" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + # negate = false + operator = "ENDS_WITH" + value = "-test" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "INT" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + # negate = false + operator = "ENDS_WITH" + value = "-int" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "I2E" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + # negate = false + operator = "ENDS_WITH" + value = "-i2e" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "E2E" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + # negate = false + operator = "ENDS_WITH" + value = "-e2e" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "PROD" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + # negate = false + operator = "ENDS_WITH" + value = "-prod" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "TEST" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "BEGINS_WITH" + value = "Azure-NonFG" + } + } + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "ENDS_WITH" + value = "DEV" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "DLY" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "BEGINS_WITH" + value = "Azure-NonFG" + } + } + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "ENDS_WITH" + value = "DLY" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "INT" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "BEGINS_WITH" + value = "Azure-NonFG" + } + } + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "ENDS_WITH" + value = "INT" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "PROD" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "BEGINS_WITH" + value = "Azure-NonFG" + } + } + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "ENDS_WITH" + value = "PRD" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "TEST" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "_DEV" + } + } + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + # case_sensitive = false + negate = true + operator = "CONTAINS" + value = "_INT" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "INT" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "_INT" + } + } + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + # case_sensitive = false + negate = true + operator = "CONTAINS" + value = "_DEV" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "E2E" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "_E2E" + } + } + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + # case_sensitive = false + negate = true + operator = "CONTAINS" + value = "_PROD" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "PROD" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "_PROD" + } + } + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + # case_sensitive = false + negate = true + operator = "CONTAINS" + value = "_E2E" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "TEST" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Platform" + value = "Classic IT" + } + } + } + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + negate = true + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Environment" + value = "INT" + } + } + } + conditions { + key { + type = "STATIC" + attribute = "HOST_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "BEGINS_WITH" + value = "lt" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "INT" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Platform" + value = "Classic IT" + } + } + } + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + negate = true + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Environment" + value = "TEST" + } + } + } + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + negate = true + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Environment" + value = "E2E" + } + } + } + conditions { + key { + type = "STATIC" + attribute = "HOST_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "BEGINS_WITH" + value = "li" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "PROD" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Platform" + value = "Classic IT" + } + } + } + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + negate = true + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Environment" + value = "E2E" + } + } + } + conditions { + key { + type = "STATIC" + attribute = "HOST_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "BEGINS_WITH" + value = "lp" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "PROD" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "Environment" + source = "ENVIRONMENT" + } + } + string { + case_sensitive = true + # negate = false + operator = "EQUALS" + value = "prod" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "E2E" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "Environment" + source = "ENVIRONMENT" + } + } + string { + case_sensitive = true + # negate = false + operator = "EQUALS" + value = "e2e" + } + } + } +} diff --git a/output/20220126-160617_TERRAFORM/autotags/Hub.78e916f6-4361-496f-b7f7-0b8ff0520cf4..autotag.tf b/output/20220126-160617_TERRAFORM/autotags/Hub.78e916f6-4361-496f-b7f7-0b8ff0520cf4..autotag.tf new file mode 100644 index 0000000..2f9ff6d --- /dev/null +++ b/output/20220126-160617_TERRAFORM/autotags/Hub.78e916f6-4361-496f-b7f7-0b8ff0520cf4..autotag.tf @@ -0,0 +1,47 @@ +resource "dynatrace_autotag" "Hub" { + name = "Hub" + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "EMEA" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "EMEA" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } +} diff --git a/output/20220126-160617_TERRAFORM/autotags/Microservice.745b1f94-b47c-4673-bbe3-c79da36c1e58..autotag.tf b/output/20220126-160617_TERRAFORM/autotags/Microservice.745b1f94-b47c-4673-bbe3-c79da36c1e58..autotag.tf new file mode 100644 index 0000000..ddb8902 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/autotags/Microservice.745b1f94-b47c-4673-bbe3-c79da36c1e58..autotag.tf @@ -0,0 +1,77 @@ +resource "dynatrace_autotag" "Microservice" { + name = "Microservice" + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "nws" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "nws-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "bev" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "bev-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "wea" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "wea-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "{ProcessGroup:Kubernetes:microservice}" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "microservice" + source = "KUBERNETES" + } + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } +} diff --git a/output/20220126-160617_TERRAFORM/autotags/Namespace.7564d78d-be2b-4ccd-8441-a9be768af3f1..autotag.tf b/output/20220126-160617_TERRAFORM/autotags/Namespace.7564d78d-be2b-4ccd-8441-a9be768af3f1..autotag.tf new file mode 100644 index 0000000..3028766 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/autotags/Namespace.7564d78d-be2b-4ccd-8441-a9be768af3f1..autotag.tf @@ -0,0 +1,20 @@ +resource "dynatrace_autotag" "Namespace" { + name = "Namespace" + rules { + type = "PROCESS_GROUP" + # enabled = false + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "{ProcessGroup:KubernetesNamespace}" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } +} diff --git a/output/20220126-160617_TERRAFORM/autotags/PaaS.5004f98e-961b-4191-af0c-3f56d37a1083..autotag.tf b/output/20220126-160617_TERRAFORM/autotags/PaaS.5004f98e-961b-4191-af0c-3f56d37a1083..autotag.tf new file mode 100644 index 0000000..f0ee49d --- /dev/null +++ b/output/20220126-160617_TERRAFORM/autotags/PaaS.5004f98e-961b-4191-af0c-3f56d37a1083..autotag.tf @@ -0,0 +1,59 @@ +resource "dynatrace_autotag" "PaaS" { + name = "PaaS" + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Orbit" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "AWS-Orbit_" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Runtime" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "Azure-NonFG_" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "{ProcessGroup:Environment:PaaS}" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "PaaS" + source = "ENVIRONMENT" + } + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } +} diff --git a/output/20220126-160617_TERRAFORM/autotags/Platform.bb41a497-d064-4f47-b85f-132495cc2578..autotag.tf b/output/20220126-160617_TERRAFORM/autotags/Platform.bb41a497-d064-4f47-b85f-132495cc2578..autotag.tf new file mode 100644 index 0000000..84b2d1d --- /dev/null +++ b/output/20220126-160617_TERRAFORM/autotags/Platform.bb41a497-d064-4f47-b85f-132495cc2578..autotag.tf @@ -0,0 +1,159 @@ +resource "dynatrace_autotag" "Platform" { + name = "Platform" + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "EKS" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + conditions { + cloud_type { + # negate = false + operator = "EQUALS" + value = "EC2" + } + key { + type = "STATIC" + attribute = "HOST_CLOUD_TYPE" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "AKS" + conditions { + cloud_type { + # negate = false + operator = "EQUALS" + value = "AZURE" + } + key { + type = "STATIC" + attribute = "HOST_CLOUD_TYPE" + } + } + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "OpenShift" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "OpenShift_" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Classic IT" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "BEGINS_WITH" + value = "Multiproject_" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Classic IT" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "SingleApplicationServer_" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "ECS" + conditions { + cloud_type { + # negate = false + operator = "EQUALS" + value = "EC2" + } + key { + type = "STATIC" + attribute = "HOST_CLOUD_TYPE" + } + } + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + negate = true + operator = "EXISTS" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Classic IT" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "LINUX_" + } + } + } +} diff --git a/output/20220126-160617_TERRAFORM/autotags/WK.c5d33faf-c7b2-43be-a534-71841a59160e..autotag.tf b/output/20220126-160617_TERRAFORM/autotags/WK.c5d33faf-c7b2-43be-a534-71841a59160e..autotag.tf new file mode 100644 index 0000000..5a30cb0 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/autotags/WK.c5d33faf-c7b2-43be-a534-71841a59160e..autotag.tf @@ -0,0 +1,815 @@ +resource "dynatrace_autotag" "WK" { + name = "WK" + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "SMACC-BE" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "SMACC-BE" + } + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "EQUALS" + value = "HealthResource" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "EQUALS" + value = "MetricsResource" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "EQUALS" + value = "PrometheusResource" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "EQUALS" + value = "PingResource" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "CONTAINS" + value = "internal service" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "CONTAINS" + value = "ProtocolDataApi" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Environment" + value = "prod" + } + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "CONTAINS" + value = "executed" + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "SMACC-KTS" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "SMACC-KTS" + } + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "EQUALS" + value = "PrometheusResource" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "EQUALS" + value = "MetricsResource" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "EQUALS" + value = "HealthResource" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "EQUALS" + value = "PingResource" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "CONTAINS" + value = "executed" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Environment" + value = "prod" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "ASBC-SMACC" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "ASBC-SMACC" + } + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "EQUALS" + value = "HealthResource" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "CONTAINS" + value = "executed" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Environment" + value = "PROD" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "SMACC" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "SMACC-BE" + } + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "EQUALS" + value = "HealthResource" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "EQUALS" + value = "MetricsResource" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "EQUALS" + value = "PrometheusResource" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "EQUALS" + value = "PingResource" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "CONTAINS" + value = "internal service" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "CONTAINS" + value = "ProtocolDataApi" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Environment" + value = "prod" + } + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "CONTAINS" + value = "executed" + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "SMACC" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "SMACC-KTS" + } + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "EQUALS" + value = "PrometheusResource" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "EQUALS" + value = "MetricsResource" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "EQUALS" + value = "HealthResource" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "EQUALS" + value = "PingResource" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "CONTAINS" + value = "executed" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Environment" + value = "prod" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "SMACC" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "ASBC-SMACC" + } + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "EQUALS" + value = "HealthResource" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "CONTAINS" + value = "executed" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Environment" + value = "PROD" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Login" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "connected-oauth-service-apim" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Login" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "legal-document-composite-service" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Vehicle Mapping" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "user-composite-service" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Vehicle Mapping" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "vehicle-mapping-composite-service" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Vehicle List" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "vehicle-composite-service" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Remote Services" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "vehicle-remote-commands-composite-service" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Vehicle Data" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "vehicle-service" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Vehicle Data" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "vehicle-features-service" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Send destination to vehicle (Legacy)" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "destination-composite-service" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Send destination to vehicle (Legacy)" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "send-to-car-service" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Send destination to vehicle (MGU)" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "destination-composite-service" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Send destination to vehicle (MGU)" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "send-to-car-service" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Personal Favorites" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "destination-composite-service" + } + } + } + } +} diff --git a/output/20220126-160617_TERRAFORM/autotags/Wirkkette.77ffee3c-eb26-4f50-8957-2b3ee0cc1aef..autotag.tf b/output/20220126-160617_TERRAFORM/autotags/Wirkkette.77ffee3c-eb26-4f50-8957-2b3ee0cc1aef..autotag.tf new file mode 100644 index 0000000..c6d864e --- /dev/null +++ b/output/20220126-160617_TERRAFORM/autotags/Wirkkette.77ffee3c-eb26-4f50-8957-2b3ee0cc1aef..autotag.tf @@ -0,0 +1,789 @@ +resource "dynatrace_autotag" "Wirkkette" { + name = "Wirkkette" + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "User Registration" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "Connected OAuth Service" + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "User Registration" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "ID Lookup Service " + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "User Registration" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "Legal Document Composite Service" + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "User Registration" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "User Profile Service" + } + } + } + } + rules { + type = "APPLICATION" + enabled = true + value_format = "User Registration" + conditions { + key { + type = "STATIC" + attribute = "WEB_APPLICATION_NAME" + } + string { + case_sensitive = true + negate = true + operator = "CONTAINS" + value = "Toyota" + } + } + } + rules { + type = "MOBILE_APPLICATION" + enabled = true + value_format = "User Registration" + conditions { + key { + type = "STATIC" + attribute = "MOBILE_APPLICATION_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "User Registration" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "CDIP" + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Remote 360" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "Remote 360 Composite Service" + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Remote Services" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "RemoteServices" + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Remote Services" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "Vehicle Remote Commands Composite Service (VRCCS)" + } + } + } + } + rules { + type = "APPLICATION" + enabled = true + value_format = "Remote Services" + conditions { + key { + type = "STATIC" + attribute = "WEB_APPLICATION_NAME" + } + string { + case_sensitive = true + negate = true + operator = "CONTAINS" + value = "Toyota" + } + } + } + rules { + type = "MOBILE_APPLICATION" + enabled = true + value_format = "Remote Services" + conditions { + key { + type = "STATIC" + attribute = "MOBILE_APPLICATION_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Remote Services" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "CDIP" + } + } + } + } + rules { + type = "MOBILE_APPLICATION" + enabled = true + value_format = "Remote 360" + conditions { + key { + type = "STATIC" + attribute = "MOBILE_APPLICATION_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Vehicle Mapping" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "User Composite Service" + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Vehicle Mapping" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "User Profile Service" + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Vehicle Mapping" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "Vehicle User Relationship Service (VURS)" + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Vehicle Mapping" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "Vehicle Service" + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Vehicle Mapping" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "Vehicle Mapping Composite Service" + } + } + } + } + rules { + type = "APPLICATION" + enabled = true + value_format = "Vehicle Mapping" + conditions { + key { + type = "STATIC" + attribute = "WEB_APPLICATION_NAME" + } + string { + case_sensitive = true + negate = true + operator = "CONTAINS" + value = "Toyota" + } + } + } + rules { + type = "MOBILE_APPLICATION" + enabled = true + value_format = "Vehicle Mapping" + conditions { + key { + type = "STATIC" + attribute = "MOBILE_APPLICATION_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Vehicle Mapping" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "CDIP" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Vehicle Data" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "WK" + value = "vehicle-service" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Vehicle Data" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "WK" + value = "client-vehicle-telemetry-processor" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Vehicle Data" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "WK" + value = "csi" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Vehicle Data" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "WK" + value = "ccg" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Vehicle Data" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "WK" + value = "lsc-wo" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Vehicle Data" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "WK" + value = "lsc-jr" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Vehicle Data" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "WK" + value = "lsc-hr" + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Vehicle List" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "Vehicle User Relationship Service (VURS)" + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Vehicle List" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "Vehicle Composite Service (VCS)" + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Remote 360" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "Remote 360" + } + } + } + } + rules { + type = "MOBILE_APPLICATION" + enabled = true + value_format = "Login" + conditions { + key { + type = "STATIC" + attribute = "MOBILE_APPLICATION_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } + rules { + type = "APPLICATION" + enabled = true + value_format = "Login" + conditions { + key { + type = "STATIC" + attribute = "WEB_APPLICATION_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "ConnectedDrive Internet Portal" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Login" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "connected-oauth-service-apim" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Login" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "legal-document-composite-service" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Login" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "user-profile-service" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Login" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "user-composite-service" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Login" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "token-exchanger-service" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Login" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "CDIP" + } + } + } + } +} diff --git a/output/20220126-160617_TERRAFORM/autotags/app-id.8c25d4f8-233c-4513-bbbb-526691e72e2f..autotag.tf b/output/20220126-160617_TERRAFORM/autotags/app-id.8c25d4f8-233c-4513-bbbb-526691e72e2f..autotag.tf new file mode 100644 index 0000000..4b4bf40 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/autotags/app-id.8c25d4f8-233c-4513-bbbb-526691e72e2f..autotag.tf @@ -0,0 +1,61 @@ +resource "dynatrace_autotag" "app-id" { + name = "app-id" + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "{ProcessGroup:Kubernetes:app-id}" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "app-id" + source = "KUBERNETES" + } + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "{ProcessGroup:CommandLineArgs/-Ddtapp-id=(.*?)#}" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "COMMAND_LINE_ARGS" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "-Ddtapp-id=" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "{ProcessGroup:Environment:app-id}" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "app-id" + source = "ENVIRONMENT" + } + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } +} diff --git a/output/20220126-160617_TERRAFORM/autotags/app-name.f98972a3-756d-45b7-8c6b-9423cfbe9dfa..autotag.tf b/output/20220126-160617_TERRAFORM/autotags/app-name.f98972a3-756d-45b7-8c6b-9423cfbe9dfa..autotag.tf new file mode 100644 index 0000000..349516f --- /dev/null +++ b/output/20220126-160617_TERRAFORM/autotags/app-name.f98972a3-756d-45b7-8c6b-9423cfbe9dfa..autotag.tf @@ -0,0 +1,61 @@ +resource "dynatrace_autotag" "app-name" { + name = "app-name" + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "{ProcessGroup:Kubernetes:app-name}" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "app-name" + source = "KUBERNETES" + } + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "{ProcessGroup:CommandLineArgs/-Ddtapp-name=(.*?)#}" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "COMMAND_LINE_ARGS" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "-Ddapp-name=" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "{ProcessGroup:Environment:app-name}" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "app-name" + source = "ENVIRONMENT" + } + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } +} diff --git a/output/20220126-160617_TERRAFORM/autotags/compass-id.8f1e5833-067b-42be-a299-98d0a048d0d6..autotag.tf b/output/20220126-160617_TERRAFORM/autotags/compass-id.8f1e5833-067b-42be-a299-98d0a048d0d6..autotag.tf new file mode 100644 index 0000000..8eedbea --- /dev/null +++ b/output/20220126-160617_TERRAFORM/autotags/compass-id.8f1e5833-067b-42be-a299-98d0a048d0d6..autotag.tf @@ -0,0 +1,61 @@ +resource "dynatrace_autotag" "compass-id" { + name = "compass-id" + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "{ProcessGroup:Kubernetes:compass-id}" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "compass-id" + source = "KUBERNETES" + } + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "{ProcessGroup:CommandLineArgs/-Ddtcompass-id=(.*?)#}" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "COMMAND_LINE_ARGS" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "-Ddtcompass-id=" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "{ProcessGroup:Environment:compass-id}" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "compass-id" + source = "ENVIRONMENT" + } + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } +} diff --git a/output/20220126-160617_TERRAFORM/autotags/ms-id.00bf1fbc-3fe9-4ba5-be00-7e2e63718468..autotag.tf b/output/20220126-160617_TERRAFORM/autotags/ms-id.00bf1fbc-3fe9-4ba5-be00-7e2e63718468..autotag.tf new file mode 100644 index 0000000..849c77d --- /dev/null +++ b/output/20220126-160617_TERRAFORM/autotags/ms-id.00bf1fbc-3fe9-4ba5-be00-7e2e63718468..autotag.tf @@ -0,0 +1,61 @@ +resource "dynatrace_autotag" "ms-id" { + name = "ms-id" + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "{ProcessGroup:CommandLineArgs/-Ddtms-id=(.*?)#}" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "COMMAND_LINE_ARGS" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "-Ddtms-id=" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "{ProcessGroup:Kubernetes:ms-id}" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "ms-id" + source = "KUBERNETES" + } + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "{ProcessGroup:Environment:ms-id}" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "ms-id" + source = "ENVIRONMENT" + } + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } +} diff --git a/output/20220126-160617_TERRAFORM/custom_services/DPP - JOYNR.9a616602-6c73-4a1f-a843-865ed6873401..custom_service.tf b/output/20220126-160617_TERRAFORM/custom_services/DPP - JOYNR.9a616602-6c73-4a1f-a843-865ed6873401..custom_service.tf new file mode 100644 index 0000000..5e8595f --- /dev/null +++ b/output/20220126-160617_TERRAFORM/custom_services/DPP - JOYNR.9a616602-6c73-4a1f-a843-865ed6873401..custom_service.tf @@ -0,0 +1,80 @@ +resource "dynatrace_custom_service" "DPP_-_JOYNR" { + name = "DPP - JOYNR" + enabled = true + # queue_entry_point = false + rule { + enabled = true + id = "e55ba82b-05e8-414a-8cb1-c2e6c6e79049" + class { + name = "com.bmw.cc.dpp.api.joynrprovider.v1.PrivacySettingsBackendProviderImpl" + match = "EQUALS" + } + file { + name = "" + } + method { + name = "updateSettings" + arguments = ["joynr.de.bmw.infotainment.telematic.common.CommonTypes.RequestId","java.lang.Long","java.lang.Long","java.lang.String","java.lang.Boolean","joynr.de.bmw.infotainment.dataprivacy.PrivacySettingsTypes.PrivacySetting[]"] + id = "766c5a01-e4df-4077-84b4-1b691fbd82df" + returns = "void" + } + } + rule { + enabled = true + id = "dce408ef-5460-4825-b16c-62c13659a734" + class { + name = "com.bmw.cc.dpp.api.joynrprovider.v2.PrivacySettingsBackendV2ProviderImpl" + match = "EQUALS" + } + file { + name = "" + } + method { + name = "confirmSettings" + arguments = ["java.lang.String","joynr.de.bmw.infotainment.dataprivacy.v2.PrivacySettingsTypes.ResultCode"] + id = "40980cdb-4ab7-4c49-8391-5d4c636f1fad" + returns = "void" + } + method { + name = "getPrivacyUsersWithGroupsForVin" + arguments = ["joynr.de.bmw.infotainment.dataprivacy.v2.PrivacySettingsTypes.RequestId"] + id = "d805b9c6-fc5a-4c8a-b8ec-f3cb18e15d26" + returns = "joynr.de.bmw.infotainment.dataprivacy.v2.PrivacySettingsBackendSync$GetPrivacyUsersWithGroupsForVinReturned" + } + method { + name = "requestRequestSetting" + arguments = ["joynr.de.bmw.infotainment.dataprivacy.v2.PrivacySettingsTypes.RequestId","java.lang.String"] + id = "d4c923b2-819d-4f68-a8bf-9db9ed686d4e" + returns = "void" + } + method { + name = "updateSettings" + arguments = ["joynr.de.bmw.infotainment.dataprivacy.v2.PrivacySettingsTypes.RequestId","java.lang.Long","java.lang.Long","java.lang.String","java.lang.Boolean","java.lang.String","joynr.de.bmw.infotainment.dataprivacy.v2.PrivacySettingsTypes.PrivacySetting[]"] + id = "295ae9ca-80a4-46a0-af45-d3ede8261a6e" + returns = "joynr.de.bmw.infotainment.dataprivacy.v2.PrivacySettingsTypes.ResultCode" + } + } + rule { + enabled = true + id = "23599713-d521-404a-8a70-1ac1f2503156" + class { + name = "com.bmw.cc.dpp.api.joynrprovider.v3.PrivacySettingsBackendV3ProviderImpl" + match = "EQUALS" + } + file { + name = "" + } + method { + name = "requestTargetSetting" + arguments = ["joynr.de.bmw.infotainment.dataprivacy.v3.PrivacySettingsTypes.RequestId","java.lang.String"] + id = "e2badd5d-6509-4ee4-8850-6913ad63880d" + returns = "void" + } + method { + name = "updateSettings" + arguments = ["joynr.de.bmw.infotainment.dataprivacy.v3.PrivacySettingsTypes.RequestId","java.lang.Long","java.lang.Long","java.lang.String","java.lang.Boolean","joynr.de.bmw.infotainment.dataprivacy.v3.PrivacySettingsTypes.PrivacySetting[]","joynr.de.bmw.infotainment.dataprivacy.v3.PrivacySettingsTypes.OptionalParameter[]"] + id = "397a1838-66f5-4cc8-9d3f-28d50621e0ca" + returns = "joynr.de.bmw.infotainment.dataprivacy.v3.PrivacySettingsTypes.ResultCode" + } + } +} diff --git a/output/20220126-160617_TERRAFORM/custom_services/LSC Worker Kafka IN.1ebd270f-3c1f-43d9-9852-1c8464607135..custom_service.tf b/output/20220126-160617_TERRAFORM/custom_services/LSC Worker Kafka IN.1ebd270f-3c1f-43d9-9852-1c8464607135..custom_service.tf new file mode 100644 index 0000000..9eeac8e --- /dev/null +++ b/output/20220126-160617_TERRAFORM/custom_services/LSC Worker Kafka IN.1ebd270f-3c1f-43d9-9852-1c8464607135..custom_service.tf @@ -0,0 +1,23 @@ +resource "dynatrace_custom_service" "LSC_Worker_Kafka_IN" { + name = "LSC Worker Kafka IN" + enabled = true + queue_entry_point = true + queue_entry_point_type = "KAFKA" + rule { + enabled = true + id = "5802f3f3-8af4-42a1-981c-6b4667e58cc4" + class { + name = "com.bmw.tssb.lsc.worker.facade.LscMessageProcessingBean" + match = "EQUALS" + } + file { + name = "" + } + method { + name = "onMessage" + arguments = ["org.apache.kafka.clients.consumer.ConsumerRecord"] + id = "311fd216-ff2b-4781-8e92-e9b84290bf43" + returns = "void" + } + } +} diff --git a/output/20220126-160617_TERRAFORM/dashboards/EW_TEST2.f4f5c14e-7f0c-49c1-bfd4-9c740d0870a9..dashboard.tf b/output/20220126-160617_TERRAFORM/dashboards/EW_TEST2.f4f5c14e-7f0c-49c1-bfd4-9c740d0870a9..dashboard.tf new file mode 100644 index 0000000..6534cba --- /dev/null +++ b/output/20220126-160617_TERRAFORM/dashboards/EW_TEST2.f4f5c14e-7f0c-49c1-bfd4-9c740d0870a9..dashboard.tf @@ -0,0 +1,18 @@ +resource "dynatrace_dashboard" "EW_TEST2_f4f5c14e-7f0c-49c1-bfd4-9c740d0870a9" { + dashboard_metadata { + name = "EW_TEST2" + owner = "Ermis.Wieger@partner.bmw.de" + # shared = false + } +} +resource "dynatrace_dashboard_sharing" "EW_TEST2_f4f5c14e-7f0c-49c1-bfd4-9c740d0870a9" { + # enabled = false + dashboard_id = "f4f5c14e-7f0c-49c1-bfd4-9c740d0870a9" + # preset = false + permissions { + permission { + type = "ALL" + level = "VIEW" + } + } +} diff --git a/output/20220126-160617_TERRAFORM/dashboards/EW_TEST_HUHU.3fed8bb6-688f-4fcb-9ea7-a5b4a28fac90..dashboard.tf b/output/20220126-160617_TERRAFORM/dashboards/EW_TEST_HUHU.3fed8bb6-688f-4fcb-9ea7-a5b4a28fac90..dashboard.tf new file mode 100644 index 0000000..5851762 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/dashboards/EW_TEST_HUHU.3fed8bb6-688f-4fcb-9ea7-a5b4a28fac90..dashboard.tf @@ -0,0 +1,29 @@ +resource "dynatrace_dashboard" "EW_TEST_HUHU_3fed8bb6-688f-4fcb-9ea7-a5b4a28fac90" { + dashboard_metadata { + name = "EW_TEST_HUHU" + owner = "Ermis.Wieger@partner.bmw.de" + # shared = false + } + tile { + name = "Problems" + configured = true + tile_type = "OPEN_PROBLEMS" + bounds { + height = 152 + left = 76 + top = 0 + width = 152 + } + } +} +resource "dynatrace_dashboard_sharing" "EW_TEST_HUHU_3fed8bb6-688f-4fcb-9ea7-a5b4a28fac90" { + # enabled = false + dashboard_id = "3fed8bb6-688f-4fcb-9ea7-a5b4a28fac90" + # preset = false + permissions { + permission { + type = "ALL" + level = "VIEW" + } + } +} diff --git a/output/20220126-160617_TERRAFORM/dashboards/Kubernetes cluster overview.6b38732e-8c5c-4b32-80a1-7053ec8f37e1..dashboard.tf b/output/20220126-160617_TERRAFORM/dashboards/Kubernetes cluster overview.6b38732e-8c5c-4b32-80a1-7053ec8f37e1..dashboard.tf new file mode 100644 index 0000000..9530e1e --- /dev/null +++ b/output/20220126-160617_TERRAFORM/dashboards/Kubernetes cluster overview.6b38732e-8c5c-4b32-80a1-7053ec8f37e1..dashboard.tf @@ -0,0 +1,784 @@ +resource "dynatrace_dashboard" "Kubernetes_cluster_overview_6b38732e-8c5c-4b32-80a1-7053ec8f37e1" { + dashboard_metadata { + name = "Kubernetes cluster overview" + owner = "Dynatrace" + # shared = false + tags = ["Kubernetes"] + dynamic_filters { + filters = ["KUBERNETES_CLUSTER"] + } + } + tile { + name = "Markdown" + configured = true + markdown = "## Cluster resource overview" + tile_type = "MARKDOWN" + bounds { + height = 38 + left = 0 + top = 0 + width = 684 + } + } + tile { + name = "" + chart_visible = true + configured = true + tile_type = "HOSTS" + bounds { + height = 304 + left = 342 + top = 38 + width = 342 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "HOST" + custom_name = "Full-Stack Kubernetes nodes" + default_name = "Full-Stack Kubernetes nodes" + chart_config { + type = "TIMESERIES" + legend = true + } + filters { + filter { + entity_type = "HOST" + match { + key = "HOST_SOFTWARE_TECH" + values = ["KUBERNETES"] + } + } + } + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 152 + left = 190 + top = 418 + width = 190 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "CPU available" + default_name = "Custom chart" + chart_config { + type = "SINGLE_VALUE" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "KUBERNETES_CLUSTER" + metric = "builtin:cloud.kubernetes.cluster.cpuAvailable" + # sort_ascending = false + sort_column = true + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 684 + top = 38 + width = 304 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Pods" + default_name = "Custom chart" + chart_config { + type = "PIE" + legend = true + result_metadata { + config { + custom_color = "#008cdb" + key = "null¦Pod phase»Succeeded»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597237249882 + } + config { + custom_color = "#64bd64" + key = "null¦Pod phase»Running»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234642722 + } + config { + custom_color = "#f5d30f" + key = "null¦Pod phase»Pending»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234457744 + } + config { + custom_color = "#ff0000" + key = "null¦Pod phase»Failed»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234118116 + } + } + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION" + metric = "builtin:cloud.kubernetes.workload.pods" + # sort_ascending = false + sort_column = true + dimension { + name = "Pod phase" + # entity_dimension = false + id = "1" + } + } + } + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 152 + left = 608 + top = 418 + width = 190 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Memory available" + default_name = "Custom chart" + chart_config { + type = "SINGLE_VALUE" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "KUBERNETES_CLUSTER" + metric = "builtin:cloud.kubernetes.cluster.memoryAvailable" + # sort_ascending = false + sort_column = true + } + } + } + } + tile { + name = "Markdown" + configured = true + markdown = "## Node resource usage" + tile_type = "MARKDOWN" + bounds { + height = 38 + left = 0 + top = 380 + width = 1634 + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 0 + top = 38 + width = 342 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Cluster nodes" + default_name = "Custom chart" + chart_config { + type = "PIE" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "KUBERNETES_CLUSTER" + metric = "builtin:cloud.kubernetes.cluster.nodes" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.kubernetes_cluster" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 152 + left = 1026 + top = 418 + width = 190 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Disk available" + default_name = "Custom chart" + chart_config { + type = "SINGLE_VALUE" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "HOST" + metric = "builtin:host.disk.avail" + # sort_ascending = false + sort_column = true + } + } + filters { + filter { + entity_type = "HOST" + match { + key = "HOST_SOFTWARE_TECH" + values = ["KUBERNETES"] + } + } + } + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 0 + top = 570 + width = 418 + } + filter_config { + type = "MIXED" + custom_name = "CPU usage % " + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "HOST" + metric = "builtin:host.cpu.usage" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.host" + entity_dimension = true + id = "0" + } + } + } + filters { + filter { + entity_type = "HOST" + match { + key = "HOST_SOFTWARE_TECH" + values = ["KUBERNETES"] + } + } + } + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 418 + top = 570 + width = 418 + } + filter_config { + type = "MIXED" + custom_name = "Memory usage % " + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "HOST" + metric = "builtin:host.mem.usage" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.host" + entity_dimension = true + id = "0" + } + } + } + filters { + filter { + entity_type = "HOST" + match { + key = "HOST_SOFTWARE_TECH" + values = ["KUBERNETES"] + } + } + } + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 836 + top = 570 + width = 418 + } + filter_config { + type = "MIXED" + custom_name = "Disk usage % " + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "HOST" + metric = "builtin:host.disk.usedPct" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.host" + entity_dimension = true + id = "0" + } + dimension { + name = "dt.entity.disk" + entity_dimension = true + id = "1" + } + } + } + filters { + filter { + entity_type = "HOST" + match { + key = "HOST_SOFTWARE_TECH" + values = ["KUBERNETES"] + } + } + } + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 152 + left = 0 + top = 418 + width = 190 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Total CPU requests" + default_name = "Custom chart" + chart_config { + type = "SINGLE_VALUE" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "KUBERNETES_CLUSTER" + metric = "builtin:cloud.kubernetes.cluster.cpuRequested" + # sort_ascending = false + sort_column = true + } + } + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 152 + left = 418 + top = 418 + width = 190 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Total memory requests" + default_name = "Custom chart" + chart_config { + type = "SINGLE_VALUE" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "KUBERNETES_CLUSTER" + metric = "builtin:cloud.kubernetes.cluster.memoryRequested" + # sort_ascending = false + sort_column = true + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 152 + left = 836 + top = 418 + width = 190 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Total disk used" + default_name = "Custom chart" + chart_config { + type = "SINGLE_VALUE" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "HOST" + metric = "builtin:host.disk.used" + # sort_ascending = false + sort_column = true + } + } + filters { + filter { + entity_type = "HOST" + match { + key = "HOST_SOFTWARE_TECH" + values = ["KUBERNETES"] + } + } + } + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 1254 + top = 570 + width = 380 + } + filter_config { + type = "MIXED" + custom_name = "Traffic in/out" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "HOST" + metric = "builtin:host.net.nic.trafficIn" + # sort_ascending = false + # sort_column = false + dimension { + name = "dt.entity.host" + entity_dimension = true + id = "0" + } + } + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "HOST" + metric = "builtin:host.net.nic.trafficOut" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.host" + entity_dimension = true + id = "0" + } + } + } + filters { + filter { + entity_type = "HOST" + match { + key = "HOST_SOFTWARE_TECH" + values = ["KUBERNETES"] + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 152 + left = 1444 + top = 418 + width = 190 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Traffic out" + default_name = "Custom chart" + chart_config { + type = "SINGLE_VALUE" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "HOST" + metric = "builtin:host.net.nic.trafficOut" + # sort_ascending = false + sort_column = true + } + } + filters { + filter { + entity_type = "HOST" + match { + key = "HOST_SOFTWARE_TECH" + values = ["KUBERNETES"] + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 152 + left = 1254 + top = 418 + width = 190 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Traffic in" + default_name = "Custom chart" + chart_config { + type = "SINGLE_VALUE" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "HOST" + metric = "builtin:host.net.nic.trafficIn" + # sort_ascending = false + sort_column = true + } + } + filters { + filter { + entity_type = "HOST" + match { + key = "HOST_SOFTWARE_TECH" + values = ["KUBERNETES"] + } + } + } + } + } + tile { + name = "Markdown" + configured = true + markdown = "## [Workloads overview](#dashboard;id=6b38732e-d26b-45c7-b107-ed85e87ff288)" + tile_type = "MARKDOWN" + bounds { + height = 38 + left = 684 + top = 0 + width = 950 + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 1330 + top = 38 + width = 304 + } + filter_config { + type = "MIXED" + custom_name = "Workloads" + default_name = "Custom chart" + chart_config { + type = "PIE" + legend = true + result_metadata { + config { + custom_color = "#008cdb" + key = "null¦Pod phase»Succeeded»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597237249882 + } + config { + custom_color = "#64bd64" + key = "null¦Pod phase»Running»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234642722 + } + config { + custom_color = "#f5d30f" + key = "null¦Pod phase»Pending»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234457744 + } + config { + custom_color = "#ff0000" + key = "null¦Pod phase»Failed»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234118116 + } + config { + custom_color = "#ffa86c" + key = "null¦Deployment type»DaemonSet»falsebuiltin:cloud.kubernetes.namespace.workloads|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION_NAMESPACE" + last_modified = 1597858600132 + } + } + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.workloads" + # sort_ascending = false + sort_column = true + dimension { + name = "Deployment type" + # entity_dimension = false + id = "1" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 988 + top = 38 + width = 342 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Running pods" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + result_metadata { + config { + custom_color = "#008cdb" + key = "null¦Pod phase»Succeeded»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597237249882 + } + config { + custom_color = "#64bd64" + key = "null¦Pod phase»Running»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234642722 + } + config { + custom_color = "#f5d30f" + key = "null¦Pod phase»Pending»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234457744 + } + config { + custom_color = "#ff0000" + key = "null¦Pod phase»Failed»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234118116 + } + config { + custom_color = "#ffa86c" + key = "null¦Deployment type»DaemonSet»falsebuiltin:cloud.kubernetes.namespace.workloads|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION_NAMESPACE" + last_modified = 1597858600132 + } + } + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.runningPods" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.cloud_application_namespace" + entity_dimension = true + id = "0" + } + } + } + } + } +} diff --git a/output/20220126-160617_TERRAFORM/dashboards/Kubernetes namespace resource quotas.6b38732e-609c-44e2-b34d-0286717ecdab..dashboard.tf b/output/20220126-160617_TERRAFORM/dashboards/Kubernetes namespace resource quotas.6b38732e-609c-44e2-b34d-0286717ecdab..dashboard.tf new file mode 100644 index 0000000..380063c --- /dev/null +++ b/output/20220126-160617_TERRAFORM/dashboards/Kubernetes namespace resource quotas.6b38732e-609c-44e2-b34d-0286717ecdab..dashboard.tf @@ -0,0 +1,677 @@ +resource "dynatrace_dashboard" "Kubernetes_namespace_resource_quotas_6b38732e-609c-44e2-b34d-0286717ecdab" { + dashboard_metadata { + name = "Kubernetes namespace resource quotas" + owner = "Dynatrace" + # shared = false + tags = ["Kubernetes"] + dynamic_filters { + filters = ["KUBERNETES_CLUSTER","RELATED_NAMESPACE"] + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 1102 + top = 228 + width = 570 + } + filter_config { + type = "MIXED" + custom_name = "CPU limits quota used" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + left_axis_custom_unit = "MilliCores" + legend = true + result_metadata { + config { + custom_color = "#f5d30f" + key = "nullbuiltin:cloud.kubernetes.namespace.quota.cpuLimits|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION_NAMESPACE" + last_modified = 1597931668482 + } + } + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.quota.usedCpuLimits" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.cloud_application_namespace" + entity_dimension = true + id = "0" + } + dimension { + name = "Resource quota name" + # entity_dimension = false + id = "1" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 1102 + top = 722 + width = 570 + } + filter_config { + type = "MIXED" + custom_name = "Memory limits quota used" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.quota.usedMemoryLimits" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.cloud_application_namespace" + entity_dimension = true + id = "0" + } + dimension { + name = "Resource quota name" + # entity_dimension = false + id = "1" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 152 + left = 0 + top = 76 + width = 418 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "CPU requests quota used" + default_name = "Custom chart" + chart_config { + type = "SINGLE_VALUE" + left_axis_custom_unit = "MilliCores" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.quota.usedCpuRequests" + # sort_ascending = false + sort_column = true + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 0 + top = 722 + width = 266 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Memory requests quota used" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + series { + type = "AREA" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.quota.usedMemoryRequests" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.cloud_application_namespace" + entity_dimension = true + id = "0" + } + dimension { + name = "Resource quota name" + # entity_dimension = false + id = "1" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 0 + top = 228 + width = 266 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "CPU requests quota used" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + left_axis_custom_unit = "MilliCores" + legend = true + series { + type = "AREA" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.quota.usedCpuRequests" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.cloud_application_namespace" + entity_dimension = true + id = "0" + } + dimension { + name = "Resource quota name" + # entity_dimension = false + id = "1" + } + } + } + } + } + tile { + name = "Markdown" + configured = true + markdown = "## Memory request quota" + tile_type = "MARKDOWN" + bounds { + height = 38 + left = 0 + top = 532 + width = 836 + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 266 + top = 228 + width = 570 + } + filter_config { + type = "MIXED" + custom_name = "CPU requests quota used" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + left_axis_custom_unit = "MilliCores" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.quota.usedCpuRequests" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.cloud_application_namespace" + entity_dimension = true + id = "0" + } + dimension { + name = "Resource quota name" + # entity_dimension = false + id = "1" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 836 + top = 228 + width = 266 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "CPU limits quota used" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + left_axis_custom_unit = "MilliCores" + legend = true + result_metadata { + config { + custom_color = "#f5d30f" + key = "nullbuiltin:cloud.kubernetes.namespace.quota.cpuLimits|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION_NAMESPACE" + last_modified = 1597931668482 + } + } + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.quota.usedCpuLimits" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.cloud_application_namespace" + entity_dimension = true + id = "0" + } + dimension { + name = "Resource quota name" + # entity_dimension = false + id = "1" + } + } + } + } + } + tile { + name = "Markdown" + configured = true + markdown = "## CPU requests quota " + tile_type = "MARKDOWN" + bounds { + height = 38 + left = 0 + top = 38 + width = 836 + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 266 + top = 722 + width = 570 + } + filter_config { + type = "MIXED" + custom_name = "Memory requests quota used" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.quota.usedMemoryRequests" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.cloud_application_namespace" + entity_dimension = true + id = "0" + } + dimension { + name = "Resource quota name" + # entity_dimension = false + id = "1" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 836 + top = 722 + width = 266 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Memory limits quota used" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.quota.usedMemoryLimits" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.cloud_application_namespace" + entity_dimension = true + id = "0" + } + dimension { + name = "Resource quota name" + # entity_dimension = false + id = "1" + } + } + } + } + } + tile { + name = "Markdown" + configured = true + markdown = "## Memory limits quota" + tile_type = "MARKDOWN" + bounds { + height = 38 + left = 836 + top = 532 + width = 836 + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 152 + left = 418 + top = 76 + width = 418 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Total CPU requests quota" + default_name = "Custom chart" + chart_config { + type = "SINGLE_VALUE" + left_axis_custom_unit = "MilliCores" + legend = true + series { + type = "AREA" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.quota.cpuRequests" + # sort_ascending = false + sort_column = true + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 152 + left = 836 + top = 76 + width = 418 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "CPU limits quota used" + default_name = "Custom chart" + chart_config { + type = "SINGLE_VALUE" + left_axis_custom_unit = "MilliCores" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.quota.usedCpuLimits" + # sort_ascending = false + sort_column = true + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 152 + left = 1254 + top = 76 + width = 418 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Total CPU limits quota" + default_name = "Custom chart" + chart_config { + type = "SINGLE_VALUE" + left_axis_custom_unit = "MilliCores" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.quota.cpuLimits" + # sort_ascending = false + sort_column = true + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 152 + left = 418 + top = 570 + width = 418 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Total memory requests quota" + default_name = "Custom chart" + chart_config { + type = "SINGLE_VALUE" + left_axis_custom_unit = "MilliCores" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.quota.memoryRequests" + # sort_ascending = false + sort_column = true + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 152 + left = 0 + top = 570 + width = 418 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Total memory requests quota used" + default_name = "Custom chart" + chart_config { + type = "SINGLE_VALUE" + left_axis_custom_unit = "MilliCores" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.quota.usedMemoryRequests" + # sort_ascending = false + sort_column = true + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 152 + left = 836 + top = 570 + width = 418 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Total memory limits quota used" + default_name = "Custom chart" + chart_config { + type = "SINGLE_VALUE" + left_axis_custom_unit = "MilliCores" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.quota.usedMemoryLimits" + # sort_ascending = false + sort_column = true + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 152 + left = 1254 + top = 570 + width = 418 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Total memory limits quota" + default_name = "Custom chart" + chart_config { + type = "SINGLE_VALUE" + left_axis_custom_unit = "MilliCores" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.quota.memoryLimits" + # sort_ascending = false + sort_column = true + } + } + } + } + tile { + name = "Markdown" + configured = true + markdown = "## CPU limits quota" + tile_type = "MARKDOWN" + bounds { + height = 38 + left = 836 + top = 38 + width = 836 + } + } + tile { + name = "Markdown" + configured = true + markdown = "This dashboard provides an overview of your [resource quotas](https://kubernetes.io/docs/concepts/policy/resource-quotas/) by namespace. If the dashboard is empty you might need to setup quotas at the namespace level." + tile_type = "MARKDOWN" + bounds { + height = 38 + left = 0 + top = 0 + width = 1672 + } + } +} diff --git a/output/20220126-160617_TERRAFORM/dashboards/Kubernetes workload overview.6b38732e-d26b-45c7-b107-ed85e87ff288..dashboard.tf b/output/20220126-160617_TERRAFORM/dashboards/Kubernetes workload overview.6b38732e-d26b-45c7-b107-ed85e87ff288..dashboard.tf new file mode 100644 index 0000000..8ef8180 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/dashboards/Kubernetes workload overview.6b38732e-d26b-45c7-b107-ed85e87ff288..dashboard.tf @@ -0,0 +1,697 @@ +resource "dynatrace_dashboard" "Kubernetes_workload_overview_6b38732e-d26b-45c7-b107-ed85e87ff288" { + dashboard_metadata { + name = "Kubernetes workload overview" + owner = "Dynatrace" + # shared = false + tags = ["Kubernetes"] + dynamic_filters { + filters = ["KUBERNETES_CLUSTER","RELATED_CLOUD_APPLICATION","RELATED_NAMESPACE"] + } + } + tile { + name = "Markdown" + configured = true + markdown = "## Pods overview" + tile_type = "MARKDOWN" + bounds { + height = 38 + left = 684 + top = 0 + width = 950 + } + } + tile { + name = "Markdown" + configured = true + markdown = "## Container resource utilization" + tile_type = "MARKDOWN" + bounds { + height = 38 + left = 342 + top = 380 + width = 1292 + } + filter { + timeframe = "Last 2 hours" + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 266 + left = 342 + top = 684 + width = 304 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Top memory hungry containers" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + result_metadata { + config { + custom_color = "#7c38a1" + key = "CLOUD_APPLICATION_NAMESPACE-C61324AA70F57BCB¦CLOUD_APPLICATION_NAMESPACE»CLOUD_APPLICATION_NAMESPACE-C61324AA70F57BCB»truebuiltin:cloud.kubernetes.namespace.memoryRequests|AVG|TOTAL|LINE|CLOUD_APPLICATION_NAMESPACE" + last_modified = 1587982372047 + } + config { + custom_color = "#c9a000" + key = "CLOUD_APPLICATION_NAMESPACE-375040337FEFD0D6¦CLOUD_APPLICATION_NAMESPACE»CLOUD_APPLICATION_NAMESPACE-375040337FEFD0D6»truebuiltin:cloud.kubernetes.namespace.memoryRequests|AVG|TOTAL|LINE|CLOUD_APPLICATION_NAMESPACE" + last_modified = 1587982380102 + } + } + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "CONTAINER_GROUP_INSTANCE" + metric = "builtin:containers.memory.residentSetBytes" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.container_group_instance" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 266 + left = 342 + top = 418 + width = 304 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Top CPU intensive containers" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "CONTAINER_GROUP_INSTANCE" + metric = "builtin:containers.cpu.usageMilliCores" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.container_group_instance" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 532 + left = 0 + top = 418 + width = 304 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Running pods" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + result_metadata { + config { + custom_color = "#008cdb" + key = "null¦Pod phase»Succeeded»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597237249882 + } + config { + custom_color = "#64bd64" + key = "null¦Pod phase»Running»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234642722 + } + config { + custom_color = "#f5d30f" + key = "null¦Pod phase»Pending»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234457744 + } + config { + custom_color = "#ff0000" + key = "null¦Pod phase»Failed»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234118116 + } + config { + custom_color = "#ffa86c" + key = "null¦Deployment type»DaemonSet»falsebuiltin:cloud.kubernetes.namespace.workloads|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION_NAMESPACE" + last_modified = 1597858600132 + } + } + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.runningPods" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.cloud_application_namespace" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 266 + left = 1140 + top = 418 + width = 494 + } + filter_config { + type = "MIXED" + custom_name = "Container CPU throttling" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "CONTAINER_GROUP_INSTANCE" + metric = "builtin:containers.cpu.throttledMilliCores" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.container_group_instance" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 152 + left = 912 + top = 190 + width = 266 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Pending pods" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION" + metric = "builtin:cloud.kubernetes.workload.pods" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.cloud_application" + entity_dimension = true + id = "0" + } + dimension { + name = "Pod phase" + # entity_dimension = false + id = "1" + values = ["Pending"] + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 684 + top = 38 + width = 228 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Pods" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + result_metadata { + config { + custom_color = "#008cdb" + key = "null¦Pod phase»Succeeded»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597237249882 + } + config { + custom_color = "#64bd64" + key = "null¦Pod phase»Running»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234642722 + } + config { + custom_color = "#f5d30f" + key = "null¦Pod phase»Pending»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234457744 + } + config { + custom_color = "#ff0000" + key = "null¦Pod phase»Failed»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234118116 + } + } + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION" + metric = "builtin:cloud.kubernetes.workload.pods" + # sort_ascending = false + sort_column = true + dimension { + name = "Pod phase" + # entity_dimension = false + id = "1" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 152 + left = 912 + top = 38 + width = 266 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Failed pods" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + series { + type = "AREA" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION" + metric = "builtin:cloud.kubernetes.workload.pods" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.cloud_application" + entity_dimension = true + id = "0" + } + dimension { + name = "Pod phase" + # entity_dimension = false + id = "1" + values = ["Failed"] + } + dimension { + name = "Reason" + # entity_dimension = false + id = "2" + } + } + } + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 266 + left = 1330 + top = 684 + width = 304 + } + filter_config { + type = "MIXED" + custom_name = "Out of memory containers" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + series { + type = "BAR" + aggregation = "NONE" + aggregation_rate = "TOTAL" + entity_type = "CONTAINER_GROUP_INSTANCE" + metric = "builtin:containers.memory.outOfMemoryKills" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.container_group_instance" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 266 + left = 646 + top = 418 + width = 494 + } + filter_config { + type = "MIXED" + custom_name = "Total CPU usage vs throttling" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CONTAINER_GROUP_INSTANCE" + metric = "builtin:containers.cpu.throttledMilliCores" + # sort_ascending = false + # sort_column = false + } + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CONTAINER_GROUP_INSTANCE" + metric = "builtin:containers.cpu.usageMilliCores" + # sort_ascending = false + sort_column = true + } + } + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 266 + left = 646 + top = 684 + width = 684 + } + filter_config { + type = "MIXED" + custom_name = "Memory usage and OOM containers" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CONTAINER_GROUP_INSTANCE" + metric = "builtin:containers.memory.residentSetBytes" + # sort_ascending = false + # sort_column = false + dimension { + name = "dt.entity.container_group_instance" + entity_dimension = true + id = "0" + } + } + series { + type = "BAR" + aggregation = "NONE" + aggregation_rate = "TOTAL" + entity_type = "CONTAINER_GROUP_INSTANCE" + metric = "builtin:containers.memory.outOfMemoryKills" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.container_group_instance" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "Markdown" + configured = true + markdown = "## Workloads by type" + tile_type = "MARKDOWN" + bounds { + height = 38 + left = 0 + top = 0 + width = 684 + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 0 + top = 38 + width = 228 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Workloads" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + result_metadata { + config { + custom_color = "#008cdb" + key = "null¦Pod phase»Succeeded»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597237249882 + } + config { + custom_color = "#64bd64" + key = "null¦Pod phase»Running»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234642722 + } + config { + custom_color = "#f5d30f" + key = "null¦Pod phase»Pending»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234457744 + } + config { + custom_color = "#ff0000" + key = "null¦Pod phase»Failed»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234118116 + } + config { + custom_color = "#ffa86c" + key = "null¦Deployment type»DaemonSet»falsebuiltin:cloud.kubernetes.namespace.workloads|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION_NAMESPACE" + last_modified = 1597858600132 + } + } + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.workloads" + # sort_ascending = false + sort_column = true + dimension { + name = "Deployment type" + # entity_dimension = false + id = "1" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 228 + top = 38 + width = 456 + } + filter_config { + type = "MIXED" + custom_name = "Workloads" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + result_metadata { + config { + custom_color = "#008cdb" + key = "null¦Pod phase»Succeeded»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597237249882 + } + config { + custom_color = "#64bd64" + key = "null¦Pod phase»Running»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234642722 + } + config { + custom_color = "#f5d30f" + key = "null¦Pod phase»Pending»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234457744 + } + config { + custom_color = "#ff0000" + key = "null¦Pod phase»Failed»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234118116 + } + config { + custom_color = "#ffa86c" + key = "null¦Deployment type»DaemonSet»falsebuiltin:cloud.kubernetes.namespace.workloads|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION_NAMESPACE" + last_modified = 1597858600132 + } + } + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.workloads" + # sort_ascending = false + sort_column = true + dimension { + name = "Deployment type" + # entity_dimension = false + id = "1" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 1178 + top = 38 + width = 456 + } + filter_config { + type = "MIXED" + custom_name = "Pods" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + result_metadata { + config { + custom_color = "#008cdb" + key = "null¦Pod phase»Succeeded»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597237249882 + } + config { + custom_color = "#64bd64" + key = "null¦Pod phase»Running»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234642722 + } + config { + custom_color = "#f5d30f" + key = "null¦Pod phase»Pending»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234457744 + } + config { + custom_color = "#ff0000" + key = "null¦Pod phase»Failed»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234118116 + } + } + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION" + metric = "builtin:cloud.kubernetes.workload.pods" + # sort_ascending = false + sort_column = true + dimension { + name = "Pod phase" + # entity_dimension = false + id = "1" + } + } + } + } + } + tile { + name = "Markdown" + configured = true + markdown = "## Pods per namespace" + tile_type = "MARKDOWN" + bounds { + height = 38 + left = 0 + top = 380 + width = 304 + } + } +} diff --git a/output/20220126-160617_TERRAFORM/dashboards/New dashboard (Nov 26, 2021 08_54_43).7a34f10c-fb29-41ec-9f4f-be858e86f2bb..dashboard.tf b/output/20220126-160617_TERRAFORM/dashboards/New dashboard (Nov 26, 2021 08_54_43).7a34f10c-fb29-41ec-9f4f-be858e86f2bb..dashboard.tf new file mode 100644 index 0000000..3c6cff4 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/dashboards/New dashboard (Nov 26, 2021 08_54_43).7a34f10c-fb29-41ec-9f4f-be858e86f2bb..dashboard.tf @@ -0,0 +1,18 @@ +resource "dynatrace_dashboard" "New_dashboard__Nov_26__2021_08_54_43__7a34f10c-fb29-41ec-9f4f-be858e86f2bb" { + dashboard_metadata { + name = "New dashboard (Nov 26, 2021 08:54:43)" + owner = "Dennis.Schmid@partner.bmw.de" + # shared = false + } +} +resource "dynatrace_dashboard_sharing" "New_dashboard__Nov_26__2021_08_54_43__7a34f10c-fb29-41ec-9f4f-be858e86f2bb" { + # enabled = false + dashboard_id = "7a34f10c-fb29-41ec-9f4f-be858e86f2bb" + # preset = false + permissions { + permission { + type = "ALL" + level = "VIEW" + } + } +} diff --git a/output/20220126-160617_TERRAFORM/dashboards/Real User Monitoring.c704bd72-92e9-452a-b40e-73e6f4df9f08..dashboard.tf b/output/20220126-160617_TERRAFORM/dashboards/Real User Monitoring.c704bd72-92e9-452a-b40e-73e6f4df9f08..dashboard.tf new file mode 100644 index 0000000..76fb7a5 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/dashboards/Real User Monitoring.c704bd72-92e9-452a-b40e-73e6f4df9f08..dashboard.tf @@ -0,0 +1,1228 @@ +resource "dynatrace_dashboard" "Real_User_Monitoring_c704bd72-92e9-452a-b40e-73e6f4df9f08" { + dashboard_metadata { + name = "Real User Monitoring" + owner = "Dynatrace" + # shared = false + tags = ["Applications","Reporting"] + unknowns = "{\"popularity\":10}" + filter { + timeframe = "e_-24h to now" + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 266 + left = 798 + top = 646 + width = 380 + } + filter_config { + type = "MIXED" + custom_name = "Web applications" + default_name = "Custom chart" + chart_config { + type = "PIE" + legend = true + result_metadata { + config { + custom_color = "#2ab06f" + key = "null¦Apdex category»SATISFIED»falsebuiltin:apps.web.actionCount.category|NONE|TOTAL|LINE|APPLICATION" + last_modified = 1576250669259 + } + config { + custom_color = "#dc172a" + key = "null¦Apdex category»FRUSTRATED»falsebuiltin:apps.web.actionCount.category|NONE|TOTAL|LINE|APPLICATION" + last_modified = 1576250647244 + } + config { + custom_color = "#f5d30f" + key = "null¦Apdex category»TOLERATING»falsebuiltin:apps.web.actionCount.category|NONE|TOTAL|LINE|APPLICATION" + last_modified = 1592937338597 + } + config { + custom_color = "#f5d30f" + key = "null¦Apdex category»UNKNOWN»falsebuiltin:apps.web.actionCount.category|NONE|TOTAL|LINE|APPLICATION" + last_modified = 1576250655779 + } + } + series { + type = "LINE" + aggregation = "NONE" + aggregation_rate = "TOTAL" + entity_type = "APPLICATION" + metric = "builtin:apps.web.actionCount.category" + # sort_ascending = false + sort_column = true + dimension { + name = "Apdex category" + # entity_dimension = false + id = "1" + values = ["FRUSTRATED","SATISFIED","TOLERATING"] + } + } + } + } + } + tile { + name = "Application health" + chart_visible = true + configured = true + tile_type = "APPLICATIONS" + bounds { + height = 380 + left = 532 + top = 114 + width = 494 + } + } + tile { + name = "World map" + configured = true + metric = "APDEX" + tile_type = "APPLICATION_WORLDMAP" + bounds { + height = 304 + left = 0 + top = 1102 + width = 456 + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 266 + left = 1178 + top = 646 + width = 380 + } + filter_config { + type = "MIXED" + custom_name = "Mobile applications" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + result_metadata { + config { + custom_color = "#2ab06f" + key = "null¦Apdex category»SATISFIED»falsebuiltin:apps.other.uaCount.osAndApdex|NONE|TOTAL|BAR|MONITORED_ENTITY˟DEVICE_APPLICATION" + last_modified = 1592937498035 + } + config { + custom_color = "#2ab06f" + key = "null¦Apdex category»SATISFIED»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|LINE|APPLICATION" + last_modified = 1576250669259 + } + config { + custom_color = "#2ab06f" + key = "null¦Apdex category»SATISFIED»falsebuiltin:apps.web.actionCount.category|NONE|TOTAL|LINE|APPLICATION" + last_modified = 1575375405694 + } + config { + custom_color = "#dc172a" + key = "null¦Apdex category»FRUSTRATED»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|LINE|APPLICATION" + last_modified = 1576250647244 + } + config { + custom_color = "#dc172a" + key = "null¦Apdex category»FRUSTRATED»falsebuiltin:apps.web.actionCount.category|NONE|TOTAL|LINE|APPLICATION" + last_modified = 1575375425837 + } + config { + custom_color = "#dc172a" + key = "null¦Apdex category»TOLERATING»falsebuiltin:apps.other.uaCount.osAndApdex|NONE|TOTAL|BAR|MONITORED_ENTITY˟DEVICE_APPLICATION" + last_modified = 1592937505976 + } + config { + custom_color = "#edd148" + key = "null¦Apdex category»FRUSTRATED»falsebuiltin:apps.other.uaCount.osAndApdex|NONE|TOTAL|BAR|MONITORED_ENTITY˟DEVICE_APPLICATION" + last_modified = 1592937635068 + } + config { + custom_color = "#ef651f" + key = "null¦Apdex category»TOLERATING»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|LINE|APPLICATION" + last_modified = 1576250636502 + } + config { + custom_color = "#ef651f" + key = "null¦Apdex category»TOLERATING»falsebuiltin:apps.web.actionCount.category|NONE|TOTAL|LINE|APPLICATION" + last_modified = 1575375418110 + } + config { + custom_color = "#f5d30f" + key = "null¦Apdex category»UNKNOWN»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|LINE|APPLICATION" + last_modified = 1576250655779 + } + config { + custom_color = "#f5d30f" + key = "null¦Apdex category»UNKNOWN»falsebuiltin:apps.web.actionCount.category|NONE|TOTAL|LINE|APPLICATION" + last_modified = 1575375365362 + } + } + series { + type = "BAR" + aggregation = "NONE" + aggregation_rate = "TOTAL" + entity_type = "MONITORED_ENTITY˟DEVICE_APPLICATION" + metric = "builtin:apps.other.uaCount.osAndApdex" + # sort_ascending = false + sort_column = true + dimension { + name = "Apdex category" + # entity_dimension = false + id = "2" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 494 + top = 1102 + width = 456 + } + filter_config { + type = "MIXED" + custom_name = "Top mobile geo locations" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + result_metadata { + config { + custom_color = "#7c38a1" + key = "APPLICATION-C93B8002996906CD¦APPLICATION»APPLICATION-C93B8002996906CD»truebuiltin:apps.web.actionCount.category|NONE|TOTAL|LINE|APPLICATION" + last_modified = 1575466081357 + } + config { + custom_color = "#a972cc" + key = "nullbuiltin:apps.web.actionCount.category|NONE|MINUTE|LINE|APPLICATION" + last_modified = 1576250713592 + } + config { + custom_color = "#a972cc" + key = "nullbuiltin:apps.web.actionCount.category|NONE|TOTAL|LINE|APPLICATION" + last_modified = 1575466119629 + } + } + series { + type = "LINE" + aggregation = "NONE" + aggregation_rate = "TOTAL" + entity_type = "MONITORED_ENTITY˟DEVICE_APPLICATION" + metric = "builtin:apps.other.uaCount.geoAndApdex" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.geolocation" + entity_dimension = true + id = "1" + values = ["GEOLOCATION-EF77F2A17134795A","GEOLOCATION-5A3E928A9D35F3C4","GEOLOCATION-970B6D0A98F55995","GEOLOCATION-BF80BDA05D7783CF","GEOLOCATION-6919A3D55EFC157F","GEOLOCATION-532BF776D70A146F"] + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 1102 + top = 2432 + width = 456 + } + filter_config { + type = "MIXED" + custom_name = "Mobile app crashes" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + result_metadata { + config { + custom_color = "#ef651f" + key = "nullbuiltin:apps.other.crashCount.osAndVersion|NONE|TOTAL|BAR|MONITORED_ENTITY˟DEVICE_APPLICATION" + last_modified = 1594892171951 + } + } + series { + type = "BAR" + aggregation = "NONE" + aggregation_rate = "TOTAL" + entity_type = "MONITORED_ENTITY˟DEVICE_APPLICATION" + metric = "builtin:apps.other.crashCount.osAndVersion" + # sort_ascending = false + sort_column = true + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 380 + left = 1064 + top = 114 + width = 494 + } + filter_config { + type = "MIXED" + custom_name = "User actions per minute" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + result_metadata { + config { + custom_color = "#2ab06f" + key = "null¦Apdex category»SATISFIED»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|AREA|APPLICATION" + last_modified = 1592937309469 + } + config { + custom_color = "#dc172a" + key = "null¦Apdex category»FRUSTRATED»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|AREA|APPLICATION" + last_modified = 1592937317653 + } + config { + custom_color = "#edd148" + key = "null¦Apdex category»TOLERATING»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|AREA|APPLICATION" + last_modified = 1592937616228 + } + } + series { + type = "AREA" + aggregation = "NONE" + aggregation_rate = "MINUTE" + entity_type = "MONITORED_ENTITY˟DEVICE_APPLICATION" + metric = "builtin:apps.other.uaCount.osAndVersion" + # sort_ascending = false + sort_column = true + } + series { + type = "AREA" + aggregation = "NONE" + aggregation_rate = "MINUTE" + entity_type = "APPLICATION" + metric = "builtin:apps.web.actionCount.category" + # sort_ascending = false + sort_column = true + } + } + } + } + tile { + name = "Markdown" + configured = true + markdown = "Always be up-to-date with the health and availability of your mobile application by [tracking crashes and downtime](https://www.dynatrace.com/support/help/shortlink/mobile-crash-reports)." + tile_type = "MARKDOWN" + bounds { + height = 76 + left = 1102 + top = 2736 + width = 456 + } + } + tile { + name = "Markdown" + configured = true + markdown = "Many out-of-the-box metrics can be split according to geo location, like user sessions, crashes, or number of mobile user actions. Geo locations can be shown according to continents, countries, or cities." + tile_type = "MARKDOWN" + bounds { + height = 114 + left = 494 + top = 1406 + width = 456 + } + } + tile { + name = "Markdown" + configured = true + markdown = "Dynatrace calculates [Apdex ratings](https://www.dynatrace.com/support/help/shortlink/apdex) to provide you with a single metric that tells you about the performance of your application and the errors that impact user experience. Apdex thresholds can be adjusted for each application as well as key user actions." + tile_type = "MARKDOWN" + bounds { + height = 114 + left = 798 + top = 912 + width = 760 + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 608 + top = 2432 + width = 456 + } + filter_config { + type = "MIXED" + custom_name = "Web application errors" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + result_metadata { + config { + custom_color = "#00a1b2" + key = "null¦Error type»Request»falsebuiltin:apps.web.countOfErrors|NONE|TOTAL|BAR|APPLICATION" + last_modified = 1594892194668 + } + config { + custom_color = "#c9a000" + key = "null¦Error type»Custom»falsebuiltin:apps.web.countOfErrors|NONE|TOTAL|BAR|APPLICATION" + last_modified = 1594892201170 + } + config { + custom_color = "#debbf3" + key = "null¦Error type»JavaScript»falsebuiltin:apps.web.countOfErrors|NONE|TOTAL|BAR|APPLICATION" + last_modified = 1594892186342 + } + } + series { + type = "BAR" + aggregation = "NONE" + aggregation_rate = "TOTAL" + entity_type = "APPLICATION" + metric = "builtin:apps.web.countOfErrors" + # sort_ascending = false + sort_column = true + dimension { + name = "Error type" + # entity_dimension = false + id = "2" + } + } + } + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 304 + top = 646 + width = 456 + } + filter_config { + type = "MIXED" + custom_name = "Key user actions with low Apdex rating " + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "APPLICATION_METHOD" + metric = "builtin:apps.web.action.apdex" + sort_ascending = true + sort_column = true + dimension { + name = "dt.entity.application_method" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "Markdown" + configured = true + markdown = "[Key user actions](https://www.dynatrace.com/support/help/shortlink/user-actions#key-user-actions) help you keep an eye on your most important user actions, such as signups, checkouts and product searches. Custom Apdex thresholds can be set for each user action, and key performance metrics can be charted for these too." + tile_type = "MARKDOWN" + bounds { + height = 76 + left = 0 + top = 950 + width = 760 + } + } + tile { + name = "User experience" + configured = true + tile_type = "HEADER" + bounds { + height = 38 + left = 798 + top = 608 + width = 760 + } + } + tile { + name = "Markdown" + configured = true + markdown = <<-EOT + Dynatrace automatically captures JavaScript and HTTP errors. Custom errors can also be reported [using our JavaScript API](https://www.dynatrace.com/support/help/shortlink/configure-application-errors#configure-custom-errors). + Learn more about [analyzing issues with our HTTP error monitoring](https://www.dynatrace.com/news/blog/extended-davis-awareness-of-http-and-custom-errors/). + EOT + tile_type = "MARKDOWN" + bounds { + height = 76 + left = 608 + top = 2736 + width = 456 + } + } + tile { + name = "Markdown" + configured = true + markdown = "The world map tile can show real-user metrics like the [Apdex](https://www.dynatrace.com/support/help/shortlink/apdex) ratings of your web or mobile applications. Alternatively, configure this to reflect a specific application, or click to navigate to the world map analysis screen. " + tile_type = "MARKDOWN" + bounds { + height = 114 + left = 0 + top = 1406 + width = 456 + } + } + tile { + name = "Markdown" + configured = true + markdown = "Dynatrace captures [user actions](https://www.dynatrace.com/support/help/shortlink/user-actions) for all monitored web and mobile applications. A user action can be a load action, an XHR action, or a custom action. The action duration is calculated differently for each action type, and each type has different metrics available." + tile_type = "MARKDOWN" + bounds { + height = 114 + left = 1064 + top = 494 + width = 494 + } + } + tile { + name = "Markdown" + configured = true + markdown = <<-EOT + The purpose of this pre-set dashboard is to inspire and to show you some useful out-of-the-box [tiles](https://www.dynatrace.com/support/help/shortlink/pin-to-dashboard) and [custom charts](https://www.dynatrace.com/support/help/shortlink/charts-create) that you can use to monitor your applications. + If it's empty you might want to change the [management zone](https://www.dynatrace.com/support/help/shortlink/management-zones-hub). + EOT + tile_type = "MARKDOWN" + bounds { + height = 76 + left = 0 + top = 0 + width = 1558 + } + } + tile { + name = "Key user action overview" + assigned_entities = ["APPLICATION-EA7C4B59F27D43EB"] + configured = true + tile_type = "UEM_KEY_USER_ACTIONS" + bounds { + height = 304 + left = 0 + top = 646 + width = 304 + } + } + tile { + name = "Geo locations" + configured = true + tile_type = "HEADER" + bounds { + height = 38 + left = 0 + top = 1064 + width = 950 + } + } + tile { + name = "Application health" + configured = true + tile_type = "HEADER" + bounds { + height = 38 + left = 532 + top = 76 + width = 494 + } + } + tile { + name = "User actions" + configured = true + tile_type = "HEADER" + bounds { + height = 38 + left = 1064 + top = 76 + width = 494 + } + } + tile { + name = "Application errors and crashes" + configured = true + tile_type = "HEADER" + bounds { + height = 38 + left = 608 + top = 2394 + width = 950 + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 988 + top = 1482 + width = 266 + } + filter_config { + type = "MIXED" + custom_name = "Key performance metrics" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + result_metadata { + config { + custom_color = "#2ab06f" + key = "null¦Apdex category»SATISFIED»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|AREA|APPLICATION" + last_modified = 1592937309469 + } + config { + custom_color = "#dc172a" + key = "null¦Apdex category»FRUSTRATED»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|AREA|APPLICATION" + last_modified = 1592937317653 + } + config { + custom_color = "#edd148" + key = "null¦Apdex category»TOLERATING»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|AREA|APPLICATION" + last_modified = 1592937616228 + } + } + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "APPLICATION" + metric = "builtin:apps.web.visuallyComplete.load.browser" + # sort_ascending = false + sort_column = true + } + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "APPLICATION" + metric = "builtin:apps.web.domInteractive.load.browser" + # sort_ascending = false + # sort_column = false + } + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "APPLICATION" + metric = "builtin:apps.web.speedIndex.load.browser" + # sort_ascending = false + # sort_column = false + } + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "APPLICATION" + metric = "builtin:apps.web.firstByte.load.browser" + # sort_ascending = false + # sort_column = false + } + } + } + } + tile { + name = "Funnel chart" + configured = true + tile_type = "HEADER" + bounds { + height = 38 + left = 0 + top = 1900 + width = 570 + } + } + tile { + name = "User Sessions Query" + configured = true + custom_name = "User sessions query results" + limit = 50 + query = "SELECT FUNNEL(useraction.isEntryAction = true AS \"First step\", useraction.duration\u003e1000 AS \"Second step\", useraction.isExitAction=true AS \"Last step\") FROM usersession" + tile_type = "DTAQL" + visualization = "FUNNEL" + bounds { + height = 342 + left = 0 + top = 1938 + width = 570 + } + } + tile { + name = "Markdown" + configured = true + markdown = "Understand and optimize your users’ journeys through your application with the [funnel chart](https://www.dynatrace.com/news/blog/understand-and-optimize-user-journeys-with-funnel-charting/), which helps you analyze the conversion rates for important workflows." + tile_type = "MARKDOWN" + bounds { + height = 76 + left = 0 + top = 2280 + width = 570 + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 988 + top = 1102 + width = 266 + } + filter_config { + type = "MIXED" + custom_name = "Visually complete" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + result_metadata { + config { + custom_color = "#2ab06f" + key = "null¦Apdex category»SATISFIED»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|AREA|APPLICATION" + last_modified = 1592937309469 + } + config { + custom_color = "#dc172a" + key = "null¦Apdex category»FRUSTRATED»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|AREA|APPLICATION" + last_modified = 1592937317653 + } + config { + custom_color = "#edd148" + key = "null¦Apdex category»TOLERATING»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|AREA|APPLICATION" + last_modified = 1592937616228 + } + } + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "APPLICATION_METHOD" + metric = "builtin:apps.web.action.visuallyComplete.load.browser" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.browser" + entity_dimension = true + id = "1" + values = ["BROWSER-EFB8A292CB368A8D","BROWSER-FF8EAE6885DE87B3","BROWSER-84D34A4F1D5F0E12","BROWSER-2A6F794139C73155"] + } + } + } + } + } + tile { + name = "Web requests and 3rd party providers" + configured = true + tile_type = "HEADER" + bounds { + height = 38 + left = 608 + top = 1900 + width = 950 + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 950 + top = 1976 + width = 304 + } + filter_config { + type = "MIXED" + custom_name = "Mobile request error rate" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + series { + type = "LINE" + aggregation = "NONE" + aggregation_rate = "TOTAL" + entity_type = "MONITORED_ENTITY˟DEVICE_APPLICATION" + metric = "builtin:apps.other.requestErrorRate.osAndProvider" + # sort_ascending = false + sort_column = true + dimension { + name = "Provider" + # entity_dimension = false + id = "3" + } + } + } + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 1254 + top = 1976 + width = 304 + } + filter_config { + type = "MIXED" + custom_name = "Mobile request duration" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + series { + type = "LINE" + aggregation = "PERCENTILE" + aggregation_rate = "TOTAL" + entity_type = "MONITORED_ENTITY˟DEVICE_APPLICATION" + metric = "builtin:apps.other.requestTimes.osAndProvider" + percentile = 50 + # sort_ascending = false + sort_column = true + dimension { + name = "Provider" + # entity_dimension = false + id = "3" + } + } + } + } + } + tile { + name = "Markdown" + configured = true + markdown = "Get insight into the number of failed requests to content and backend services, regardless of who owns them." + tile_type = "MARKDOWN" + bounds { + height = 76 + left = 950 + top = 2280 + width = 304 + } + } + tile { + name = "User sessions and Session Replay" + configured = true + tile_type = "HEADER" + bounds { + height = 38 + left = 0 + top = 1558 + width = 950 + } + } + tile { + name = "Synthetic monitoring" + configured = true + tile_type = "HEADER" + bounds { + height = 38 + left = 0 + top = 2394 + width = 570 + } + } + tile { + name = "User Sessions Query" + configured = true + custom_name = "User sessions query results" + limit = 50 + query = "SELECT userSessionId, userExperienceScore, hasSessionReplay FROM usersession ORDER by hasSessionReplay DESC, userExperienceScore" + tile_type = "DTAQL" + visualization = "TABLE" + bounds { + height = 190 + left = 304 + top = 1596 + width = 342 + } + } + tile { + name = "Performance metrics across different dimensions" + configured = true + tile_type = "HEADER" + bounds { + height = 38 + left = 988 + top = 1064 + width = 570 + } + } + tile { + name = "Key user actions" + configured = true + tile_type = "HEADER" + bounds { + height = 38 + left = 0 + top = 608 + width = 760 + } + } + tile { + name = "Most used 3rd parties" + configured = true + tile_type = "THIRD_PARTY_MOST_ACTIVE" + bounds { + height = 304 + left = 608 + top = 1976 + width = 304 + } + } + tile { + name = "Markdown" + configured = true + markdown = "Dynatrace captures W3C resource timings to give you detailed performance breakdowns of your web application's 3rd parties." + tile_type = "MARKDOWN" + bounds { + height = 76 + left = 608 + top = 2280 + width = 304 + } + } + tile { + name = "Markdown" + configured = true + markdown = "Use [Session Replay](https://www.dynatrace.com/support/help/shortlink/session-replay) to capture and visually replay your users' complete digital experience. The movie-like playback of Session Replay helps you bridge the gap between code and user experience, by helping you identify errors and analyze areas of struggle." + tile_type = "MARKDOWN" + bounds { + height = 76 + left = 0 + top = 1786 + width = 950 + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 1292 + top = 1102 + width = 266 + } + filter_config { + type = "MIXED" + custom_name = "Mobile action duration" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + result_metadata { + config { + custom_color = "#2ab06f" + key = "null¦Apdex category»SATISFIED»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|AREA|APPLICATION" + last_modified = 1592937309469 + } + config { + custom_color = "#dc172a" + key = "null¦Apdex category»FRUSTRATED»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|AREA|APPLICATION" + last_modified = 1592937317653 + } + config { + custom_color = "#edd148" + key = "null¦Apdex category»TOLERATING»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|AREA|APPLICATION" + last_modified = 1592937616228 + } + } + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "MONITORED_ENTITY˟DEVICE_APPLICATION" + metric = "builtin:apps.other.uaDuration.osAndVersion" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.os" + entity_dimension = true + id = "1" + } + } + } + } + } + tile { + name = "Markdown" + configured = true + markdown = "With Dynatrace, you can compare [key performance metrics](https://www.dynatrace.com/support/help/shortlink/user-action-metrics#key-performance-metrics) for every user action, and action duration can be charted across different app versions." + tile_type = "MARKDOWN" + bounds { + height = 76 + left = 988 + top = 1786 + width = 570 + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 1292 + top = 1482 + width = 266 + } + filter_config { + type = "MIXED" + custom_name = "Mobile app versions" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + result_metadata { + config { + custom_color = "#2ab06f" + key = "null¦Apdex category»SATISFIED»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|AREA|APPLICATION" + last_modified = 1592937309469 + } + config { + custom_color = "#dc172a" + key = "null¦Apdex category»FRUSTRATED»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|AREA|APPLICATION" + last_modified = 1592937317653 + } + config { + custom_color = "#edd148" + key = "null¦Apdex category»TOLERATING»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|AREA|APPLICATION" + last_modified = 1592937616228 + } + } + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "MONITORED_ENTITY˟DEVICE_APPLICATION" + metric = "builtin:apps.other.uaDuration.osAndVersion" + # sort_ascending = false + sort_column = true + dimension { + name = "App Version" + # entity_dimension = false + id = "2" + } + } + } + } + } + tile { + name = "User Sessions Query" + configured = true + custom_name = "Sessions with replay" + limit = 50 + query = "SELECT count(*) FROM usersession where hasSessionReplay=true" + tile_type = "DTAQL" + time_frame_shift = "dynamic" + visualization = "SINGLE_VALUE" + bounds { + height = 190 + left = 646 + top = 1596 + width = 304 + } + } + tile { + name = "User Sessions Query" + configured = true + custom_name = "Total sessions" + limit = 50 + query = "SELECT count(userSessionId) FROM usersession " + tile_type = "DTAQL" + time_frame_shift = "dynamic" + visualization = "SINGLE_VALUE" + bounds { + height = 190 + left = 0 + top = 1596 + width = 304 + } + } + tile { + name = "Browser monitor" + # configured = false + # exclude_maintenance_windows = false + tile_type = "SYNTHETIC_SINGLE_WEBCHECK" + bounds { + height = 304 + left = 266 + top = 2432 + width = 304 + } + } + tile { + name = "Synthetic monitor health" + chart_visible = true + configured = true + tile_type = "SYNTHETIC_TESTS" + bounds { + height = 304 + left = 0 + top = 2432 + width = 266 + } + } + tile { + name = "Markdown" + configured = true + markdown = <<-EOT + ## Defining applications + + Dynatrace groups front-end monitoring data into [applications](https://www.dynatrace.com/support/help/shortlink/rum-application-concept). Dynatrace monitors both web applications and mobile apps. + EOT + tile_type = "MARKDOWN" + bounds { + height = 114 + left = 0 + top = 76 + width = 494 + } + } + tile { + name = "Markdown" + configured = true + markdown = <<-EOT + ## Web applications + + Web application are monitored with the JavaScript tag which is automatically injected by our OneAgent. By default, all monitoring data is grouped into [My web application](https://www.dynatrace.com/support/help/shortlink/my-web-application). You can change the [application detection rules](#settings/rum/webappmonitoring;gf=all;gtf=-24h%20to%20now) to define your own applications. + + If you don't have access to your web server and therefore can't install OneAgent, [manually insert](#install/agentless;gf=all) the JavaScript tag into your web pages. + EOT + tile_type = "MARKDOWN" + bounds { + height = 228 + left = 0 + top = 190 + width = 494 + } + } + tile { + name = "Markdown" + configured = true + markdown = <<-EOT + ## Mobile apps + + Dynatrace provides auto- instrumentation for Android and iOS apps with easy manual extension and supports cross-platform frameworks like Cordova, Flutter, Xamarin or React Native. Start monitoring your apps by deploying [OneAgent for Mobile](#mobile;gf=all). + EOT + tile_type = "MARKDOWN" + bounds { + height = 152 + left = 0 + top = 418 + width = 494 + } + } + tile { + name = "Markdown" + configured = true + markdown = <<-EOT + Synthetic monitors are a great addition to RUM, since they help identify problems before real users are affected. Synthetic browser and HTTP monitors also monitor performance baselines in a clean room environment. + [Create a synthetic monitor](#newhttpmonitorwizard;gf=all) now. + EOT + tile_type = "MARKDOWN" + bounds { + height = 76 + left = 0 + top = 2736 + width = 570 + } + } + tile { + name = "Markdown" + configured = true + markdown = "Dynatrace uses the MaxMind database to map IP addresses to geo locations. Additional IP addresses can be mapped to [custom locations](#settings/rum/geographiclocations;gf=all)." + tile_type = "MARKDOWN" + bounds { + height = 38 + left = 0 + top = 1520 + width = 950 + } + } + tile { + name = "Markdown" + configured = true + markdown = <<-EOT + The [application health](https://www.dynatrace.com/support/help/shortlink/problems-hub) provides an overview of all applications that have open problems. These problems and their root causes are detected automatically. + Adjust the [global anomaly detection](#settings/anomalydetection/appl) for applications to fine-tune what Davis reports as problems. + EOT + tile_type = "MARKDOWN" + bounds { + height = 114 + left = 532 + top = 494 + width = 494 + } + } + tile { + name = "Markdown" + configured = true + markdown = "Dynatrace auto-detects over [1,000 content providers out-of-the-box](#settings/rum/providerbreakdown;gf=all), including Google, Amazon, Facebook, and many more." + tile_type = "MARKDOWN" + bounds { + height = 38 + left = 608 + top = 1938 + width = 950 + } + } + tile { + name = "Markdown" + configured = true + markdown = "[Performance metrics](https://www.dynatrace.com/support/help/shortlink/user-action-metrics#key-performance-metrics) differ across various browsers and platforms. Track the consistency of the performance of your web and mobile apps by charting metrics according to browsers and operating systems." + tile_type = "MARKDOWN" + bounds { + height = 76 + left = 988 + top = 1406 + width = 570 + } + } + tile { + name = "Markdown" + configured = true + markdown = "Get insight into the duration requests to content and backend services, regardless of who owns them." + tile_type = "MARKDOWN" + bounds { + height = 76 + left = 1254 + top = 2280 + width = 304 + } + } +} diff --git a/output/20220126-160617_TERRAFORM/dashboards/Synthetic Monitoring.b6fc0160-9332-454f-a7bc-7217b2ae540c..dashboard.tf b/output/20220126-160617_TERRAFORM/dashboards/Synthetic Monitoring.b6fc0160-9332-454f-a7bc-7217b2ae540c..dashboard.tf new file mode 100644 index 0000000..78dbb25 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/dashboards/Synthetic Monitoring.b6fc0160-9332-454f-a7bc-7217b2ae540c..dashboard.tf @@ -0,0 +1,834 @@ +resource "dynatrace_dashboard" "Synthetic_Monitoring_b6fc0160-9332-454f-a7bc-7217b2ae540c" { + dashboard_metadata { + name = "Synthetic Monitoring" + owner = "Dynatrace" + # shared = false + tags = ["Synthetic","Reporting"] + filter { + timeframe = "-7d to now" + } + } + tile { + name = "Browser monitor" + # configured = false + # exclude_maintenance_windows = false + tile_type = "SYNTHETIC_SINGLE_WEBCHECK" + bounds { + height = 304 + left = 0 + top = 570 + width = 304 + } + } + tile { + name = "HTTP monitor" + # configured = false + tile_type = "SYNTHETIC_HTTP_MONITOR" + bounds { + height = 304 + left = 304 + top = 570 + width = 304 + } + } + tile { + name = "Third-party monitor" + # configured = false + tile_type = "SYNTHETIC_SINGLE_EXT_TEST" + bounds { + height = 304 + left = 608 + top = 570 + width = 304 + } + } + tile { + name = "Markdown" + configured = true + markdown = "Here are some examples of useful, synthetic out-of-the-box [tiles](https://www.dynatrace.com/support/help/shortlink/pin-to-dashboard) and [custom charts](https://www.dynatrace.com/support/help/shortlink/charts-create) for **your** inspiration." + tile_type = "MARKDOWN" + bounds { + height = 38 + left = 0 + top = 0 + width = 950 + } + filter { + timeframe = "Last 2 hours" + } + } + tile { + name = "Monitor types" + configured = true + tile_type = "HEADER" + bounds { + height = 38 + left = 0 + top = 456 + width = 304 + } + } + tile { + name = "Synthetic monitor health" + chart_visible = true + configured = true + tile_type = "SYNTHETIC_TESTS" + bounds { + height = 304 + left = 0 + top = 76 + width = 152 + } + filter { + timeframe = "Last 2 hours" + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 608 + top = 76 + width = 722 + } + filter { + timeframe = "-30d to now" + } + filter_config { + type = "MIXED" + custom_name = "Visually complete (load action)" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "SYNTHETIC_BROWSER_MONITOR" + metric = "builtin:synthetic.browser.visuallyComplete.load" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.synthetic_test" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "Availability" + configured = true + tile_type = "HEADER" + bounds { + height = 38 + left = 0 + top = 38 + width = 608 + } + } + tile { + name = "Performance baseline" + configured = true + tile_type = "HEADER" + bounds { + height = 38 + left = 608 + top = 38 + width = 722 + } + } + tile { + name = "Markdown" + configured = true + markdown = <<-EOT + Dynatrace Synthetic Monitoring allows you to proactively monitor the **availability** and **performance baselines** of your web applications and API endpoints. You can monitor both your public and internal web and mobile resources from around the globe or important internal locations such as branch offices. Synthetic monitors help you to find issues before they affect your customers. Dynatrace also lets you connect synthetic monitors to your [web](#deploy;gf=all), [mobile](#mobile;gf=all) and [custom](#customapplication;gf=all) applications for insights into availability. + + EOT + tile_type = "MARKDOWN" + bounds { + height = 76 + left = 0 + top = 380 + width = 1330 + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 152 + top = 76 + width = 456 + } + filter { + timeframe = "-30d to now" + } + filter_config { + type = "MIXED" + custom_name = "Availability" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + left_axis_custom_unit = "Percent" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "SYNTHETIC_BROWSER_MONITOR" + metric = "builtin:synthetic.browser.availability.location.total" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.synthetic_test" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "Markdown" + configured = true + markdown = "**[Browser monitors](#newcheckwizard;gf=all;webcheckPage=1;webcheckMode=browserMonitor;reset=true)** use a full Chrome instance to simulate complete page loads as well as complex clickpaths." + tile_type = "MARKDOWN" + bounds { + height = 76 + left = 0 + top = 494 + width = 304 + } + } + tile { + name = "Markdown" + configured = true + markdown = "**[HTTP monitors](#newmonitor2;gf=all;webcheckPage=0;webcheckMode=httpCheck;reset=true)** execute single HTTP requests. They are perfect to monitor your APIs and health check endpoints." + tile_type = "MARKDOWN" + bounds { + height = 76 + left = 304 + top = 494 + width = 304 + } + } + tile { + name = "Markdown" + configured = true + markdown = "You can even ingest [third-party synthetic](#newcheckwizard;gf=all;webcheckPage=1;webcheckMode=externalMonitor;reset=true) data into dynatrace from external sources to enrich Dynatrace data." + tile_type = "MARKDOWN" + bounds { + height = 76 + left = 608 + top = 494 + width = 304 + } + } + tile { + name = "Worldwide locations" + configured = true + tile_type = "HEADER" + bounds { + height = 38 + left = 912 + top = 456 + width = 418 + } + } + tile { + name = "Performance metrics" + configured = true + tile_type = "HEADER" + bounds { + height = 38 + left = 0 + top = 912 + width = 1330 + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 190 + left = 646 + top = 988 + width = 342 + } + filter { + timeframe = "-30d to now" + } + filter_config { + type = "MIXED" + custom_name = "Visually complete (load action)" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "SYNTHETIC_BROWSER_MONITOR" + metric = "builtin:synthetic.browser.visuallyComplete.load" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.synthetic_test" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 190 + left = 0 + top = 988 + width = 304 + } + filter { + timeframe = "-30d to now" + } + filter_config { + type = "MIXED" + custom_name = "Time to first byte (load action)" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "SYNTHETIC_BROWSER_MONITOR" + metric = "builtin:synthetic.browser.firstByte.load" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.synthetic_test" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 190 + left = 304 + top = 988 + width = 342 + } + filter { + timeframe = "-30d to now" + } + filter_config { + type = "MIXED" + custom_name = "DOM interactive (load action)" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "SYNTHETIC_BROWSER_MONITOR" + metric = "builtin:synthetic.browser.domInteractive.load" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.synthetic_test" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 190 + left = 988 + top = 988 + width = 342 + } + filter { + timeframe = "-30d to now" + } + filter_config { + type = "MIXED" + custom_name = "Total duration" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "SYNTHETIC_BROWSER_MONITOR" + metric = "builtin:synthetic.browser.totalDuration" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.synthetic_test" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 190 + left = 0 + top = 1178 + width = 304 + } + filter { + timeframe = "-30d to now" + } + filter_config { + type = "MIXED" + custom_name = "HTTP monitor - DNS lookup time (by location)" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "SYNTHETIC_HTTPCHECK" + metric = "builtin:synthetic.http.dns.geo" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.http_check" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 190 + left = 304 + top = 1178 + width = 342 + } + filter { + timeframe = "-30d to now" + } + filter_config { + type = "MIXED" + custom_name = "HTTP monitor - TCP connect time (by location)" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "SYNTHETIC_HTTPCHECK" + metric = "builtin:synthetic.http.tcpConnectTime.geo" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.http_check" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 190 + left = 646 + top = 1178 + width = 342 + } + filter { + timeframe = "-30d to now" + } + filter_config { + type = "MIXED" + custom_name = "HTTP monitor - DNS lookup time (by location)" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "SYNTHETIC_HTTPCHECK" + metric = "builtin:synthetic.http.dns.geo" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.http_check" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 190 + left = 988 + top = 1178 + width = 342 + } + filter { + timeframe = "-30d to now" + } + filter_config { + type = "MIXED" + custom_name = "HTTP monitor - Duration (by location)" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "SYNTHETIC_HTTPCHECK" + metric = "builtin:synthetic.http.duration.geo" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.http_check" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "Real User Monitoring (RUM) for web and mobile applications" + configured = true + tile_type = "HEADER" + bounds { + height = 38 + left = 0 + top = 1862 + width = 1330 + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 342 + left = 304 + top = 1482 + width = 570 + } + filter { + timeframe = "-30d to now" + } + filter_config { + type = "MIXED" + custom_name = "Failed executions" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "BAR" + aggregation = "NONE" + aggregation_rate = "TOTAL" + entity_type = "SYNTHETIC_BROWSER_MONITOR" + metric = "builtin:synthetic.browser.failure" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.synthetic_test" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 342 + left = 874 + top = 1482 + width = 456 + } + filter { + timeframe = "-30d to now" + } + filter_config { + type = "MIXED" + custom_name = "Error details" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + series { + type = "LINE" + aggregation = "NONE" + aggregation_rate = "TOTAL" + entity_type = "SYNTHETIC_BROWSER_MONITOR" + metric = "builtin:synthetic.browser.errorCodes" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.synthetic_test" + entity_dimension = true + id = "0" + } + dimension { + name = "By error code" + # entity_dimension = false + id = "1" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 342 + left = 0 + top = 1482 + width = 304 + } + filter { + timeframe = "-30d to now" + } + filter_config { + type = "MIXED" + custom_name = "HTTP monitor - Status code (by location)" + default_name = "Custom chart" + chart_config { + type = "PIE" + legend = true + result_metadata { + config { + custom_color = "#02ca02" + key = "null¦Status code»SC_2xx»falsebuiltin:synthetic.http.statusCode|NONE|TOTAL|LINE|SYNTHETIC_HTTPCHECK" + last_modified = 1600259367018 + } + config { + custom_color = "#ca0202" + key = "null¦Status code»SC_5xx»falsebuiltin:synthetic.http.statusCode|NONE|TOTAL|LINE|SYNTHETIC_HTTPCHECK" + last_modified = 1600259377529 + } + } + series { + type = "LINE" + aggregation = "NONE" + aggregation_rate = "TOTAL" + entity_type = "SYNTHETIC_HTTPCHECK" + metric = "builtin:synthetic.http.statusCode" + # sort_ascending = false + sort_column = true + dimension { + name = "Status code" + # entity_dimension = false + id = "2" + } + } + } + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 912 + top = 570 + width = 418 + } + filter_config { + type = "MIXED" + custom_name = "Availability" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "SYNTHETIC_BROWSER_MONITOR" + metric = "builtin:synthetic.browser.availability.location.total" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.geolocation" + entity_dimension = true + id = "1" + } + } + } + } + } + tile { + name = "Markdown" + configured = true + markdown = "Dynatrace synthetic monitoring offers a wide array of metrics out of the box, from network level details to user experience focused metrics like Visually complete." + tile_type = "MARKDOWN" + bounds { + height = 38 + left = 0 + top = 950 + width = 1330 + } + } + tile { + name = "Markdown" + configured = true + markdown = "Monitor from over 90 worldwide high availability and multi-cloud locations. Easily extend your coverage with [private synthetic locations](#settings/syntheticprivatelocations;gf=all)." + tile_type = "MARKDOWN" + bounds { + height = 76 + left = 912 + top = 494 + width = 418 + } + } + tile { + name = "World map" + assigned_entities = ["GEOLOCATION-0000000000000000","WORLD"] + configured = true + metric = "APDEX" + tile_type = "APPLICATION_WORLDMAP" + bounds { + height = 304 + left = 0 + top = 1938 + width = 304 + } + } + tile { + name = "Markdown" + configured = true + markdown = "Synthetic offers consistent insights from a controlled, lab-like environment. Don't forget to also look at **[real user monitoring dat](#uemapplications;gf=all;gtf=-2h)a** to get the complete picture." + tile_type = "MARKDOWN" + bounds { + height = 38 + left = 0 + top = 1900 + width = 1330 + } + filter { + timeframe = "Last 2 hours" + } + } + tile { + name = "Markdown" + configured = true + markdown = "Quickly find the root cause of errors reported by synthetic monitors. Gain full visibility by [deploying the OneAgent](#deploy;gf=all) to drill down from synthetic executions directly into code-level purepaths." + tile_type = "MARKDOWN" + bounds { + height = 38 + left = 0 + top = 1444 + width = 1330 + } + } + tile { + name = "Error details" + configured = true + tile_type = "HEADER" + bounds { + height = 38 + left = 0 + top = 1406 + width = 1330 + } + } + tile { + name = "Top web applications" + configured = true + tile_type = "APPLICATIONS_MOST_ACTIVE" + bounds { + height = 304 + left = 304 + top = 1938 + width = 304 + } + } + tile { + name = "Application health" + chart_visible = true + configured = true + tile_type = "APPLICATIONS" + bounds { + height = 304 + left = 608 + top = 1938 + width = 266 + } + } + tile { + name = "Mobile app" + # configured = false + tile_type = "MOBILE_APPLICATION" + bounds { + height = 152 + left = 874 + top = 1938 + width = 304 + } + } +} diff --git a/output/20220126-160617_TERRAFORM/management_zones/PD_AccountManagementConnectedCar.3204514366265497073..management_zone.tf b/output/20220126-160617_TERRAFORM/management_zones/PD_AccountManagementConnectedCar.3204514366265497073..management_zone.tf new file mode 100644 index 0000000..4533d5c --- /dev/null +++ b/output/20220126-160617_TERRAFORM/management_zones/PD_AccountManagementConnectedCar.3204514366265497073..management_zone.tf @@ -0,0 +1,11 @@ +resource "dynatrace_management_zone" "PD_AccountManagementConnectedCar" { + name = "PD_AccountManagementConnectedCar" + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:AM-CESIM\"),tag(\"compass-id:AM-Device\"),tag(\"compass-id:AM-EGIM\"),tag(\"compass-id:AM-MNO-Manager\"),tag(\"compass-id:CESIM Proxy\"),tag(\"compass-id:MNOMGR-CU-Jasper\"),tag(\"compass-id:MNOMGR-CU-SHA\"),tag(\"compass-id:MNOMGR-GD\"),tag(\"compass-id:MNOMGR-TMSP\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:AM-BPM\"),tag(\"compass-id:AM-CASA\"),tag(\"compass-id:am-cloud\"),tag(\"compass-id:AM-CNR\"),tag(\"compass-id:AM-CNS\"),tag(\"compass-id:AM-ECS\"),tag(\"compass-id:AM-LMCS\"),tag(\"compass-id:AM-Proxy\"),tag(\"compass-id:AM-Store\"),tag(\"compass-id:AM-SVMS\"),tag(\"compass-id:AM-SVMS-EventService\"),tag(\"compass-id:AM-USAGE\"),tag(\"compass-id:AM-VAS\"),tag(\"compass-id:AM-Vehicle\"),tag(\"compass-id:AM-VMS\"),tag(\"compass-id:Countly\"),tag(\"compass-id:TAMSArchive\"),tag(\"compass-id:TestdataTool\")" + } +} diff --git a/output/20220126-160617_TERRAFORM/management_zones/PD_AutomotiveSecurity.-8360045022797381418..management_zone.tf b/output/20220126-160617_TERRAFORM/management_zones/PD_AutomotiveSecurity.-8360045022797381418..management_zone.tf new file mode 100644 index 0000000..3ea4863 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/management_zones/PD_AutomotiveSecurity.-8360045022797381418..management_zone.tf @@ -0,0 +1,27 @@ +resource "dynatrace_management_zone" "PD_AutomotiveSecurity" { + name = "PD_AutomotiveSecurity" + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:ASBC-MFSCS\"),tag(\"compass-id:STM\"),tag(\"compass-id:ts-wlupdater\"),tag(\"compass-id:TVP\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:DFP\"),tag(\"compass-id:DFPH\"),tag(\"compass-id:OCLISc2v\"),tag(\"compass-id:OCLISocsp\"),tag(\"compass-id:P2X\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:ASBC-HAL\"),tag(\"compass-id:ASBC-NGTP\"),tag(\"compass-id:ASBS\"),tag(\"compass-id:HPAuth\"),tag(\"compass-id:STS\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:ASBC-SMACC\"),tag(\"compass-id:CAC\"),tag(\"compass-id:CAC-AGENT\"),tag(\"compass-id:SMC2-BL\"),tag(\"compass-id:SMC2-KEY-TRK\"),tag(\"compass-id:SMC2-RT\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:ASBC-RSU\"),tag(\"compass-id:ASBC-SBB\"),tag(\"compass-id:ASBCSWLSEC2\"),tag(\"compass-id:PSdZ-Checker\"),tag(\"compass-id:SCB\"),tag(\"compass-id:SCC\"),tag(\"compass-id:SWAG\"),tag(\"compass-id:SWLSEC2-Checker\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:ASBC-AFW-POC\"),tag(\"compass-id:ASBC-AFWSFA-POC\"),tag(\"compass-id:ASBC-AFWSTM-POC\")" + } +} diff --git a/output/20220126-160617_TERRAFORM/management_zones/PD_CallServices.-3764294184932480331..management_zone.tf b/output/20220126-160617_TERRAFORM/management_zones/PD_CallServices.-3764294184932480331..management_zone.tf new file mode 100644 index 0000000..e0d8d59 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/management_zones/PD_CallServices.-3764294184932480331..management_zone.tf @@ -0,0 +1,23 @@ +resource "dynatrace_management_zone" "PD_CallServices" { + name = "PD_CallServices" + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:ACDS\"),tag(\"compass-id:APPCALL\"),tag(\"compass-id:B2V-NGTP\"),tag(\"compass-id:ECALLGW\"),tag(\"compass-id:ECS\"),tag(\"compass-id:EVNS2\"),tag(\"compass-id:EVNS2T\"),tag(\"compass-id:NGTP-CS\"),tag(\"compass-id:XCS\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:BASE\"),tag(\"compass-id:CCC\"),tag(\"compass-id:RSA\"),tag(\"compass-id:RSA-ASD-Search\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:PiSA-CORE\"),tag(\"compass-id:PISA-EVENT-HANDLER\"),tag(\"compass-id:PISA-RUNTIME\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:HTTS\"),tag(\"compass-id:HVD\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:B2V-Voice\"),tag(\"compass-id:CRS\"),tag(\"compass-id:CRSA\"),tag(\"compass-id:EPL\"),tag(\"compass-id:EPM\"),tag(\"compass-id:VOICEGW\"),tag(\"compass-id:VOICEGW-ADMIN\")" + } +} diff --git a/output/20220126-160617_TERRAFORM/management_zones/PD_ConnectedDriveStoreBackend.-9017298287443024274..management_zone.tf b/output/20220126-160617_TERRAFORM/management_zones/PD_ConnectedDriveStoreBackend.-9017298287443024274..management_zone.tf new file mode 100644 index 0000000..3dc5e98 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/management_zones/PD_ConnectedDriveStoreBackend.-9017298287443024274..management_zone.tf @@ -0,0 +1,11 @@ +resource "dynatrace_management_zone" "PD_ConnectedDriveStoreBackend" { + name = "PD_ConnectedDriveStoreBackend" + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:Buffet-Birt\"),tag(\"compass-id:Buffet-CIC-Backend\"),tag(\"compass-id:Buffet-Core\"),tag(\"compass-id:Buffet-External-CDM\"),tag(\"compass-id:Buffet-External-Offer\"),tag(\"compass-id:Buffet-External-Payment\"),tag(\"compass-id:Buffet-External-Tax\"),tag(\"compass-id:Buffet-GAM\"),tag(\"compass-id:Buffet-IF33\"),tag(\"compass-id:Buffet-IF38\"),tag(\"compass-id:Buffet-IF41\"),tag(\"compass-id:Buffet-IF50\"),tag(\"compass-id:Buffet-IF51\"),tag(\"compass-id:Buffet-IF52\"),tag(\"compass-id:Buffet-IF53\"),tag(\"compass-id:Buffet-IF54\"),tag(\"compass-id:Buffet-IF58\"),tag(\"compass-id:Buffet-IF60\"),tag(\"compass-id:Buffet-IF90\"),tag(\"compass-id:Buffet-Promo-API\"),tag(\"compass-id:IME-CDS\"),tag(\"compass-id:IME-CS\"),tag(\"compass-id:IME-RDC\"),tag(\"compass-id:IME-SS\"),tag(\"compass-id:IME-WS\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:Concat\"),tag(\"compass-id:Connected-Catalog\")" + } +} diff --git a/output/20220126-160617_TERRAFORM/management_zones/PD_ConnectedUserProfileServices.-1129114036031351881..management_zone.tf b/output/20220126-160617_TERRAFORM/management_zones/PD_ConnectedUserProfileServices.-1129114036031351881..management_zone.tf new file mode 100644 index 0000000..2c139eb --- /dev/null +++ b/output/20220126-160617_TERRAFORM/management_zones/PD_ConnectedUserProfileServices.-1129114036031351881..management_zone.tf @@ -0,0 +1,11 @@ +resource "dynatrace_management_zone" "PD_ConnectedUserProfileServices" { + name = "PD_ConnectedUserProfileServices" + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:OMC Table Storage Expiration Service\"),tag(\"compass-id:omc-client-analytics-hub-consumer-ms\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:DPM\"),tag(\"compass-id:DPP\"),tag(\"compass-id:PERSEUS\"),tag(\"compass-id:PIABO\"),tag(\"compass-id:PIAEP\"),tag(\"compass-id:PIAOP\"),tag(\"compass-id:PIAPE\")" + } +} diff --git a/output/20220126-160617_TERRAFORM/management_zones/PD_InfotainmentInteractivityServices.-8102460393578163095..management_zone.tf b/output/20220126-160617_TERRAFORM/management_zones/PD_InfotainmentInteractivityServices.-8102460393578163095..management_zone.tf new file mode 100644 index 0000000..ca12f17 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/management_zones/PD_InfotainmentInteractivityServices.-8102460393578163095..management_zone.tf @@ -0,0 +1,23 @@ +resource "dynatrace_management_zone" "PD_InfotainmentInteractivityServices" { + name = "PD_InfotainmentInteractivityServices" + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:cm-config\"),tag(\"compass-id:cm-gracenote\"),tag(\"compass-id:cm-spotify\"),tag(\"compass-id:cm-ximalaya\"),tag(\"compass-id:OED\"),tag(\"compass-id:OED-CN\"),tag(\"compass-id:OEG\"),tag(\"compass-id:OEG-CN\"),tag(\"compass-id:OEO\"),tag(\"compass-id:OEO-CN\"),tag(\"compass-id:OEP\"),tag(\"compass-id:OEP-CN\"),tag(\"compass-id:OES\"),tag(\"compass-id:OES-CN\"),tag(\"compass-id:OET\"),tag(\"compass-id:OET-CN\"),tag(\"compass-id:shortvideo\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:CCIS-Download\"),tag(\"compass-id:Geolocator\"),tag(\"compass-id:intelligent-reminder\"),tag(\"compass-id:news-next\"),tag(\"compass-id:restaurant-reservation\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:ambient-music\"),tag(\"compass-id:festive-mode\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:GEN3\"),tag(\"compass-id:ID5\"),tag(\"compass-id:ID5-APP\"),tag(\"compass-id:ID5-EXT\"),tag(\"compass-id:ISE-BEV\"),tag(\"compass-id:ISE-CDR\"),tag(\"compass-id:ISE-EML\"),tag(\"compass-id:ISE-GEN2\"),tag(\"compass-id:ISE-ID7\"),tag(\"compass-id:ISE-INP\"),tag(\"compass-id:ISE-IPA\"),tag(\"compass-id:ISE-LIS\"),tag(\"compass-id:ISE-LOC\"),tag(\"compass-id:ISE-MCL\"),tag(\"compass-id:ISE-NEWS\"),tag(\"compass-id:ISE-PAR\"),tag(\"compass-id:ISE-RSL\"),tag(\"compass-id:ISE-VPS\"),tag(\"compass-id:ISE-VSD\"),tag(\"compass-id:tmpp-admin-ui\"),tag(\"compass-id:tmpp-manifest\"),tag(\"compass-id:tmpp-web-proxy\"),tag(\"compass-id:UPS\"),tag(\"compass-id:WEA\"),tag(\"compass-id:WEA-ID5\"),tag(\"compass-id:WEA-IN-MAP\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:CDIP\")" + } +} diff --git a/output/20220126-160617_TERRAFORM/management_zones/PD_LocationServices.-5192206505795726979..management_zone.tf b/output/20220126-160617_TERRAFORM/management_zones/PD_LocationServices.-5192206505795726979..management_zone.tf new file mode 100644 index 0000000..6f15443 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/management_zones/PD_LocationServices.-5192206505795726979..management_zone.tf @@ -0,0 +1,15 @@ +resource "dynatrace_management_zone" "PD_LocationServices" { + name = "PD_LocationServices" + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:C2B-BS\"),tag(\"compass-id:GCS\"),tag(\"compass-id:LOS-CHA\"),tag(\"compass-id:LOS-CHA-CNV\"),tag(\"compass-id:LOS-JOY\"),tag(\"compass-id:LOS-MOD\"),tag(\"compass-id:LOS-MSC\"),tag(\"compass-id:LOS-OPS\"),tag(\"compass-id:LOS-PAR\"),tag(\"compass-id:LOS-PER\"),tag(\"compass-id:LOS-REF\"),tag(\"compass-id:RES-PAR\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:LOS-FTS\"),tag(\"compass-id:potholes-reader\"),tag(\"compass-id:potholes-service\"),tag(\"compass-id:sc-reader\"),tag(\"compass-id:sc-service\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:ercaf\"),tag(\"compass-id:ERCR\"),tag(\"compass-id:ERTP\")" + } +} diff --git a/output/20220126-160617_TERRAFORM/management_zones/PD_MapServicesAutomatedDriving.-5575428505085624000..management_zone.tf b/output/20220126-160617_TERRAFORM/management_zones/PD_MapServicesAutomatedDriving.-5575428505085624000..management_zone.tf new file mode 100644 index 0000000..10cf285 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/management_zones/PD_MapServicesAutomatedDriving.-5575428505085624000..management_zone.tf @@ -0,0 +1,11 @@ +resource "dynatrace_management_zone" "PD_MapServicesAutomatedDriving" { + name = "PD_MapServicesAutomatedDriving" + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:ms-hdmap-lcv\"),tag(\"compass-id:ms-hdmap-map-viewer\"),tag(\"compass-id:ms-hdmap-mci-adapter\"),tag(\"compass-id:ms-hdmap-mci-downloader\"),tag(\"compass-id:ms-hdmap-nds-downloader\"),tag(\"compass-id:ms-hdmap-qc-bl\"),tag(\"compass-id:ms-hdmap-qc-checks\"),tag(\"compass-id:ms-hdmap-tile-delivery\"),tag(\"compass-id:ms-hdmap-tile-generator\"),tag(\"compass-id:ms-hdmap-vehicle-mock\"),tag(\"compass-id:mupi-backend\"),tag(\"compass-id:MUPI-BE\"),tag(\"compass-id:mupi-cloud-discovery-service\"),tag(\"compass-id:mupi-cloud-dumm-adapter-service\"),tag(\"compass-id:mupi-cloud-hd-adapter-service\"),tag(\"compass-id:mupi-cloud-import-service\"),tag(\"compass-id:mupi-cloud-integration-service\"),tag(\"compass-id:mupi-cloud-joynr-adapter-class-service\"),tag(\"compass-id:mupi-cloud-joynr-adapter-service\"),tag(\"compass-id:mupi-cloud-stats-service\"),tag(\"compass-id:mupi-cockpit\"),tag(\"compass-id:mupi-gateway\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:GNSS API Gateway\"),tag(\"compass-id:gnss-reader\"),tag(\"compass-id:gnss-service\"),tag(\"compass-id:ms-3dp-rc\"),tag(\"compass-id:tc-app\"),tag(\"compass-id:tc-service\")" + } +} diff --git a/output/20220126-160617_TERRAFORM/management_zones/PD_NavigationServices.1045408183413115605..management_zone.tf b/output/20220126-160617_TERRAFORM/management_zones/PD_NavigationServices.1045408183413115605..management_zone.tf new file mode 100644 index 0000000..0865ae5 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/management_zones/PD_NavigationServices.1045408183413115605..management_zone.tf @@ -0,0 +1,15 @@ +resource "dynatrace_management_zone" "PD_NavigationServices" { + name = "PD_NavigationServices" + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:OSPI\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:DM\"),tag(\"compass-id:eRoute\"),tag(\"compass-id:NaaS\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:CNGW\"),tag(\"compass-id:RTTI\")" + } +} diff --git a/output/20220126-160617_TERRAFORM/management_zones/PD_RemoteMessagingServices.5297213946075227845..management_zone.tf b/output/20220126-160617_TERRAFORM/management_zones/PD_RemoteMessagingServices.5297213946075227845..management_zone.tf new file mode 100644 index 0000000..b34a73a --- /dev/null +++ b/output/20220126-160617_TERRAFORM/management_zones/PD_RemoteMessagingServices.5297213946075227845..management_zone.tf @@ -0,0 +1,11 @@ +resource "dynatrace_management_zone" "PD_RemoteMessagingServices" { + name = "PD_RemoteMessagingServices" + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:EADB\"),tag(\"compass-id:ICNB\"),tag(\"compass-id:MSGSVC\"),tag(\"compass-id:OMGW\"),tag(\"compass-id:TCN\"),tag(\"compass-id:XCC-CAMPAIGNS\"),tag(\"compass-id:XCC-CMGR\"),tag(\"compass-id:XCC-SETTINGS\"),tag(\"compass-id:XCC-STATISTICS\"),tag(\"compass-id:XCC-USERS\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:APIGW\"),tag(\"compass-id:FMC\"),tag(\"compass-id:RS\"),tag(\"compass-id:RS360\"),tag(\"compass-id:RSCockpit\")" + } +} diff --git a/output/20220126-160617_TERRAFORM/management_zones/PD_RemoteVehicleConfigurationManagement.5415075804110073257..management_zone.tf b/output/20220126-160617_TERRAFORM/management_zones/PD_RemoteVehicleConfigurationManagement.5415075804110073257..management_zone.tf new file mode 100644 index 0000000..3dcc5b1 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/management_zones/PD_RemoteVehicleConfigurationManagement.5415075804110073257..management_zone.tf @@ -0,0 +1,23 @@ +resource "dynatrace_management_zone" "PD_RemoteVehicleConfigurationManagement" { + name = "PD_RemoteVehicleConfigurationManagement" + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:APR\"),tag(\"compass-id:APR-NPM\"),tag(\"compass-id:APR-Portal\"),tag(\"compass-id:APR-Registry\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:comfy-agent-registry\"),tag(\"compass-id:comfy-cockpit\"),tag(\"compass-id:comfy-management\"),tag(\"compass-id:comfy-orchestration\"),tag(\"compass-id:NOP-Admin\"),tag(\"compass-id:NOP-Archive\"),tag(\"compass-id:NOP-Provisioning\"),tag(\"compass-id:NOP-Trigger\"),tag(\"compass-id:SCM\"),tag(\"compass-id:SCMA\"),tag(\"compass-id:VPS-Admin\"),tag(\"compass-id:VPS-Archive\"),tag(\"compass-id:VPS-Monitor\"),tag(\"compass-id:VPS-Prov\"),tag(\"compass-id:VPS-Trigger\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:FRE\"),tag(\"compass-id:FRS\"),tag(\"compass-id:MPG\"),tag(\"compass-id:QMC\"),tag(\"compass-id:RCM\"),tag(\"compass-id:RCP\"),tag(\"compass-id:RCS\"),tag(\"compass-id:RDC\"),tag(\"compass-id:RDH\"),tag(\"compass-id:RES\"),tag(\"compass-id:RLM\"),tag(\"compass-id:RMO\"),tag(\"compass-id:RNB App\"),tag(\"compass-id:RNP\"),tag(\"compass-id:RPP\"),tag(\"compass-id:RSA Admin GUI\"),tag(\"compass-id:RSA Testbench GUI\"),tag(\"compass-id:RTE\"),tag(\"compass-id:RTS\"),tag(\"compass-id:RVC\"),tag(\"compass-id:RVE\"),tag(\"compass-id:RVI\"),tag(\"compass-id:RVS\"),tag(\"compass-id:RVT\"),tag(\"compass-id:rwd\"),tag(\"compass-id:tdp\"),tag(\"compass-id:uvm\"),tag(\"compass-id:vjm\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:ZAS\"),tag(\"compass-id:ZDI\"),tag(\"compass-id:ZFUS-MP-GENERATOR\"),tag(\"compass-id:ZIP\"),tag(\"compass-id:zis\"),tag(\"compass-id:ZMP\"),tag(\"compass-id:ZOS\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:SFA-FRE\"),tag(\"compass-id:SFA-OH\"),tag(\"compass-id:SFA-OTA\"),tag(\"compass-id:SFA-S\"),tag(\"compass-id:SFA-TS\")" + } +} diff --git a/output/20220126-160617_TERRAFORM/management_zones/PD_Teleservices.-798726037387421337..management_zone.tf b/output/20220126-160617_TERRAFORM/management_zones/PD_Teleservices.-798726037387421337..management_zone.tf new file mode 100644 index 0000000..0046062 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/management_zones/PD_Teleservices.-798726037387421337..management_zone.tf @@ -0,0 +1,15 @@ +resource "dynatrace_management_zone" "PD_Teleservices" { + name = "PD_Teleservices" + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:RSURService\"),tag(\"compass-id:SCallService\"),tag(\"compass-id:SEAM\"),tag(\"compass-id:ts-asc\"),tag(\"compass-id:TSBGService\"),tag(\"compass-id:TSBM\"),tag(\"compass-id:TS-CCM-DI\"),tag(\"compass-id:TSCS\"),tag(\"compass-id:TSDD\"),tag(\"compass-id:TSMR\"),tag(\"compass-id:TS-PFFS\"),tag(\"compass-id:TSSB-BT\"),tag(\"compass-id:TSSB-BTI\"),tag(\"compass-id:TSSB-TSP\"),tag(\"compass-id:TS-SDI\"),tag(\"compass-id:ts-tyredi\"),tag(\"compass-id:ts-tyrewf\"),tag(\"compass-id:TTBS\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:BCallService\"),tag(\"compass-id:CAS-SPM\"),tag(\"compass-id:CAS-STM\"),tag(\"compass-id:DiagService\"),tag(\"compass-id:ESHAD\"),tag(\"compass-id:patchcampaign\"),tag(\"compass-id:RTCAD\"),tag(\"compass-id:RTCHandler\"),tag(\"compass-id:RTCService\"),tag(\"compass-id:ts-bcallhandler\"),tag(\"compass-id:ts-cts-ui\"),tag(\"compass-id:ts-pat-ui\"),tag(\"compass-id:TSRD\"),tag(\"compass-id:ts-rtc-ui\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:PDMManager\"),tag(\"compass-id:PDMUpdater\"),tag(\"compass-id:ts-ena-ui\"),tag(\"compass-id:WLManager\"),tag(\"compass-id:WLUpdater\")" + } +} diff --git a/output/20220126-160617_TERRAFORM/management_zones/PD_VehicleDataCollection.-6383352956960521057..management_zone.tf b/output/20220126-160617_TERRAFORM/management_zones/PD_VehicleDataCollection.-6383352956960521057..management_zone.tf new file mode 100644 index 0000000..a65f82d --- /dev/null +++ b/output/20220126-160617_TERRAFORM/management_zones/PD_VehicleDataCollection.-6383352956960521057..management_zone.tf @@ -0,0 +1,23 @@ +resource "dynatrace_management_zone" "PD_VehicleDataCollection" { + name = "PD_VehicleDataCollection" + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:CMCS\"),tag(\"compass-id:ERDCDC2FCD\"),tag(\"compass-id:ERDDISP\"),tag(\"compass-id:ERDFCDUDS\"),tag(\"compass-id:ERDMGR\"),tag(\"compass-id:ERDPROC\"),tag(\"compass-id:ERDXFCDFCD\"),tag(\"compass-id:XFCD Cockpit\"),tag(\"compass-id:XFCD Configuration\"),tag(\"compass-id:XFCDAnonymizer\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:TOL\"),tag(\"compass-id:TOL MGU\"),tag(\"compass-id:TOL-TSSB\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:IDS-SVDS\"),tag(\"compass-id:IDS-Sync\"),tag(\"compass-id:IDS-WS\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:SRManager\"),tag(\"compass-id:TSMB\"),tag(\"compass-id:TSR-CH\"),tag(\"compass-id:TSR-CMA\"),tag(\"compass-id:TSR-DD\"),tag(\"compass-id:TSR-ICC\"),tag(\"compass-id:TSR-VU\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:CCG\"),tag(\"compass-id:CSI\"),tag(\"compass-id:CSU\"),tag(\"compass-id:LSCFSU\"),tag(\"compass-id:LSCHR\"),tag(\"compass-id:LSCJHWO\"),tag(\"compass-id:LSCJR\"),tag(\"compass-id:LSCKC\"),tag(\"compass-id:LSCMM\"),tag(\"compass-id:LSCOC\"),tag(\"compass-id:LSCOG\"),tag(\"compass-id:LSCWO\"),tag(\"compass-id:tripCollection\"),tag(\"compass-id:vdc-vcs\"),tag(\"compass-id:VHCJR\"),tag(\"compass-id:VHS\"),tag(\"compass-id:VJDS\"),tag(\"compass-id:VNS\"),tag(\"compass-id:VS-API\"),tag(\"compass-id:VSFO\"),tag(\"compass-id:VSST\")" + } +} diff --git a/output/20220126-160617_TERRAFORM/management_zones/PD_VehicleDataConnectivity.-867578188104332342..management_zone.tf b/output/20220126-160617_TERRAFORM/management_zones/PD_VehicleDataConnectivity.-867578188104332342..management_zone.tf new file mode 100644 index 0000000..83e9163 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/management_zones/PD_VehicleDataConnectivity.-867578188104332342..management_zone.tf @@ -0,0 +1,15 @@ +resource "dynatrace_management_zone" "PD_VehicleDataConnectivity" { + name = "PD_VehicleDataConnectivity" + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:B2V-ADC\"),tag(\"compass-id:B2V-ADC-CLOUD\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:B2V-COM-BE\"),tag(\"compass-id:B2V-COM-ECHO\"),tag(\"compass-id:B2V-COM-FE\"),tag(\"compass-id:B2VCOMGCDMCLIENT\"),tag(\"compass-id:B2V-NOTS\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:JoynrDS\"),tag(\"compass-id:UDS\"),tag(\"compass-id:UDS Storage Service\")" + } +} diff --git a/output/20220126-160617_TERRAFORM/management_zones/Sockshop dev.2491356468046254094..management_zone.tf b/output/20220126-160617_TERRAFORM/management_zones/Sockshop dev.2491356468046254094..management_zone.tf new file mode 100644 index 0000000..4443e3f --- /dev/null +++ b/output/20220126-160617_TERRAFORM/management_zones/Sockshop dev.2491356468046254094..management_zone.tf @@ -0,0 +1,34 @@ +resource "dynatrace_management_zone" "Sockshop_dev" { + name = "Sockshop dev" + rules { + type = "SERVICE" + enabled = true + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "ENVIRONMENT" + key = "product" + value = "sockshop" + } + } + } + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + # negate = false + operator = "EQUALS" + value = "dev" + } + } + } +} diff --git a/output/20220126-160617_TERRAFORM/naming/services/Go - WebRequestServices.d88925de-f9a0-483f-8a85-c1c898b59fab..service_naming.tf b/output/20220126-160617_TERRAFORM/naming/services/Go - WebRequestServices.d88925de-f9a0-483f-8a85-c1c898b59fab..service_naming.tf new file mode 100644 index 0000000..2b8f535 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/naming/services/Go - WebRequestServices.d88925de-f9a0-483f-8a85-c1c898b59fab..service_naming.tf @@ -0,0 +1,43 @@ +resource "dynatrace_service_naming" "Go_-_WebRequestServices" { + name = "Go - WebRequestServices" + enabled = true + format = "{ProcessGroup:DetectedName}" + conditions { + condition { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "WEB_REQUEST_SERVICE" + } + } + condition { + key { + type = "STATIC" + attribute = "SERVICE_TECHNOLOGY" + } + tech { + # negate = false + operator = "EQUALS" + value { + type = "GO" + } + } + } + condition { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_DETECTED_NAME" + } + string { + # case_sensitive = false + negate = true + operator = "CONTAINS" + value = "dynatrace" + } + } + } +} diff --git a/output/20220126-160617_TERRAFORM/request_attributes/GCID.96d6315a-6fe0-43e1-8769-215d4334f19b..request_attribute.tf b/output/20220126-160617_TERRAFORM/request_attributes/GCID.96d6315a-6fe0-43e1-8769-215d4334f19b..request_attribute.tf new file mode 100644 index 0000000..fee8b46 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/request_attributes/GCID.96d6315a-6fe0-43e1-8769-215d4334f19b..request_attribute.tf @@ -0,0 +1,107 @@ +resource "dynatrace_request_attribute" "GCID" { + name = "GCID" + enabled = true + aggregation = "FIRST" + confidential = true + data_type = "STRING" + normalization = "ORIGINAL" + # skip_personal_data_masking = false + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "(\\w{8}-\\w{4}-\\w{4}-\\w{4}-\\w{12})" + extract_substring { + delimiter = "/gcid/" + position = "AFTER" + } + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "(\\w{8}-\\w{4}-\\w{4}-\\w{4}-\\w{12})" + extract_substring { + delimiter = "/customer/" + position = "AFTER" + } + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "(\\w{8}-\\w{4}-\\w{4}-\\w{4}-\\w{12})" + extract_substring { + delimiter = "/motorist/" + position = "BEFORE" + } + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "(\\w{8}-\\w{4}-\\w{4}-\\w{4}-\\w{12})" + extract_substring { + delimiter = "/motorists/" + position = "BEFORE" + } + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "(\\w{8}-\\w{4}-\\w{4}-\\w{4}-\\w{12})" + extract_substring { + delimiter = "/user/" + position = "AFTER" + } + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "(\\w{8}-\\w{4}-\\w{4}-\\w{4}-\\w{12})" + extract_substring { + delimiter = "/users/" + position = "AFTER" + } + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "(\\w{8}-\\w{4}-\\w{4}-\\w{4}-\\w{12})" + extract_substring { + delimiter = "/driver/" + position = "AFTER" + } + } + } +} diff --git a/output/20220126-160617_TERRAFORM/request_attributes/KeyID.bcdb0e0d-0d43-40d1-b432-89724d8d4766..request_attribute.tf b/output/20220126-160617_TERRAFORM/request_attributes/KeyID.bcdb0e0d-0d43-40d1-b432-89724d8d4766..request_attribute.tf new file mode 100644 index 0000000..1f8f2e7 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/request_attributes/KeyID.bcdb0e0d-0d43-40d1-b432-89724d8d4766..request_attribute.tf @@ -0,0 +1,26 @@ +resource "dynatrace_request_attribute" "KeyID" { + name = "KeyID" + enabled = true + aggregation = "FIRST" + # confidential = false + data_type = "STRING" + normalization = "ORIGINAL" + # skip_personal_data_masking = false + data_sources { + enabled = true + source = "METHOD_PARAM" + technology = "JAVA" + methods { + argument_index = 1 + capture = "ARGUMENT" + deep_object_access = ".getKeyID()" + method { + argument_types = ["com.bmw.cc.smc2.dkey.api.track.v2.entity.TrackKeyRequest"] + class_name = "com.bmw.cc.smc2.dkey.api.track.v2.boundary.TrackApiResource" + method_name = "trackKey" + return_type = "javax.ws.rs.core.Response" + visibility = "PUBLIC" + } + } + } +} diff --git a/output/20220126-160617_TERRAFORM/request_attributes/RsCountryCodeIso.b53f219b-dbb2-4c11-965c-ecad6723a14b..request_attribute.tf b/output/20220126-160617_TERRAFORM/request_attributes/RsCountryCodeIso.b53f219b-dbb2-4c11-965c-ecad6723a14b..request_attribute.tf new file mode 100644 index 0000000..bc6e09e --- /dev/null +++ b/output/20220126-160617_TERRAFORM/request_attributes/RsCountryCodeIso.b53f219b-dbb2-4c11-965c-ecad6723a14b..request_attribute.tf @@ -0,0 +1,49 @@ +resource "dynatrace_request_attribute" "RsCountryCodeIso" { + name = "RsCountryCodeIso" + enabled = true + aggregation = "LAST" + confidential = true + data_type = "STRING" + normalization = "ORIGINAL" + # skip_personal_data_masking = false + data_sources { + enabled = true + source = "METHOD_PARAM" + technology = "JAVA" + methods { + argument_index = 1 + capture = "ARGUMENT" + deep_object_access = ".getVehicleInformation().getCountryCodeISO()" + method { + argument_types = ["com.bmw.cc.rs360.entity.Event","com.bmw.cc.rs360.entity.EventStateEnum"] + class_name = "com.bmw.cc.rs360.controller.EventController" + method_name = "updateEventState" + return_type = "void" + visibility = "PUBLIC" + } + } + scope { + tag_of_process_group = "Component:Remote 360" + } + } + data_sources { + enabled = true + source = "METHOD_PARAM" + technology = "JAVA" + methods { + argument_index = 1 + capture = "ARGUMENT" + deep_object_access = ".getVehicleInformation().getCountryCodeISO()" + method { + argument_types = ["com.bmw.cc.rs.entity.Event","com.bmw.cc.rs.entity.EventStateEnum"] + class_name = "com.bmw.cc.rs.entity.EventController" + method_name = "updateEventState" + return_type = "void" + visibility = "PUBLIC" + } + } + scope { + tag_of_process_group = "Component:RemoteServices" + } + } +} diff --git a/output/20220126-160617_TERRAFORM/request_attributes/RsEventId.9b789b34-76ae-45ed-8f06-7298a9c2b2da..request_attribute.tf b/output/20220126-160617_TERRAFORM/request_attributes/RsEventId.9b789b34-76ae-45ed-8f06-7298a9c2b2da..request_attribute.tf new file mode 100644 index 0000000..6cef5e0 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/request_attributes/RsEventId.9b789b34-76ae-45ed-8f06-7298a9c2b2da..request_attribute.tf @@ -0,0 +1,49 @@ +resource "dynatrace_request_attribute" "RsEventId" { + name = "RsEventId" + enabled = true + aggregation = "FIRST" + # confidential = false + data_type = "STRING" + normalization = "ORIGINAL" + # skip_personal_data_masking = false + data_sources { + enabled = true + source = "METHOD_PARAM" + technology = "JAVA" + methods { + argument_index = 1 + capture = "ARGUMENT" + deep_object_access = ".getEventId()" + method { + argument_types = ["com.bmw.cc.rs360.entity.Event","com.bmw.cc.rs360.entity.EventStateEnum"] + class_name = "com.bmw.cc.rs360.controller.EventController" + method_name = "updateEventState" + return_type = "void" + visibility = "PUBLIC" + } + } + scope { + tag_of_process_group = "Component:Remote 360" + } + } + data_sources { + enabled = true + source = "METHOD_PARAM" + technology = "JAVA" + methods { + argument_index = 1 + capture = "ARGUMENT" + deep_object_access = ".getEventId()" + method { + argument_types = ["com.bmw.cc.rs.entity.Event","com.bmw.cc.rs.entity.EventStateEnum"] + class_name = "com.bmw.cc.rs.entity.EventController" + method_name = "updateEventState" + return_type = "void" + visibility = "PUBLIC" + } + } + scope { + tag_of_process_group = "Component:RemoteServices" + } + } +} diff --git a/output/20220126-160617_TERRAFORM/request_attributes/RsEventStatus.7ef56976-a849-45c3-872f-9c5718dd2f9d..request_attribute.tf b/output/20220126-160617_TERRAFORM/request_attributes/RsEventStatus.7ef56976-a849-45c3-872f-9c5718dd2f9d..request_attribute.tf new file mode 100644 index 0000000..2e9cf72 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/request_attributes/RsEventStatus.7ef56976-a849-45c3-872f-9c5718dd2f9d..request_attribute.tf @@ -0,0 +1,49 @@ +resource "dynatrace_request_attribute" "RsEventStatus" { + name = "RsEventStatus" + enabled = true + aggregation = "LAST" + # confidential = false + data_type = "STRING" + normalization = "ORIGINAL" + # skip_personal_data_masking = false + data_sources { + enabled = true + source = "METHOD_PARAM" + technology = "JAVA" + methods { + argument_index = 2 + capture = "ARGUMENT" + deep_object_access = ".toString()" + method { + argument_types = ["com.bmw.cc.rs360.entity.Event","com.bmw.cc.rs360.entity.EventStateEnum"] + class_name = "com.bmw.cc.rs360.controller.EventController" + method_name = "updateEventState" + return_type = "void" + visibility = "PUBLIC" + } + } + scope { + tag_of_process_group = "Component:Remote 360" + } + } + data_sources { + enabled = true + source = "METHOD_PARAM" + technology = "JAVA" + methods { + argument_index = 2 + capture = "ARGUMENT" + deep_object_access = ".toString()" + method { + argument_types = ["com.bmw.cc.rs.entity.Event","com.bmw.cc.rs.entity.EventStateEnum"] + class_name = "com.bmw.cc.rs.entity.EventController" + method_name = "updateEventState" + return_type = "void" + visibility = "PUBLIC" + } + } + scope { + tag_of_process_group = "Component:RemoteServices" + } + } +} diff --git a/output/20220126-160617_TERRAFORM/request_attributes/RsType.e33a8d57-1c72-4d3f-84bf-ee12429d19db..request_attribute.tf b/output/20220126-160617_TERRAFORM/request_attributes/RsType.e33a8d57-1c72-4d3f-84bf-ee12429d19db..request_attribute.tf new file mode 100644 index 0000000..21b1487 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/request_attributes/RsType.e33a8d57-1c72-4d3f-84bf-ee12429d19db..request_attribute.tf @@ -0,0 +1,69 @@ +resource "dynatrace_request_attribute" "RsType" { + name = "RsType" + enabled = true + aggregation = "FIRST" + # confidential = false + data_type = "STRING" + normalization = "ORIGINAL" + # skip_personal_data_masking = false + data_sources { + enabled = true + source = "METHOD_PARAM" + technology = "JAVA" + methods { + argument_index = 1 + capture = "ARGUMENT" + deep_object_access = ".getRsType().name()" + method { + argument_types = ["com.bmw.cc.rs360.entity.Event","com.bmw.cc.rs360.entity.EventStateEnum"] + class_name = "com.bmw.cc.rs360.controller.EventController" + method_name = "updateEventState" + return_type = "void" + visibility = "PUBLIC" + } + } + scope { + tag_of_process_group = "Component:Remote 360" + } + } + data_sources { + enabled = true + source = "METHOD_PARAM" + technology = "JAVA" + methods { + argument_index = 1 + capture = "ARGUMENT" + deep_object_access = ".getRsType().name()" + method { + argument_types = ["com.bmw.cc.rs.entity.Event","com.bmw.cc.rs.entity.EventStateEnum"] + class_name = "com.bmw.cc.rs.entity.EventController" + method_name = "updateEventState" + return_type = "void" + visibility = "PUBLIC" + } + } + scope { + tag_of_process_group = "Component:RemoteServices" + } + } + data_sources { + enabled = true + source = "METHOD_PARAM" + technology = "JAVA" + methods { + argument_index = 2 + capture = "ARGUMENT" + deep_object_access = ".name()" + method { + argument_types = ["java.lang.String","com.bmw.cc.rscockpit.bm.admin.entity.RemoteServiceType"] + class_name = "com.bmw.cc.rscockpit.bm.admin.AdminTokenBA" + method_name = "generateAdminToken" + return_type = "java.lang.String" + visibility = "PUBLIC" + } + } + scope { + tag_of_process_group = "Component:RS Cockpit" + } + } +} diff --git a/output/20220126-160617_TERRAFORM/request_attributes/RsVehicleType.5d0f471b-adf6-47b8-b839-ac8c22f2cdeb..request_attribute.tf b/output/20220126-160617_TERRAFORM/request_attributes/RsVehicleType.5d0f471b-adf6-47b8-b839-ac8c22f2cdeb..request_attribute.tf new file mode 100644 index 0000000..49c145c --- /dev/null +++ b/output/20220126-160617_TERRAFORM/request_attributes/RsVehicleType.5d0f471b-adf6-47b8-b839-ac8c22f2cdeb..request_attribute.tf @@ -0,0 +1,49 @@ +resource "dynatrace_request_attribute" "RsVehicleType" { + name = "RsVehicleType" + enabled = true + aggregation = "LAST" + # confidential = false + data_type = "STRING" + normalization = "ORIGINAL" + # skip_personal_data_masking = false + data_sources { + enabled = true + source = "METHOD_PARAM" + technology = "JAVA" + methods { + argument_index = 1 + capture = "ARGUMENT" + deep_object_access = "determineVehicleTypeIfAvailable().name()" + method { + argument_types = ["com.bmw.cc.rs.entity.Event","com.bmw.cc.rs.entity.EventStateEnum"] + class_name = "com.bmw.cc.rs.entity.EventController" + method_name = "updateEventState" + return_type = "void" + visibility = "PUBLIC" + } + } + scope { + tag_of_process_group = "Component:RemoteServices" + } + } + data_sources { + enabled = true + source = "METHOD_PARAM" + technology = "JAVA" + methods { + argument_index = 1 + capture = "ARGUMENT" + deep_object_access = "determineVehicleTypeIfAvailable().name()" + method { + argument_types = ["com.bmw.cc.rs360.entity.Event","com.bmw.cc.rs360.entity.EventStateEnum"] + class_name = "com.bmw.cc.rs360.controller.EventController" + method_name = "updateEventState" + return_type = "void" + visibility = "PUBLIC" + } + } + scope { + tag_of_process_group = "Component:Remote 360" + } + } +} diff --git a/output/20220126-160617_TERRAFORM/request_attributes/Traceparent HTTP header field.17da955f-3566-4361-b399-d7d5dad20f3d..request_attribute.tf b/output/20220126-160617_TERRAFORM/request_attributes/Traceparent HTTP header field.17da955f-3566-4361-b399-d7d5dad20f3d..request_attribute.tf new file mode 100644 index 0000000..568d02f --- /dev/null +++ b/output/20220126-160617_TERRAFORM/request_attributes/Traceparent HTTP header field.17da955f-3566-4361-b399-d7d5dad20f3d..request_attribute.tf @@ -0,0 +1,15 @@ +resource "dynatrace_request_attribute" "Traceparent_HTTP_header_field" { + name = "Traceparent HTTP header field" + enabled = true + aggregation = "FIRST" + # confidential = false + data_type = "STRING" + normalization = "ORIGINAL" + # skip_personal_data_masking = false + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + parameter_name = "traceparent" + source = "REQUEST_HEADER" + } +} diff --git a/output/20220126-160617_TERRAFORM/request_attributes/VIN.5f4f8d0d-56dd-4360-b0bf-846542d65459..request_attribute.tf b/output/20220126-160617_TERRAFORM/request_attributes/VIN.5f4f8d0d-56dd-4360-b0bf-846542d65459..request_attribute.tf new file mode 100644 index 0000000..33de2c2 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/request_attributes/VIN.5f4f8d0d-56dd-4360-b0bf-846542d65459..request_attribute.tf @@ -0,0 +1,238 @@ +resource "dynatrace_request_attribute" "VIN" { + name = "VIN" + enabled = true + aggregation = "FIRST" + confidential = true + data_type = "STRING" + normalization = "ORIGINAL" + # skip_personal_data_masking = false + data_sources { + enabled = true + source = "METHOD_PARAM" + technology = "JAVA" + methods { + argument_index = 1 + capture = "ARGUMENT" + deep_object_access = ".getVin()" + method { + argument_types = ["com.bmw.cc.rs360.entity.Event","com.bmw.cc.rs360.entity.EventStateEnum"] + class_name = "com.bmw.cc.rs360.controller.EventController" + method_name = "updateEventState" + return_type = "void" + visibility = "PUBLIC" + } + } + scope { + tag_of_process_group = "Component:Remote 360" + } + } + data_sources { + enabled = true + source = "METHOD_PARAM" + technology = "JAVA" + methods { + argument_index = 1 + capture = "ARGUMENT" + deep_object_access = ".getVin()" + method { + argument_types = ["com.bmw.cc.rs.entity.Event","com.bmw.cc.rs.entity.EventStateEnum"] + class_name = "com.bmw.cc.rs.entity.EventController" + method_name = "updateEventState" + return_type = "void" + visibility = "PUBLIC" + } + } + scope { + tag_of_process_group = "Component:RemoteServices" + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + scope { + tag_of_process_group = "Component:agent-service" + } + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "([a-zA-Z0-9]{17})" + extract_substring { + delimiter = "/agents/" + end_delimiter = "-" + position = "BETWEEN" + } + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + scope { + tag_of_process_group = "Component:App Repository" + } + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "([a-zA-Z0-9]{17})" + extract_substring { + delimiter = "/npm/registry/provisionedAppNames/" + position = "AFTER" + } + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "([a-zA-Z0-9]{17})" + extract_substring { + delimiter = "/vin/" + position = "AFTER" + } + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "([a-zA-Z0-9]{17})" + extract_substring { + delimiter = "/car/" + position = "AFTER" + } + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "([a-zA-Z0-9]{17})" + extract_substring { + delimiter = "/cars/" + position = "AFTER" + } + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "([a-zA-Z0-9]{17})" + extract_substring { + delimiter = "/vehicle/" + position = "AFTER" + } + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "([a-zA-Z0-9]{17})" + extract_substring { + delimiter = "/vehicles/" + position = "AFTER" + } + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "([a-zA-Z0-9]{17})" + extract_substring { + delimiter = "/v1/" + position = "AFTER" + } + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "([a-zA-Z0-9]{17})" + extract_substring { + delimiter = "/v2/" + position = "AFTER" + } + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "([a-zA-Z0-9]{17})" + extract_substring { + delimiter = "/v3/" + position = "AFTER" + } + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "([a-zA-Z0-9]{17})" + extract_substring { + delimiter = "/v4/" + position = "AFTER" + } + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "([a-zA-Z0-9]{17})" + extract_substring { + delimiter = "/v5/" + position = "AFTER" + } + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "([a-zA-Z0-9]{17})" + extract_substring { + delimiter = "/v6/" + position = "AFTER" + } + } + } +} diff --git a/output/20220126-160617_TERRAFORM/request_attributes/getKeyID.7839df53-137f-4d8e-9f9b-41907b241c92..request_attribute.tf b/output/20220126-160617_TERRAFORM/request_attributes/getKeyID.7839df53-137f-4d8e-9f9b-41907b241c92..request_attribute.tf new file mode 100644 index 0000000..55659ea --- /dev/null +++ b/output/20220126-160617_TERRAFORM/request_attributes/getKeyID.7839df53-137f-4d8e-9f9b-41907b241c92..request_attribute.tf @@ -0,0 +1,24 @@ +resource "dynatrace_request_attribute" "getKeyID" { + name = "getKeyID" + enabled = true + aggregation = "FIRST" + # confidential = false + data_type = "STRING" + normalization = "ORIGINAL" + # skip_personal_data_masking = false + data_sources { + enabled = true + source = "METHOD_PARAM" + technology = "JAVA" + methods { + argument_index = 0 + capture = "ARGUMENT" + method { + class_name = "com.bmw.cc.smc2.dkey.api.track.v2.entity.TrackKeyRequest" + method_name = "getKeyID" + return_type = "java.lang.String" + visibility = "PUBLIC" + } + } + } +} diff --git a/output/20220126-160617_TERRAFORM/request_attributes/keyType.4220dc4a-2501-4bc9-9321-6ebd7f453f33..request_attribute.tf b/output/20220126-160617_TERRAFORM/request_attributes/keyType.4220dc4a-2501-4bc9-9321-6ebd7f453f33..request_attribute.tf new file mode 100644 index 0000000..dfce8ca --- /dev/null +++ b/output/20220126-160617_TERRAFORM/request_attributes/keyType.4220dc4a-2501-4bc9-9321-6ebd7f453f33..request_attribute.tf @@ -0,0 +1,26 @@ +resource "dynatrace_request_attribute" "keyType" { + name = "keyType" + enabled = true + aggregation = "FIRST" + # confidential = false + data_type = "STRING" + normalization = "ORIGINAL" + # skip_personal_data_masking = false + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_BOTH" + source = "URI" + scope { + tag_of_process_group = "Component:ASBC-SMACC" + } + value_processing { + # split_at = "" + # trim = false + extract_substring { + delimiter = "track/" + end_delimiter = "/decryptVerifyAndGenerate" + position = "BETWEEN" + } + } + } +} diff --git a/output/20220126-160617_TERRAFORM/span/entry_points/Suppress client spans.span_entry_point.tf b/output/20220126-160617_TERRAFORM/span/entry_points/Suppress client spans.span_entry_point.tf new file mode 100644 index 0000000..0a63952 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/span/entry_points/Suppress client spans.span_entry_point.tf @@ -0,0 +1,11 @@ +resource "dynatrace_span_entry_point" "Suppress_client_spans" { + name = "Suppress client spans" + action = "DONT_CREATE_ENTRYPOINT" + matches { + match { + comparison = "EQUALS" + source = "SPAN_KIND" + value = "CLIENT" + } + } +} diff --git a/output/20220126-160617_TERRAFORM/span/entry_points/Suppress internal spans.span_entry_point.tf b/output/20220126-160617_TERRAFORM/span/entry_points/Suppress internal spans.span_entry_point.tf new file mode 100644 index 0000000..25ef71a --- /dev/null +++ b/output/20220126-160617_TERRAFORM/span/entry_points/Suppress internal spans.span_entry_point.tf @@ -0,0 +1,11 @@ +resource "dynatrace_span_entry_point" "Suppress_internal_spans" { + name = "Suppress internal spans" + action = "DONT_CREATE_ENTRYPOINT" + matches { + match { + comparison = "EQUALS" + source = "SPAN_KIND" + value = "INTERNAL" + } + } +} diff --git a/output/20220126-160617_TERRAFORM/span/entry_points/Suppress producer spans.span_entry_point.tf b/output/20220126-160617_TERRAFORM/span/entry_points/Suppress producer spans.span_entry_point.tf new file mode 100644 index 0000000..bfc3b55 --- /dev/null +++ b/output/20220126-160617_TERRAFORM/span/entry_points/Suppress producer spans.span_entry_point.tf @@ -0,0 +1,11 @@ +resource "dynatrace_span_entry_point" "Suppress_producer_spans" { + name = "Suppress producer spans" + action = "DONT_CREATE_ENTRYPOINT" + matches { + match { + comparison = "EQUALS" + source = "SPAN_KIND" + value = "PRODUCER" + } + } +} diff --git a/output/20220126-160617_TERRAFORM/span/resource_attributes/resource_attributes.tf b/output/20220126-160617_TERRAFORM/span/resource_attributes/resource_attributes.tf new file mode 100644 index 0000000..a73755f --- /dev/null +++ b/output/20220126-160617_TERRAFORM/span/resource_attributes/resource_attributes.tf @@ -0,0 +1,3 @@ +resource "dynatrace_resource_attributes" "resource_attributes" { + enabled = ["service.name","dt.entity.process_group_instance","dt.entity.host"] +} diff --git a/output/20220126-160653_TERRAFORM/alerting_profiles/Default.c21f969b-5f03-333d-83e0-4f8f136e7682..alerting_profile.tf b/output/20220126-160653_TERRAFORM/alerting_profiles/Default.c21f969b-5f03-333d-83e0-4f8f136e7682..alerting_profile.tf new file mode 100644 index 0000000..ed3047f --- /dev/null +++ b/output/20220126-160653_TERRAFORM/alerting_profiles/Default.c21f969b-5f03-333d-83e0-4f8f136e7682..alerting_profile.tf @@ -0,0 +1,45 @@ +resource "dynatrace_alerting_profile" "Default" { + display_name = "Default" + rules { + delay_in_minutes = 0 + severity_level = "AVAILABILITY" + tag_filter { + include_mode = "NONE" + } + } + rules { + delay_in_minutes = 0 + severity_level = "CUSTOM_ALERT" + tag_filter { + include_mode = "NONE" + } + } + rules { + delay_in_minutes = 0 + severity_level = "ERROR" + tag_filter { + include_mode = "NONE" + } + } + rules { + delay_in_minutes = 0 + severity_level = "MONITORING_UNAVAILABLE" + tag_filter { + include_mode = "NONE" + } + } + rules { + delay_in_minutes = 30 + severity_level = "PERFORMANCE" + tag_filter { + include_mode = "NONE" + } + } + rules { + delay_in_minutes = 30 + severity_level = "RESOURCE_CONTENTION" + tag_filter { + include_mode = "NONE" + } + } +} diff --git a/output/20220126-160653_TERRAFORM/alerting_profiles/TestMySQL.eb090ec3-58e3-359d-9acc-ff19e246c9fc..alerting_profile.tf b/output/20220126-160653_TERRAFORM/alerting_profiles/TestMySQL.eb090ec3-58e3-359d-9acc-ff19e246c9fc..alerting_profile.tf new file mode 100644 index 0000000..0cb4cae --- /dev/null +++ b/output/20220126-160653_TERRAFORM/alerting_profiles/TestMySQL.eb090ec3-58e3-359d-9acc-ff19e246c9fc..alerting_profile.tf @@ -0,0 +1,15 @@ +resource "dynatrace_alerting_profile" "TestMySQL" { + display_name = "TestMySQL" + rules { + delay_in_minutes = 0 + severity_level = "AVAILABILITY" + tag_filter { + include_mode = "INCLUDE_ALL" + tag_filters { + context = "CONTEXTLESS" + key = "Test-MySQL" + value = "catalogue" + } + } + } +} diff --git a/output/20220126-160653_TERRAFORM/anomalies/custom/High GC time.custom_anomalies.tf b/output/20220126-160653_TERRAFORM/anomalies/custom/High GC time.custom_anomalies.tf new file mode 100644 index 0000000..5789c0f --- /dev/null +++ b/output/20220126-160653_TERRAFORM/anomalies/custom/High GC time.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "High_GC_time" { + name = "High GC time" + description = "The .NET GC time of {severity} is {alert_condition} the threshold of {threshold}" + enabled = false + aggregation_type = "AVG" + metric_id = "builtin:tech.dotnet.perfmon.%TimeInGC" + severity = "PERFORMANCE" + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 5 + threshold = 0 + unit = "PERCENT" + violating_samples = 3 + } + } +} diff --git a/output/20220126-160653_TERRAFORM/anomalies/custom/High HAProxy frontend session usage.custom_anomalies.tf b/output/20220126-160653_TERRAFORM/anomalies/custom/High HAProxy frontend session usage.custom_anomalies.tf new file mode 100644 index 0000000..a4e40a8 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/anomalies/custom/High HAProxy frontend session usage.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "High_HAProxy_frontend_session_usage" { + name = "High HAProxy frontend session usage" + description = "The frontend session usage is {alert_condition} the threshold of {threshold}" + enabled = true + aggregation_type = "AVG" + metric_id = "builtin:tech.haproxy.fe_susage" + severity = "PERFORMANCE" + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 5 + threshold = 80 + unit = "PERCENT" + violating_samples = 3 + } + } +} diff --git a/output/20220126-160653_TERRAFORM/anomalies/custom/High HAProxy requests queue.custom_anomalies.tf b/output/20220126-160653_TERRAFORM/anomalies/custom/High HAProxy requests queue.custom_anomalies.tf new file mode 100644 index 0000000..7b21443 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/anomalies/custom/High HAProxy requests queue.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "High_HAProxy_requests_queue" { + name = "High HAProxy requests queue" + description = "The ammount of queued requests is {alert_condition} the threshold of {threshold}" + enabled = false + aggregation_type = "AVG" + metric_id = "builtin:tech.haproxy.be_qcur" + severity = "PERFORMANCE" + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 5 + threshold = 0 + unit = "PER_MINUTE" + violating_samples = 3 + } + } +} diff --git a/output/20220126-160653_TERRAFORM/anomalies/custom/High RabbitMQ file descriptors usage.custom_anomalies.tf b/output/20220126-160653_TERRAFORM/anomalies/custom/High RabbitMQ file descriptors usage.custom_anomalies.tf new file mode 100644 index 0000000..f649b91 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/anomalies/custom/High RabbitMQ file descriptors usage.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "High_RabbitMQ_file_descriptors_usage" { + name = "High RabbitMQ file descriptors usage" + description = "The RabbitMQ file descriptors usage of {severity} is {alert_condition} the threshold of {threshold}" + enabled = true + aggregation_type = "AVG" + metric_id = "builtin:tech.rabbitmq.fd_usage" + severity = "PERFORMANCE" + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 5 + threshold = 90 + unit = "PERCENT" + violating_samples = 3 + } + } +} diff --git a/output/20220126-160653_TERRAFORM/anomalies/custom/High RabbitMQ memory usage.custom_anomalies.tf b/output/20220126-160653_TERRAFORM/anomalies/custom/High RabbitMQ memory usage.custom_anomalies.tf new file mode 100644 index 0000000..5415a69 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/anomalies/custom/High RabbitMQ memory usage.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "High_RabbitMQ_memory_usage" { + name = "High RabbitMQ memory usage" + description = "The RabbitMQ memory usage of {severity} is {alert_condition} the threshold of {threshold}" + enabled = true + aggregation_type = "AVG" + metric_id = "builtin:tech.rabbitmq.mem_usage" + severity = "PERFORMANCE" + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 5 + threshold = 90 + unit = "PERCENT" + violating_samples = 3 + } + } +} diff --git a/output/20220126-160653_TERRAFORM/anomalies/custom/High RabbitMQ number of auto delete queues without consumers.custom_anomalies.tf b/output/20220126-160653_TERRAFORM/anomalies/custom/High RabbitMQ number of auto delete queues without consumers.custom_anomalies.tf new file mode 100644 index 0000000..c0cb43f --- /dev/null +++ b/output/20220126-160653_TERRAFORM/anomalies/custom/High RabbitMQ number of auto delete queues without consumers.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "High_RabbitMQ_number_of_auto_delete_queues_without_consumers" { + name = "High RabbitMQ number of auto delete queues without consumers" + description = "The number of auto delete queues without consumers is {alert_condition} the threshold of {threshold}" + enabled = false + aggregation_type = "AVG" + metric_id = "builtin:tech.rabbitmq.ad_queues_no_consumers" + severity = "PERFORMANCE" + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 5 + threshold = 0 + unit = "COUNT" + violating_samples = 3 + } + } +} diff --git a/output/20220126-160653_TERRAFORM/anomalies/custom/High RabbitMQ number of unacknowledged messages.custom_anomalies.tf b/output/20220126-160653_TERRAFORM/anomalies/custom/High RabbitMQ number of unacknowledged messages.custom_anomalies.tf new file mode 100644 index 0000000..6367b85 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/anomalies/custom/High RabbitMQ number of unacknowledged messages.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "High_RabbitMQ_number_of_unacknowledged_messages" { + name = "High RabbitMQ number of unacknowledged messages" + description = "The number of unacknowledged messages is {alert_condition} the threshold of {threshold}" + enabled = false + aggregation_type = "AVG" + metric_id = "builtin:tech.rabbitmq.messages_unacknowledged" + severity = "PERFORMANCE" + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 5 + threshold = 0 + unit = "COUNT" + violating_samples = 3 + } + } +} diff --git a/output/20220126-160653_TERRAFORM/anomalies/custom/High RabbitMQ sockets usage.custom_anomalies.tf b/output/20220126-160653_TERRAFORM/anomalies/custom/High RabbitMQ sockets usage.custom_anomalies.tf new file mode 100644 index 0000000..f99fae8 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/anomalies/custom/High RabbitMQ sockets usage.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "High_RabbitMQ_sockets_usage" { + name = "High RabbitMQ sockets usage" + description = "The RabbitMQ sockets usage of {severity} is {alert_condition} the threshold of {threshold}" + enabled = true + aggregation_type = "AVG" + metric_id = "builtin:tech.rabbitmq.sockets_usage" + severity = "PERFORMANCE" + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 5 + threshold = 90 + unit = "PERCENT" + violating_samples = 3 + } + } +} diff --git a/output/20220126-160653_TERRAFORM/anomalies/custom/High panic count.custom_anomalies.tf b/output/20220126-160653_TERRAFORM/anomalies/custom/High panic count.custom_anomalies.tf new file mode 100644 index 0000000..99fb20a --- /dev/null +++ b/output/20220126-160653_TERRAFORM/anomalies/custom/High panic count.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "High_panic_count" { + name = "High panic count" + description = "The {metricname} of {severity} is {alert_condition} the threshold of {threshold}" + enabled = true + aggregation_type = "AVG" + metric_id = "builtin:tech.coredns.panic_count_total" + severity = "ERROR" + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 5 + threshold = 0 + unit = "COUNT" + violating_samples = 1 + } + } +} diff --git a/output/20220126-160653_TERRAFORM/anomalies/custom/Low HAProxy idle time.custom_anomalies.tf b/output/20220126-160653_TERRAFORM/anomalies/custom/Low HAProxy idle time.custom_anomalies.tf new file mode 100644 index 0000000..9a6b3f5 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/anomalies/custom/Low HAProxy idle time.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "Low_HAProxy_idle_time" { + name = "Low HAProxy idle time" + description = "The percentage standby time is {alert_condition} the threshold of {threshold}" + enabled = true + aggregation_type = "AVG" + metric_id = "builtin:tech.haproxy.idle" + severity = "PERFORMANCE" + strategy { + static { + alert_condition = "BELOW" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 5 + threshold = 10 + unit = "PERCENT" + violating_samples = 3 + } + } +} diff --git a/output/20220126-160653_TERRAFORM/anomalies/custom/Low RabbitMQ free disk space.custom_anomalies.tf b/output/20220126-160653_TERRAFORM/anomalies/custom/Low RabbitMQ free disk space.custom_anomalies.tf new file mode 100644 index 0000000..12bbf75 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/anomalies/custom/Low RabbitMQ free disk space.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "Low_RabbitMQ_free_disk_space" { + name = "Low RabbitMQ free disk space" + description = "The RabbitMQ free disk space of {severity} is {alert_condition} the threshold of {threshold}" + enabled = true + aggregation_type = "AVG" + metric_id = "builtin:tech.rabbitmq.disk_free_left_to_limit" + severity = "PERFORMANCE" + strategy { + static { + alert_condition = "BELOW" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 5 + threshold = 50000000 + unit = "BYTE" + violating_samples = 3 + } + } +} diff --git a/output/20220126-160653_TERRAFORM/anomalies/custom/RabbitMQ Node failed.custom_anomalies.tf b/output/20220126-160653_TERRAFORM/anomalies/custom/RabbitMQ Node failed.custom_anomalies.tf new file mode 100644 index 0000000..d09b36e --- /dev/null +++ b/output/20220126-160653_TERRAFORM/anomalies/custom/RabbitMQ Node failed.custom_anomalies.tf @@ -0,0 +1,27 @@ +resource "dynatrace_custom_anomalies" "RabbitMQ_Node_failed" { + name = "RabbitMQ Node failed" + description = "Node {severity} for {violating_samples}." + enabled = true + aggregation_type = "VALUE" + metric_id = "builtin:tech.rabbitmq.node_status" + severity = "AVAILABILITY" + dimensions { + string { + filter { + operator = "EQUALS" + value = "failed" + } + } + } + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 5 + threshold = 0 + unit = "COUNT" + violating_samples = 3 + } + } +} diff --git a/output/20220126-160653_TERRAFORM/anomalies/custom/Redis Replica synchronization in progress.custom_anomalies.tf b/output/20220126-160653_TERRAFORM/anomalies/custom/Redis Replica synchronization in progress.custom_anomalies.tf new file mode 100644 index 0000000..9e83026 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/anomalies/custom/Redis Replica synchronization in progress.custom_anomalies.tf @@ -0,0 +1,18 @@ +resource "dynatrace_custom_anomalies" "Redis_Replica_synchronization_in_progress" { + name = "Redis Replica synchronization in progress" + description = "Replica is {severity} for {violating_samples}." + enabled = false + aggregation_type = "VALUE" + metric_id = "builtin:tech.redis.slave_state" + severity = "AVAILABILITY" + dimensions { + string { + filter { + operator = "EQUALS" + value = "Sync in progress" + } + } + } + strategy { + static { + alert_condition = "ABOVE" \ No newline at end of file diff --git a/output/20220126-160653_TERRAFORM/anomalies/custom/Under replicated.custom_anomalies.tf b/output/20220126-160653_TERRAFORM/anomalies/custom/Under replicated.custom_anomalies.tf new file mode 100644 index 0000000..f543c97 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/anomalies/custom/Under replicated.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "Under_replicated" { + name = "Under replicated" + description = "There are {severity} under replicated partitions" + enabled = false + aggregation_type = "AVG" + metric_id = "builtin:tech.kafka.kafka.server.ReplicaManager.UnderReplicatedPartitions.Value" + severity = "PERFORMANCE" + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 5 + threshold = 0 + unit = "COUNT" + violating_samples = 3 + } + } +} diff --git a/output/20220126-160653_TERRAFORM/anomalies/custom/WSO2 API Manager - Carbon has exteremly high system response time.custom_anomalies.tf b/output/20220126-160653_TERRAFORM/anomalies/custom/WSO2 API Manager - Carbon has exteremly high system response time.custom_anomalies.tf new file mode 100644 index 0000000..8115915 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/anomalies/custom/WSO2 API Manager - Carbon has exteremly high system response time.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "WSO2_API_Manager_-_Carbon_has_exteremly_high_system_response_time" { + name = "WSO2 API Manager - Carbon has exteremly high system response time" + description = "The {metricname} of {severity} is {alert_condition} the threshold of {threshold}" + enabled = true + aggregation_type = "MAX" + metric_id = "builtin:tech.wso2-api-manager.metric_carbon_system_response_time_avg" + severity = "PERFORMANCE" + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 10 + threshold = 60000 + unit = "MILLI_SECOND" + violating_samples = 5 + } + } +} diff --git a/output/20220126-160653_TERRAFORM/anomalies/custom/WSO2 API Manager - High http latency.custom_anomalies.tf b/output/20220126-160653_TERRAFORM/anomalies/custom/WSO2 API Manager - High http latency.custom_anomalies.tf new file mode 100644 index 0000000..ade3a7e --- /dev/null +++ b/output/20220126-160653_TERRAFORM/anomalies/custom/WSO2 API Manager - High http latency.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "WSO2_API_Manager_-_High_http_latency" { + name = "WSO2 API Manager - High http latency" + description = "The {metricname} of {severity} is {alert_condition} the threshold of {threshold}" + enabled = true + aggregation_type = "MAX" + metric_id = "builtin:tech.wso2-api-manager.metric_wso2am_http_latency_avg" + severity = "PERFORMANCE" + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 10 + threshold = 30000 + unit = "MILLI_SECOND" + violating_samples = 5 + } + } +} diff --git a/output/20220126-160653_TERRAFORM/anomalies/custom/WSO2 API Manager - High https latency.custom_anomalies.tf b/output/20220126-160653_TERRAFORM/anomalies/custom/WSO2 API Manager - High https latency.custom_anomalies.tf new file mode 100644 index 0000000..4d51123 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/anomalies/custom/WSO2 API Manager - High https latency.custom_anomalies.tf @@ -0,0 +1,19 @@ +resource "dynatrace_custom_anomalies" "WSO2_API_Manager_-_High_https_latency" { + name = "WSO2 API Manager - High https latency" + description = "The {metricname} of {severity} is {alert_condition} the threshold of {threshold}" + enabled = true + aggregation_type = "MAX" + metric_id = "builtin:tech.wso2-api-manager.metric_wso2am_https_latency_avg" + severity = "PERFORMANCE" + strategy { + static { + alert_condition = "ABOVE" + alerting_on_missing_data = false + dealerting_samples = 5 + samples = 10 + threshold = 30000 + unit = "MILLI_SECOND" + violating_samples = 5 + } + } +} diff --git a/output/20220126-160653_TERRAFORM/autotags/Cloud.5474be80-3faa-4a7a-a024-0fadb4451fb1..autotag.tf b/output/20220126-160653_TERRAFORM/autotags/Cloud.5474be80-3faa-4a7a-a024-0fadb4451fb1..autotag.tf new file mode 100644 index 0000000..c16ac42 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/autotags/Cloud.5474be80-3faa-4a7a-a024-0fadb4451fb1..autotag.tf @@ -0,0 +1,127 @@ +resource "dynatrace_autotag" "Cloud" { + name = "Cloud" + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Azure" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "Azure-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Azure" + conditions { + cloud_type { + # negate = false + operator = "EQUALS" + value = "AZURE" + } + key { + type = "STATIC" + attribute = "HOST_CLOUD_TYPE" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "AWS" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "AWS-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "AWS" + conditions { + cloud_type { + # negate = false + operator = "EQUALS" + value = "EC2" + } + key { + type = "STATIC" + attribute = "HOST_CLOUD_TYPE" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "On Premise" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "OpenShift_" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "On Premise" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "Multiproject_" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "On Premise" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "SingleApplicationServer_" + } + } + } +} diff --git a/output/20220126-160653_TERRAFORM/autotags/Component.4d002d6d-7b32-4e18-937a-7fc200ff8b23..autotag.tf b/output/20220126-160653_TERRAFORM/autotags/Component.4d002d6d-7b32-4e18-937a-7fc200ff8b23..autotag.tf new file mode 100644 index 0000000..39fe252 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/autotags/Component.4d002d6d-7b32-4e18-937a-7fc200ff8b23..autotag.tf @@ -0,0 +1,3011 @@ +resource "dynatrace_autotag" "Component" { + name = "Component" + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Infotainment" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "EQUALS" + value = "vcis-information" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Infotainment" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "EQUALS" + value = "avs" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "CDIP" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "COMMAND_LINE_ARGS" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "cdip" + } + } + } + rules { + type = "APPLICATION" + enabled = true + value_format = "CDIP" + conditions { + key { + type = "STATIC" + attribute = "WEB_APPLICATION_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "ConnectedDrive Internet Portal (CDIP)" + } + } + } + rules { + type = "APPLICATION" + enabled = true + value_format = "CDIP" + conditions { + key { + type = "STATIC" + attribute = "WEB_APPLICATION_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "Toyota Supra Connect Customer Portal" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Infotainment" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "bon-information-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Infotainment" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "bon-personalization-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Infotainment" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "bon-public-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Infotainment" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "bon-vehicle-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "CSI" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + # negate = false + operator = "BEGINS_WITH" + value = "csi-" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Infotainment" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "apps-" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Voice Services" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "voice" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Voice Services" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "crs_" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Voice Services" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "crsa_" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Voice Services" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "epl_" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Infotainment" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "newsservice" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Infotainment" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "weatherservice" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Infotainment" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "id5" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "DPP" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "dpp" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "DPM" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "dpm" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Infotainment" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "lis-" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Infotainment" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "eml-" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Infotainment" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "ups-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "SMACC-BE" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "smc2-bl-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "SMACC-KTS" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "smc2-key-trk-" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "SMACC-BE" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "asbc_sc2" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Infotainment" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "online-entertainment-" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Infotainment" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "vps-" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Infotainment" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "inf_oe" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "BASE" + conditions { + key { + type = "STATIC" + attribute = "HOST_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "base-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "RemoteServices" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "microservice" + source = "KUBERNETES" + } + } + string { + case_sensitive = true + # negate = false + operator = "EQUALS" + value = "rs" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "CCG" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "ccg-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "LSC-HR" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "lsc-hr" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Remote 360" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "microservice" + source = "KUBERNETES" + } + } + string { + case_sensitive = true + # negate = false + operator = "EQUALS" + value = "rs-360" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "RS Cockpit" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "microservice" + source = "KUBERNETES" + } + } + string { + case_sensitive = true + # negate = false + operator = "EQUALS" + value = "rs-cockpit" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "RemoteServices" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "rs_" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "SMS-Gateway" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "COMMAND_LINE_ARGS" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "/www/smsgw" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "BASE" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "base_" + } + } + } + rules { + type = "HOST" + enabled = true + propagation_types = ["HOST_TO_PROCESS_GROUP_INSTANCE"] + value_format = "Voice Services" + conditions { + key { + type = "STATIC" + attribute = "HOST_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "b2vsbc" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Voice Services" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_DETECTED_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "voice.callmgr" + } + } + } + rules { + type = "HOST" + enabled = true + propagation_types = ["HOST_TO_PROCESS_GROUP_INSTANCE"] + value_format = "Voice Services" + conditions { + key { + type = "STATIC" + attribute = "HOST_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "lib2vsbc" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "CSI" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "csi" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "LSC-WO" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "lscwo" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "CCG" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "ccg" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "GCDM" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "WEB_REQUEST_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "gcdm" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "ASBC-SMACC" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "COMMAND_LINE_ARGS" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "/www/smacc-app/" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "ASBC-RSU" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "COMMAND_LINE_ARGS" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "www/rsu-app" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "ASBC-HAL" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "COMMAND_LINE_ARGS" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "www/hsmlib-app" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "App Repository" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "COMMAND_LINE_ARGS" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "inf-apr-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Call Center Client" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "COMMAND_LINE_ARGS" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "/www/ccc" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Call Center Client" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "COMMAND_LINE_ARGS" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "/www/emea_prod2" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Voice Services" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "b2v-voice-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Voice Services" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "crs-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Voice Services" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "crsa-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Voice Services" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "epl-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Voice Services" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "epm-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Voice Services" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "voicegw-admin-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Voice Services" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "vgw-homer-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "XCC" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "xcc-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "MSGSVC" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "msgsvc-" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "ASBC-SMACC" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "asbc_smacc" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "ASBC-RSU" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "asbc_rsu" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "ASBC-HAL" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "asbc_hsm" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "XCC" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "xcc" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "MSGSVC" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "msgsvc" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Perseus" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "perseus-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "ASBC-RSU" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "asbc-rsu-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "ASBC-SMACC" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "asbc-smacc-" + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "Perseus" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "perseus" + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "ASBC-HAL" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "asbchsml" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Remote 360" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "rs3" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "LSC-JR" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "lsc-jr" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "LSC-WO" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "lsc-wo" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "APIGW-WS" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "COMMAND_LINE_ARGS" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "/int-api-bmwgroup-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "APIGW-WS" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "COMMAND_LINE_ARGS" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "/api-bmwgroup-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "APIGW-WS" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "COMMAND_LINE_ARGS" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "/www/b2vapi-new-bmwgroup-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "APIGW-WS" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "COMMAND_LINE_ARGS" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "/int-api-nf-bmwgroup-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "APIGW-WS" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "COMMAND_LINE_ARGS" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "/api-nf-bmwgroup-" + } + } + } + rules { + type = "HOST" + enabled = true + value_format = "Voice Services" + conditions { + key { + type = "STATIC" + attribute = "HOST_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "ltb2vsbc" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "APIGW-APP" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "EXE_PATH" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "/global/www/conn/apigw/" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Connected Backend Services" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "JAVA_MAIN_CLASS" + } + string { + case_sensitive = true + # negate = false + operator = "EQUALS" + value = "com.nitzinger.Synchronization" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Service Gateway Legacy" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_AZURE_SITE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "btcapiwebapp" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "App Repository" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "apr_apr" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "{ProcessGroup:KubernetesNamespace/managed-app-(.++)}" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "managed-app-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Call Center Client" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "COMMAND_LINE_ARGS" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "ServerName\\ ccc" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Buffet" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "buffet-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "{ProcessGroup:Kubernetes:component}" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "component" + source = "KUBERNETES" + } + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } + rules { + type = "SERVICE" + enabled = true + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "asbc_smc2_key_trk" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "APPCALL" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "APPCALL-" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "APPCALL" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "acallservices" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "ACDS" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "ACDS-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "ECS" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "ECS-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "XCS" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "XCS-" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "XCS" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "xcallservices" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "EVNS" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "EVNS2-" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "EVNS" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "evns2" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "eCallGW" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "eCallGW-" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "eCallGW" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "ecallgateway" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "GATS" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "GATS-" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "GATS" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "gatsconverter" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Buffet" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "bff" + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "Call-Handling-Backends" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "APPCALL" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "Call-Handling-Backends" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "ACDS" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "Call-Handling-Backends" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "ECS" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "Call-Handling-Backends" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "XCS" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "Call-Handling-Backends" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "EVNS" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "Call-Handling-Backends" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "eCallGW" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "Call-Handling-Backends" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "GATS" + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "PISA" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "pisa-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "DPP" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "dpp-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "DPM" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "dpm-" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "PISA" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "pisa" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "SMACC-KTS" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "smc2" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "NGTP" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "ngtp" + } + } + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + negate = true + operator = "CONTAINS" + value = "cs" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "NGTP-CS" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "ngtp-cs" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "NGTP" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "ngtp" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + negate = true + operator = "CONTAINS" + value = "cs" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "NGTP-CS" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "ngtp" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "cs" + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "Call-Handling-Backends" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "NGTP" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "Call-Handling-Backends" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "NGTP-CS" + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "HVD" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "hvd-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "HTTS" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "htts-" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "HVD" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "hvd" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "HTTS" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "htts" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "{ProcessGroup:KubernetesNamespace/(.*?)-prod}" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "ENDS_WITH" + value = "-prod" + } + } + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Platform" + value = "OpenShift" + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "{ProcessGroup:KubernetesNamespace/(.*?)-e2e}" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "ENDS_WITH" + value = "-e2e" + } + } + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Platform" + value = "OpenShift" + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "{ProcessGroup:KubernetesNamespace/(.*?)-int}" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "ENDS_WITH" + value = "-int" + } + } + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Platform" + value = "OpenShift" + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "{ProcessGroup:KubernetesNamespace/(.*?)-test}" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "ENDS_WITH" + value = "-test" + } + } + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Platform" + value = "OpenShift" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "am-store" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "store" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "am-casa" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "casa" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "am-cesim" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "cesim" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "{ProcessGroup:KubernetesNamespace/(.*?)-prod}" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "ENDS_WITH" + value = "-prod" + } + } + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "PaaS" + source = "KUBERNETES" + } + } + string { + case_sensitive = true + # negate = false + operator = "EQUALS" + value = "Plain" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "{ProcessGroup:KubernetesNamespace/(.*?)-e2e}" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + case_sensitive = true + # negate = false + operator = "ENDS_WITH" + value = "e2e" + } + } + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "PaaS" + source = "KUBERNETES" + } + } + string { + case_sensitive = true + # negate = false + operator = "EQUALS" + value = "Plain" + } + } + } +} diff --git a/output/20220126-160653_TERRAFORM/autotags/Environment.1b7707f0-5c51-42b1-aa68-0fdbd85d633b..autotag.tf b/output/20220126-160653_TERRAFORM/autotags/Environment.1b7707f0-5c51-42b1-aa68-0fdbd85d633b..autotag.tf new file mode 100644 index 0000000..5caa0f3 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/autotags/Environment.1b7707f0-5c51-42b1-aa68-0fdbd85d633b..autotag.tf @@ -0,0 +1,890 @@ +resource "dynatrace_autotag" "Environment" { + name = "Environment" + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "{ProcessGroup:DetectedName/-(.*?)\\)}" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "BASE" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "PROD" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "EQUALS" + value = "svds - prod" + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "TEST" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "dev" + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "TEST" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "test" + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "INT" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "int" + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "I2E" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "i2e" + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "E2E" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "e2e" + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "PROD" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DATABASE_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "prod" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "TEST" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "environment" + source = "KUBERNETES" + } + } + string { + # case_sensitive = false + # negate = false + operator = "EQUALS" + value = "dev" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "TEST" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "environment" + source = "KUBERNETES" + } + } + string { + # case_sensitive = false + # negate = false + operator = "EQUALS" + value = "test" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "INT" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "environment" + source = "KUBERNETES" + } + } + string { + # case_sensitive = false + # negate = false + operator = "EQUALS" + value = "int" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "I2E" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "environment" + source = "KUBERNETES" + } + } + string { + # case_sensitive = false + # negate = false + operator = "EQUALS" + value = "i2e" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "E2E" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "environment" + source = "KUBERNETES" + } + } + string { + # case_sensitive = false + # negate = false + operator = "EQUALS" + value = "e2e" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "PROD" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "environment" + source = "KUBERNETES" + } + } + string { + # case_sensitive = false + # negate = false + operator = "EQUALS" + value = "prod" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "TEST" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + # negate = false + operator = "ENDS_WITH" + value = "-dev" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "TEST" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + # negate = false + operator = "ENDS_WITH" + value = "-test" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "INT" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + # negate = false + operator = "ENDS_WITH" + value = "-int" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "I2E" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + # negate = false + operator = "ENDS_WITH" + value = "-i2e" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "E2E" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + # negate = false + operator = "ENDS_WITH" + value = "-e2e" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "PROD" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + # negate = false + operator = "ENDS_WITH" + value = "-prod" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "TEST" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "BEGINS_WITH" + value = "Azure-NonFG" + } + } + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "ENDS_WITH" + value = "DEV" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "DLY" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "BEGINS_WITH" + value = "Azure-NonFG" + } + } + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "ENDS_WITH" + value = "DLY" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "INT" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "BEGINS_WITH" + value = "Azure-NonFG" + } + } + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "ENDS_WITH" + value = "INT" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "PROD" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "BEGINS_WITH" + value = "Azure-NonFG" + } + } + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "ENDS_WITH" + value = "PRD" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "TEST" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "_DEV" + } + } + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + # case_sensitive = false + negate = true + operator = "CONTAINS" + value = "_INT" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "INT" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "_INT" + } + } + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + # case_sensitive = false + negate = true + operator = "CONTAINS" + value = "_DEV" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "E2E" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "_E2E" + } + } + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + # case_sensitive = false + negate = true + operator = "CONTAINS" + value = "_PROD" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "PROD" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "CONTAINS" + value = "_PROD" + } + } + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + # case_sensitive = false + negate = true + operator = "CONTAINS" + value = "_E2E" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "TEST" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Platform" + value = "Classic IT" + } + } + } + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + negate = true + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Environment" + value = "INT" + } + } + } + conditions { + key { + type = "STATIC" + attribute = "HOST_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "BEGINS_WITH" + value = "lt" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "INT" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Platform" + value = "Classic IT" + } + } + } + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + negate = true + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Environment" + value = "TEST" + } + } + } + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + negate = true + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Environment" + value = "E2E" + } + } + } + conditions { + key { + type = "STATIC" + attribute = "HOST_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "BEGINS_WITH" + value = "li" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "PROD" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Platform" + value = "Classic IT" + } + } + } + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + negate = true + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Environment" + value = "E2E" + } + } + } + conditions { + key { + type = "STATIC" + attribute = "HOST_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "BEGINS_WITH" + value = "lp" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "PROD" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "Environment" + source = "ENVIRONMENT" + } + } + string { + case_sensitive = true + # negate = false + operator = "EQUALS" + value = "prod" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "E2E" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "Environment" + source = "ENVIRONMENT" + } + } + string { + case_sensitive = true + # negate = false + operator = "EQUALS" + value = "e2e" + } + } + } +} diff --git a/output/20220126-160653_TERRAFORM/autotags/Hub.78e916f6-4361-496f-b7f7-0b8ff0520cf4..autotag.tf b/output/20220126-160653_TERRAFORM/autotags/Hub.78e916f6-4361-496f-b7f7-0b8ff0520cf4..autotag.tf new file mode 100644 index 0000000..2f9ff6d --- /dev/null +++ b/output/20220126-160653_TERRAFORM/autotags/Hub.78e916f6-4361-496f-b7f7-0b8ff0520cf4..autotag.tf @@ -0,0 +1,47 @@ +resource "dynatrace_autotag" "Hub" { + name = "Hub" + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "EMEA" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "EMEA" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TYPE" + } + service_type { + # negate = false + operator = "EQUALS" + value = "DATABASE_SERVICE" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } +} diff --git a/output/20220126-160653_TERRAFORM/autotags/Microservice.745b1f94-b47c-4673-bbe3-c79da36c1e58..autotag.tf b/output/20220126-160653_TERRAFORM/autotags/Microservice.745b1f94-b47c-4673-bbe3-c79da36c1e58..autotag.tf new file mode 100644 index 0000000..ddb8902 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/autotags/Microservice.745b1f94-b47c-4673-bbe3-c79da36c1e58..autotag.tf @@ -0,0 +1,77 @@ +resource "dynatrace_autotag" "Microservice" { + name = "Microservice" + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "nws" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "nws-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "bev" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "bev-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "wea" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "wea-" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "{ProcessGroup:Kubernetes:microservice}" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "microservice" + source = "KUBERNETES" + } + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } +} diff --git a/output/20220126-160653_TERRAFORM/autotags/Namespace.7564d78d-be2b-4ccd-8441-a9be768af3f1..autotag.tf b/output/20220126-160653_TERRAFORM/autotags/Namespace.7564d78d-be2b-4ccd-8441-a9be768af3f1..autotag.tf new file mode 100644 index 0000000..3028766 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/autotags/Namespace.7564d78d-be2b-4ccd-8441-a9be768af3f1..autotag.tf @@ -0,0 +1,20 @@ +resource "dynatrace_autotag" "Namespace" { + name = "Namespace" + rules { + type = "PROCESS_GROUP" + # enabled = false + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "{ProcessGroup:KubernetesNamespace}" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } +} diff --git a/output/20220126-160653_TERRAFORM/autotags/PaaS.5004f98e-961b-4191-af0c-3f56d37a1083..autotag.tf b/output/20220126-160653_TERRAFORM/autotags/PaaS.5004f98e-961b-4191-af0c-3f56d37a1083..autotag.tf new file mode 100644 index 0000000..f0ee49d --- /dev/null +++ b/output/20220126-160653_TERRAFORM/autotags/PaaS.5004f98e-961b-4191-af0c-3f56d37a1083..autotag.tf @@ -0,0 +1,59 @@ +resource "dynatrace_autotag" "PaaS" { + name = "PaaS" + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Orbit" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "AWS-Orbit_" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Runtime" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "Azure-NonFG_" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "{ProcessGroup:Environment:PaaS}" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "PaaS" + source = "ENVIRONMENT" + } + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } +} diff --git a/output/20220126-160653_TERRAFORM/autotags/Platform.bb41a497-d064-4f47-b85f-132495cc2578..autotag.tf b/output/20220126-160653_TERRAFORM/autotags/Platform.bb41a497-d064-4f47-b85f-132495cc2578..autotag.tf new file mode 100644 index 0000000..84b2d1d --- /dev/null +++ b/output/20220126-160653_TERRAFORM/autotags/Platform.bb41a497-d064-4f47-b85f-132495cc2578..autotag.tf @@ -0,0 +1,159 @@ +resource "dynatrace_autotag" "Platform" { + name = "Platform" + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "EKS" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + conditions { + cloud_type { + # negate = false + operator = "EQUALS" + value = "EC2" + } + key { + type = "STATIC" + attribute = "HOST_CLOUD_TYPE" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "AKS" + conditions { + cloud_type { + # negate = false + operator = "EQUALS" + value = "AZURE" + } + key { + type = "STATIC" + attribute = "HOST_CLOUD_TYPE" + } + } + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "OpenShift" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "OpenShift_" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Classic IT" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "BEGINS_WITH" + value = "Multiproject_" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Classic IT" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "SingleApplicationServer_" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "ECS" + conditions { + cloud_type { + # negate = false + operator = "EQUALS" + value = "EC2" + } + key { + type = "STATIC" + attribute = "HOST_CLOUD_TYPE" + } + } + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + negate = true + operator = "EXISTS" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"] + value_format = "Classic IT" + conditions { + key { + type = "STATIC" + attribute = "HOST_GROUP_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "BEGINS_WITH" + value = "LINUX_" + } + } + } +} diff --git a/output/20220126-160653_TERRAFORM/autotags/WK.c5d33faf-c7b2-43be-a534-71841a59160e..autotag.tf b/output/20220126-160653_TERRAFORM/autotags/WK.c5d33faf-c7b2-43be-a534-71841a59160e..autotag.tf new file mode 100644 index 0000000..5a30cb0 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/autotags/WK.c5d33faf-c7b2-43be-a534-71841a59160e..autotag.tf @@ -0,0 +1,815 @@ +resource "dynatrace_autotag" "WK" { + name = "WK" + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "SMACC-BE" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "SMACC-BE" + } + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "EQUALS" + value = "HealthResource" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "EQUALS" + value = "MetricsResource" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "EQUALS" + value = "PrometheusResource" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "EQUALS" + value = "PingResource" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "CONTAINS" + value = "internal service" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "CONTAINS" + value = "ProtocolDataApi" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Environment" + value = "prod" + } + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "CONTAINS" + value = "executed" + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "SMACC-KTS" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "SMACC-KTS" + } + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "EQUALS" + value = "PrometheusResource" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "EQUALS" + value = "MetricsResource" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "EQUALS" + value = "HealthResource" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "EQUALS" + value = "PingResource" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "CONTAINS" + value = "executed" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Environment" + value = "prod" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "ASBC-SMACC" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "ASBC-SMACC" + } + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "EQUALS" + value = "HealthResource" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "CONTAINS" + value = "executed" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Environment" + value = "PROD" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "SMACC" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "SMACC-BE" + } + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "EQUALS" + value = "HealthResource" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "EQUALS" + value = "MetricsResource" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "EQUALS" + value = "PrometheusResource" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "EQUALS" + value = "PingResource" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "CONTAINS" + value = "internal service" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "CONTAINS" + value = "ProtocolDataApi" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Environment" + value = "prod" + } + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "CONTAINS" + value = "executed" + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "SMACC" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "SMACC-KTS" + } + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "EQUALS" + value = "PrometheusResource" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "EQUALS" + value = "MetricsResource" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "EQUALS" + value = "HealthResource" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "EQUALS" + value = "PingResource" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "CONTAINS" + value = "executed" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Environment" + value = "prod" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"] + value_format = "SMACC" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "ASBC-SMACC" + } + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "EQUALS" + value = "HealthResource" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_DETECTED_NAME" + } + string { + case_sensitive = true + negate = true + operator = "CONTAINS" + value = "executed" + } + } + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Environment" + value = "PROD" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Login" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "connected-oauth-service-apim" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Login" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "legal-document-composite-service" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Vehicle Mapping" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "user-composite-service" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Vehicle Mapping" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "vehicle-mapping-composite-service" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Vehicle List" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "vehicle-composite-service" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Remote Services" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "vehicle-remote-commands-composite-service" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Vehicle Data" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "vehicle-service" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Vehicle Data" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "vehicle-features-service" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Send destination to vehicle (Legacy)" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "destination-composite-service" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Send destination to vehicle (Legacy)" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "send-to-car-service" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Send destination to vehicle (MGU)" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "destination-composite-service" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Send destination to vehicle (MGU)" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "send-to-car-service" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Personal Favorites" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "destination-composite-service" + } + } + } + } +} diff --git a/output/20220126-160653_TERRAFORM/autotags/Wirkkette.77ffee3c-eb26-4f50-8957-2b3ee0cc1aef..autotag.tf b/output/20220126-160653_TERRAFORM/autotags/Wirkkette.77ffee3c-eb26-4f50-8957-2b3ee0cc1aef..autotag.tf new file mode 100644 index 0000000..c6d864e --- /dev/null +++ b/output/20220126-160653_TERRAFORM/autotags/Wirkkette.77ffee3c-eb26-4f50-8957-2b3ee0cc1aef..autotag.tf @@ -0,0 +1,789 @@ +resource "dynatrace_autotag" "Wirkkette" { + name = "Wirkkette" + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "User Registration" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "Connected OAuth Service" + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "User Registration" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "ID Lookup Service " + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "User Registration" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "Legal Document Composite Service" + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "User Registration" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "User Profile Service" + } + } + } + } + rules { + type = "APPLICATION" + enabled = true + value_format = "User Registration" + conditions { + key { + type = "STATIC" + attribute = "WEB_APPLICATION_NAME" + } + string { + case_sensitive = true + negate = true + operator = "CONTAINS" + value = "Toyota" + } + } + } + rules { + type = "MOBILE_APPLICATION" + enabled = true + value_format = "User Registration" + conditions { + key { + type = "STATIC" + attribute = "MOBILE_APPLICATION_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "User Registration" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "CDIP" + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Remote 360" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "Remote 360 Composite Service" + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Remote Services" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "RemoteServices" + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Remote Services" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "Vehicle Remote Commands Composite Service (VRCCS)" + } + } + } + } + rules { + type = "APPLICATION" + enabled = true + value_format = "Remote Services" + conditions { + key { + type = "STATIC" + attribute = "WEB_APPLICATION_NAME" + } + string { + case_sensitive = true + negate = true + operator = "CONTAINS" + value = "Toyota" + } + } + } + rules { + type = "MOBILE_APPLICATION" + enabled = true + value_format = "Remote Services" + conditions { + key { + type = "STATIC" + attribute = "MOBILE_APPLICATION_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Remote Services" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "CDIP" + } + } + } + } + rules { + type = "MOBILE_APPLICATION" + enabled = true + value_format = "Remote 360" + conditions { + key { + type = "STATIC" + attribute = "MOBILE_APPLICATION_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Vehicle Mapping" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "User Composite Service" + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Vehicle Mapping" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "User Profile Service" + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Vehicle Mapping" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "Vehicle User Relationship Service (VURS)" + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Vehicle Mapping" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "Vehicle Service" + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Vehicle Mapping" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "Vehicle Mapping Composite Service" + } + } + } + } + rules { + type = "APPLICATION" + enabled = true + value_format = "Vehicle Mapping" + conditions { + key { + type = "STATIC" + attribute = "WEB_APPLICATION_NAME" + } + string { + case_sensitive = true + negate = true + operator = "CONTAINS" + value = "Toyota" + } + } + } + rules { + type = "MOBILE_APPLICATION" + enabled = true + value_format = "Vehicle Mapping" + conditions { + key { + type = "STATIC" + attribute = "MOBILE_APPLICATION_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Vehicle Mapping" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "CDIP" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Vehicle Data" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "WK" + value = "vehicle-service" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Vehicle Data" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "WK" + value = "client-vehicle-telemetry-processor" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Vehicle Data" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "WK" + value = "csi" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Vehicle Data" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "WK" + value = "ccg" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Vehicle Data" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "WK" + value = "lsc-wo" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Vehicle Data" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "WK" + value = "lsc-jr" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Vehicle Data" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "WK" + value = "lsc-hr" + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Vehicle List" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "Vehicle User Relationship Service (VURS)" + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Vehicle List" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "Vehicle Composite Service (VCS)" + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "Remote 360" + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "Remote 360" + } + } + } + } + rules { + type = "MOBILE_APPLICATION" + enabled = true + value_format = "Login" + conditions { + key { + type = "STATIC" + attribute = "MOBILE_APPLICATION_NAME" + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } + rules { + type = "APPLICATION" + enabled = true + value_format = "Login" + conditions { + key { + type = "STATIC" + attribute = "WEB_APPLICATION_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "ConnectedDrive Internet Portal" + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Login" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "connected-oauth-service-apim" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Login" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "legal-document-composite-service" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Login" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "user-profile-service" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Login" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "user-composite-service" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Login" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "token-exchanger-service" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + value_format = "Login" + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "CDIP" + } + } + } + } +} diff --git a/output/20220126-160653_TERRAFORM/autotags/app-id.8c25d4f8-233c-4513-bbbb-526691e72e2f..autotag.tf b/output/20220126-160653_TERRAFORM/autotags/app-id.8c25d4f8-233c-4513-bbbb-526691e72e2f..autotag.tf new file mode 100644 index 0000000..4b4bf40 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/autotags/app-id.8c25d4f8-233c-4513-bbbb-526691e72e2f..autotag.tf @@ -0,0 +1,61 @@ +resource "dynatrace_autotag" "app-id" { + name = "app-id" + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "{ProcessGroup:Kubernetes:app-id}" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "app-id" + source = "KUBERNETES" + } + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "{ProcessGroup:CommandLineArgs/-Ddtapp-id=(.*?)#}" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "COMMAND_LINE_ARGS" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "-Ddtapp-id=" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "{ProcessGroup:Environment:app-id}" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "app-id" + source = "ENVIRONMENT" + } + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } +} diff --git a/output/20220126-160653_TERRAFORM/autotags/app-name.f98972a3-756d-45b7-8c6b-9423cfbe9dfa..autotag.tf b/output/20220126-160653_TERRAFORM/autotags/app-name.f98972a3-756d-45b7-8c6b-9423cfbe9dfa..autotag.tf new file mode 100644 index 0000000..349516f --- /dev/null +++ b/output/20220126-160653_TERRAFORM/autotags/app-name.f98972a3-756d-45b7-8c6b-9423cfbe9dfa..autotag.tf @@ -0,0 +1,61 @@ +resource "dynatrace_autotag" "app-name" { + name = "app-name" + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "{ProcessGroup:Kubernetes:app-name}" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "app-name" + source = "KUBERNETES" + } + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "{ProcessGroup:CommandLineArgs/-Ddtapp-name=(.*?)#}" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "COMMAND_LINE_ARGS" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "-Ddapp-name=" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "{ProcessGroup:Environment:app-name}" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "app-name" + source = "ENVIRONMENT" + } + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } +} diff --git a/output/20220126-160653_TERRAFORM/autotags/compass-id.8f1e5833-067b-42be-a299-98d0a048d0d6..autotag.tf b/output/20220126-160653_TERRAFORM/autotags/compass-id.8f1e5833-067b-42be-a299-98d0a048d0d6..autotag.tf new file mode 100644 index 0000000..8eedbea --- /dev/null +++ b/output/20220126-160653_TERRAFORM/autotags/compass-id.8f1e5833-067b-42be-a299-98d0a048d0d6..autotag.tf @@ -0,0 +1,61 @@ +resource "dynatrace_autotag" "compass-id" { + name = "compass-id" + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "{ProcessGroup:Kubernetes:compass-id}" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "compass-id" + source = "KUBERNETES" + } + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "{ProcessGroup:CommandLineArgs/-Ddtcompass-id=(.*?)#}" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "COMMAND_LINE_ARGS" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "-Ddtcompass-id=" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "{ProcessGroup:Environment:compass-id}" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "compass-id" + source = "ENVIRONMENT" + } + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } +} diff --git a/output/20220126-160653_TERRAFORM/autotags/ms-id.00bf1fbc-3fe9-4ba5-be00-7e2e63718468..autotag.tf b/output/20220126-160653_TERRAFORM/autotags/ms-id.00bf1fbc-3fe9-4ba5-be00-7e2e63718468..autotag.tf new file mode 100644 index 0000000..849c77d --- /dev/null +++ b/output/20220126-160653_TERRAFORM/autotags/ms-id.00bf1fbc-3fe9-4ba5-be00-7e2e63718468..autotag.tf @@ -0,0 +1,61 @@ +resource "dynatrace_autotag" "ms-id" { + name = "ms-id" + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "{ProcessGroup:CommandLineArgs/-Ddtms-id=(.*?)#}" + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "COMMAND_LINE_ARGS" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "-Ddtms-id=" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "{ProcessGroup:Kubernetes:ms-id}" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "ms-id" + source = "KUBERNETES" + } + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = ["PROCESS_GROUP_TO_SERVICE"] + value_format = "{ProcessGroup:Environment:ms-id}" + conditions { + custom_process_metadata { + attribute = "PROCESS_GROUP_CUSTOM_METADATA" + dynamic_key { + key = "ms-id" + source = "ENVIRONMENT" + } + } + string { + # case_sensitive = false + # negate = false + operator = "EXISTS" + } + } + } +} diff --git a/output/20220126-160653_TERRAFORM/custom_services/DPP - JOYNR.9a616602-6c73-4a1f-a843-865ed6873401..custom_service.tf b/output/20220126-160653_TERRAFORM/custom_services/DPP - JOYNR.9a616602-6c73-4a1f-a843-865ed6873401..custom_service.tf new file mode 100644 index 0000000..5e8595f --- /dev/null +++ b/output/20220126-160653_TERRAFORM/custom_services/DPP - JOYNR.9a616602-6c73-4a1f-a843-865ed6873401..custom_service.tf @@ -0,0 +1,80 @@ +resource "dynatrace_custom_service" "DPP_-_JOYNR" { + name = "DPP - JOYNR" + enabled = true + # queue_entry_point = false + rule { + enabled = true + id = "e55ba82b-05e8-414a-8cb1-c2e6c6e79049" + class { + name = "com.bmw.cc.dpp.api.joynrprovider.v1.PrivacySettingsBackendProviderImpl" + match = "EQUALS" + } + file { + name = "" + } + method { + name = "updateSettings" + arguments = ["joynr.de.bmw.infotainment.telematic.common.CommonTypes.RequestId","java.lang.Long","java.lang.Long","java.lang.String","java.lang.Boolean","joynr.de.bmw.infotainment.dataprivacy.PrivacySettingsTypes.PrivacySetting[]"] + id = "766c5a01-e4df-4077-84b4-1b691fbd82df" + returns = "void" + } + } + rule { + enabled = true + id = "dce408ef-5460-4825-b16c-62c13659a734" + class { + name = "com.bmw.cc.dpp.api.joynrprovider.v2.PrivacySettingsBackendV2ProviderImpl" + match = "EQUALS" + } + file { + name = "" + } + method { + name = "confirmSettings" + arguments = ["java.lang.String","joynr.de.bmw.infotainment.dataprivacy.v2.PrivacySettingsTypes.ResultCode"] + id = "40980cdb-4ab7-4c49-8391-5d4c636f1fad" + returns = "void" + } + method { + name = "getPrivacyUsersWithGroupsForVin" + arguments = ["joynr.de.bmw.infotainment.dataprivacy.v2.PrivacySettingsTypes.RequestId"] + id = "d805b9c6-fc5a-4c8a-b8ec-f3cb18e15d26" + returns = "joynr.de.bmw.infotainment.dataprivacy.v2.PrivacySettingsBackendSync$GetPrivacyUsersWithGroupsForVinReturned" + } + method { + name = "requestRequestSetting" + arguments = ["joynr.de.bmw.infotainment.dataprivacy.v2.PrivacySettingsTypes.RequestId","java.lang.String"] + id = "d4c923b2-819d-4f68-a8bf-9db9ed686d4e" + returns = "void" + } + method { + name = "updateSettings" + arguments = ["joynr.de.bmw.infotainment.dataprivacy.v2.PrivacySettingsTypes.RequestId","java.lang.Long","java.lang.Long","java.lang.String","java.lang.Boolean","java.lang.String","joynr.de.bmw.infotainment.dataprivacy.v2.PrivacySettingsTypes.PrivacySetting[]"] + id = "295ae9ca-80a4-46a0-af45-d3ede8261a6e" + returns = "joynr.de.bmw.infotainment.dataprivacy.v2.PrivacySettingsTypes.ResultCode" + } + } + rule { + enabled = true + id = "23599713-d521-404a-8a70-1ac1f2503156" + class { + name = "com.bmw.cc.dpp.api.joynrprovider.v3.PrivacySettingsBackendV3ProviderImpl" + match = "EQUALS" + } + file { + name = "" + } + method { + name = "requestTargetSetting" + arguments = ["joynr.de.bmw.infotainment.dataprivacy.v3.PrivacySettingsTypes.RequestId","java.lang.String"] + id = "e2badd5d-6509-4ee4-8850-6913ad63880d" + returns = "void" + } + method { + name = "updateSettings" + arguments = ["joynr.de.bmw.infotainment.dataprivacy.v3.PrivacySettingsTypes.RequestId","java.lang.Long","java.lang.Long","java.lang.String","java.lang.Boolean","joynr.de.bmw.infotainment.dataprivacy.v3.PrivacySettingsTypes.PrivacySetting[]","joynr.de.bmw.infotainment.dataprivacy.v3.PrivacySettingsTypes.OptionalParameter[]"] + id = "397a1838-66f5-4cc8-9d3f-28d50621e0ca" + returns = "joynr.de.bmw.infotainment.dataprivacy.v3.PrivacySettingsTypes.ResultCode" + } + } +} diff --git a/output/20220126-160653_TERRAFORM/custom_services/LSC Worker Kafka IN.1ebd270f-3c1f-43d9-9852-1c8464607135..custom_service.tf b/output/20220126-160653_TERRAFORM/custom_services/LSC Worker Kafka IN.1ebd270f-3c1f-43d9-9852-1c8464607135..custom_service.tf new file mode 100644 index 0000000..9eeac8e --- /dev/null +++ b/output/20220126-160653_TERRAFORM/custom_services/LSC Worker Kafka IN.1ebd270f-3c1f-43d9-9852-1c8464607135..custom_service.tf @@ -0,0 +1,23 @@ +resource "dynatrace_custom_service" "LSC_Worker_Kafka_IN" { + name = "LSC Worker Kafka IN" + enabled = true + queue_entry_point = true + queue_entry_point_type = "KAFKA" + rule { + enabled = true + id = "5802f3f3-8af4-42a1-981c-6b4667e58cc4" + class { + name = "com.bmw.tssb.lsc.worker.facade.LscMessageProcessingBean" + match = "EQUALS" + } + file { + name = "" + } + method { + name = "onMessage" + arguments = ["org.apache.kafka.clients.consumer.ConsumerRecord"] + id = "311fd216-ff2b-4781-8e92-e9b84290bf43" + returns = "void" + } + } +} diff --git a/output/20220126-160653_TERRAFORM/dashboards/EW_TEST2.f4f5c14e-7f0c-49c1-bfd4-9c740d0870a9..dashboard.tf b/output/20220126-160653_TERRAFORM/dashboards/EW_TEST2.f4f5c14e-7f0c-49c1-bfd4-9c740d0870a9..dashboard.tf new file mode 100644 index 0000000..6534cba --- /dev/null +++ b/output/20220126-160653_TERRAFORM/dashboards/EW_TEST2.f4f5c14e-7f0c-49c1-bfd4-9c740d0870a9..dashboard.tf @@ -0,0 +1,18 @@ +resource "dynatrace_dashboard" "EW_TEST2_f4f5c14e-7f0c-49c1-bfd4-9c740d0870a9" { + dashboard_metadata { + name = "EW_TEST2" + owner = "Ermis.Wieger@partner.bmw.de" + # shared = false + } +} +resource "dynatrace_dashboard_sharing" "EW_TEST2_f4f5c14e-7f0c-49c1-bfd4-9c740d0870a9" { + # enabled = false + dashboard_id = "f4f5c14e-7f0c-49c1-bfd4-9c740d0870a9" + # preset = false + permissions { + permission { + type = "ALL" + level = "VIEW" + } + } +} diff --git a/output/20220126-160653_TERRAFORM/dashboards/EW_TEST_HUHU.3fed8bb6-688f-4fcb-9ea7-a5b4a28fac90..dashboard.tf b/output/20220126-160653_TERRAFORM/dashboards/EW_TEST_HUHU.3fed8bb6-688f-4fcb-9ea7-a5b4a28fac90..dashboard.tf new file mode 100644 index 0000000..5851762 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/dashboards/EW_TEST_HUHU.3fed8bb6-688f-4fcb-9ea7-a5b4a28fac90..dashboard.tf @@ -0,0 +1,29 @@ +resource "dynatrace_dashboard" "EW_TEST_HUHU_3fed8bb6-688f-4fcb-9ea7-a5b4a28fac90" { + dashboard_metadata { + name = "EW_TEST_HUHU" + owner = "Ermis.Wieger@partner.bmw.de" + # shared = false + } + tile { + name = "Problems" + configured = true + tile_type = "OPEN_PROBLEMS" + bounds { + height = 152 + left = 76 + top = 0 + width = 152 + } + } +} +resource "dynatrace_dashboard_sharing" "EW_TEST_HUHU_3fed8bb6-688f-4fcb-9ea7-a5b4a28fac90" { + # enabled = false + dashboard_id = "3fed8bb6-688f-4fcb-9ea7-a5b4a28fac90" + # preset = false + permissions { + permission { + type = "ALL" + level = "VIEW" + } + } +} diff --git a/output/20220126-160653_TERRAFORM/dashboards/Kubernetes cluster overview.6b38732e-8c5c-4b32-80a1-7053ec8f37e1..dashboard.tf b/output/20220126-160653_TERRAFORM/dashboards/Kubernetes cluster overview.6b38732e-8c5c-4b32-80a1-7053ec8f37e1..dashboard.tf new file mode 100644 index 0000000..9530e1e --- /dev/null +++ b/output/20220126-160653_TERRAFORM/dashboards/Kubernetes cluster overview.6b38732e-8c5c-4b32-80a1-7053ec8f37e1..dashboard.tf @@ -0,0 +1,784 @@ +resource "dynatrace_dashboard" "Kubernetes_cluster_overview_6b38732e-8c5c-4b32-80a1-7053ec8f37e1" { + dashboard_metadata { + name = "Kubernetes cluster overview" + owner = "Dynatrace" + # shared = false + tags = ["Kubernetes"] + dynamic_filters { + filters = ["KUBERNETES_CLUSTER"] + } + } + tile { + name = "Markdown" + configured = true + markdown = "## Cluster resource overview" + tile_type = "MARKDOWN" + bounds { + height = 38 + left = 0 + top = 0 + width = 684 + } + } + tile { + name = "" + chart_visible = true + configured = true + tile_type = "HOSTS" + bounds { + height = 304 + left = 342 + top = 38 + width = 342 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "HOST" + custom_name = "Full-Stack Kubernetes nodes" + default_name = "Full-Stack Kubernetes nodes" + chart_config { + type = "TIMESERIES" + legend = true + } + filters { + filter { + entity_type = "HOST" + match { + key = "HOST_SOFTWARE_TECH" + values = ["KUBERNETES"] + } + } + } + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 152 + left = 190 + top = 418 + width = 190 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "CPU available" + default_name = "Custom chart" + chart_config { + type = "SINGLE_VALUE" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "KUBERNETES_CLUSTER" + metric = "builtin:cloud.kubernetes.cluster.cpuAvailable" + # sort_ascending = false + sort_column = true + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 684 + top = 38 + width = 304 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Pods" + default_name = "Custom chart" + chart_config { + type = "PIE" + legend = true + result_metadata { + config { + custom_color = "#008cdb" + key = "null¦Pod phase»Succeeded»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597237249882 + } + config { + custom_color = "#64bd64" + key = "null¦Pod phase»Running»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234642722 + } + config { + custom_color = "#f5d30f" + key = "null¦Pod phase»Pending»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234457744 + } + config { + custom_color = "#ff0000" + key = "null¦Pod phase»Failed»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234118116 + } + } + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION" + metric = "builtin:cloud.kubernetes.workload.pods" + # sort_ascending = false + sort_column = true + dimension { + name = "Pod phase" + # entity_dimension = false + id = "1" + } + } + } + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 152 + left = 608 + top = 418 + width = 190 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Memory available" + default_name = "Custom chart" + chart_config { + type = "SINGLE_VALUE" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "KUBERNETES_CLUSTER" + metric = "builtin:cloud.kubernetes.cluster.memoryAvailable" + # sort_ascending = false + sort_column = true + } + } + } + } + tile { + name = "Markdown" + configured = true + markdown = "## Node resource usage" + tile_type = "MARKDOWN" + bounds { + height = 38 + left = 0 + top = 380 + width = 1634 + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 0 + top = 38 + width = 342 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Cluster nodes" + default_name = "Custom chart" + chart_config { + type = "PIE" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "KUBERNETES_CLUSTER" + metric = "builtin:cloud.kubernetes.cluster.nodes" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.kubernetes_cluster" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 152 + left = 1026 + top = 418 + width = 190 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Disk available" + default_name = "Custom chart" + chart_config { + type = "SINGLE_VALUE" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "HOST" + metric = "builtin:host.disk.avail" + # sort_ascending = false + sort_column = true + } + } + filters { + filter { + entity_type = "HOST" + match { + key = "HOST_SOFTWARE_TECH" + values = ["KUBERNETES"] + } + } + } + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 0 + top = 570 + width = 418 + } + filter_config { + type = "MIXED" + custom_name = "CPU usage % " + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "HOST" + metric = "builtin:host.cpu.usage" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.host" + entity_dimension = true + id = "0" + } + } + } + filters { + filter { + entity_type = "HOST" + match { + key = "HOST_SOFTWARE_TECH" + values = ["KUBERNETES"] + } + } + } + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 418 + top = 570 + width = 418 + } + filter_config { + type = "MIXED" + custom_name = "Memory usage % " + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "HOST" + metric = "builtin:host.mem.usage" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.host" + entity_dimension = true + id = "0" + } + } + } + filters { + filter { + entity_type = "HOST" + match { + key = "HOST_SOFTWARE_TECH" + values = ["KUBERNETES"] + } + } + } + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 836 + top = 570 + width = 418 + } + filter_config { + type = "MIXED" + custom_name = "Disk usage % " + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "HOST" + metric = "builtin:host.disk.usedPct" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.host" + entity_dimension = true + id = "0" + } + dimension { + name = "dt.entity.disk" + entity_dimension = true + id = "1" + } + } + } + filters { + filter { + entity_type = "HOST" + match { + key = "HOST_SOFTWARE_TECH" + values = ["KUBERNETES"] + } + } + } + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 152 + left = 0 + top = 418 + width = 190 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Total CPU requests" + default_name = "Custom chart" + chart_config { + type = "SINGLE_VALUE" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "KUBERNETES_CLUSTER" + metric = "builtin:cloud.kubernetes.cluster.cpuRequested" + # sort_ascending = false + sort_column = true + } + } + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 152 + left = 418 + top = 418 + width = 190 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Total memory requests" + default_name = "Custom chart" + chart_config { + type = "SINGLE_VALUE" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "KUBERNETES_CLUSTER" + metric = "builtin:cloud.kubernetes.cluster.memoryRequested" + # sort_ascending = false + sort_column = true + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 152 + left = 836 + top = 418 + width = 190 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Total disk used" + default_name = "Custom chart" + chart_config { + type = "SINGLE_VALUE" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "HOST" + metric = "builtin:host.disk.used" + # sort_ascending = false + sort_column = true + } + } + filters { + filter { + entity_type = "HOST" + match { + key = "HOST_SOFTWARE_TECH" + values = ["KUBERNETES"] + } + } + } + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 1254 + top = 570 + width = 380 + } + filter_config { + type = "MIXED" + custom_name = "Traffic in/out" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "HOST" + metric = "builtin:host.net.nic.trafficIn" + # sort_ascending = false + # sort_column = false + dimension { + name = "dt.entity.host" + entity_dimension = true + id = "0" + } + } + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "HOST" + metric = "builtin:host.net.nic.trafficOut" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.host" + entity_dimension = true + id = "0" + } + } + } + filters { + filter { + entity_type = "HOST" + match { + key = "HOST_SOFTWARE_TECH" + values = ["KUBERNETES"] + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 152 + left = 1444 + top = 418 + width = 190 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Traffic out" + default_name = "Custom chart" + chart_config { + type = "SINGLE_VALUE" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "HOST" + metric = "builtin:host.net.nic.trafficOut" + # sort_ascending = false + sort_column = true + } + } + filters { + filter { + entity_type = "HOST" + match { + key = "HOST_SOFTWARE_TECH" + values = ["KUBERNETES"] + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 152 + left = 1254 + top = 418 + width = 190 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Traffic in" + default_name = "Custom chart" + chart_config { + type = "SINGLE_VALUE" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "HOST" + metric = "builtin:host.net.nic.trafficIn" + # sort_ascending = false + sort_column = true + } + } + filters { + filter { + entity_type = "HOST" + match { + key = "HOST_SOFTWARE_TECH" + values = ["KUBERNETES"] + } + } + } + } + } + tile { + name = "Markdown" + configured = true + markdown = "## [Workloads overview](#dashboard;id=6b38732e-d26b-45c7-b107-ed85e87ff288)" + tile_type = "MARKDOWN" + bounds { + height = 38 + left = 684 + top = 0 + width = 950 + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 1330 + top = 38 + width = 304 + } + filter_config { + type = "MIXED" + custom_name = "Workloads" + default_name = "Custom chart" + chart_config { + type = "PIE" + legend = true + result_metadata { + config { + custom_color = "#008cdb" + key = "null¦Pod phase»Succeeded»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597237249882 + } + config { + custom_color = "#64bd64" + key = "null¦Pod phase»Running»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234642722 + } + config { + custom_color = "#f5d30f" + key = "null¦Pod phase»Pending»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234457744 + } + config { + custom_color = "#ff0000" + key = "null¦Pod phase»Failed»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234118116 + } + config { + custom_color = "#ffa86c" + key = "null¦Deployment type»DaemonSet»falsebuiltin:cloud.kubernetes.namespace.workloads|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION_NAMESPACE" + last_modified = 1597858600132 + } + } + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.workloads" + # sort_ascending = false + sort_column = true + dimension { + name = "Deployment type" + # entity_dimension = false + id = "1" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 988 + top = 38 + width = 342 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Running pods" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + result_metadata { + config { + custom_color = "#008cdb" + key = "null¦Pod phase»Succeeded»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597237249882 + } + config { + custom_color = "#64bd64" + key = "null¦Pod phase»Running»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234642722 + } + config { + custom_color = "#f5d30f" + key = "null¦Pod phase»Pending»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234457744 + } + config { + custom_color = "#ff0000" + key = "null¦Pod phase»Failed»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234118116 + } + config { + custom_color = "#ffa86c" + key = "null¦Deployment type»DaemonSet»falsebuiltin:cloud.kubernetes.namespace.workloads|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION_NAMESPACE" + last_modified = 1597858600132 + } + } + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.runningPods" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.cloud_application_namespace" + entity_dimension = true + id = "0" + } + } + } + } + } +} diff --git a/output/20220126-160653_TERRAFORM/dashboards/Kubernetes namespace resource quotas.6b38732e-609c-44e2-b34d-0286717ecdab..dashboard.tf b/output/20220126-160653_TERRAFORM/dashboards/Kubernetes namespace resource quotas.6b38732e-609c-44e2-b34d-0286717ecdab..dashboard.tf new file mode 100644 index 0000000..380063c --- /dev/null +++ b/output/20220126-160653_TERRAFORM/dashboards/Kubernetes namespace resource quotas.6b38732e-609c-44e2-b34d-0286717ecdab..dashboard.tf @@ -0,0 +1,677 @@ +resource "dynatrace_dashboard" "Kubernetes_namespace_resource_quotas_6b38732e-609c-44e2-b34d-0286717ecdab" { + dashboard_metadata { + name = "Kubernetes namespace resource quotas" + owner = "Dynatrace" + # shared = false + tags = ["Kubernetes"] + dynamic_filters { + filters = ["KUBERNETES_CLUSTER","RELATED_NAMESPACE"] + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 1102 + top = 228 + width = 570 + } + filter_config { + type = "MIXED" + custom_name = "CPU limits quota used" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + left_axis_custom_unit = "MilliCores" + legend = true + result_metadata { + config { + custom_color = "#f5d30f" + key = "nullbuiltin:cloud.kubernetes.namespace.quota.cpuLimits|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION_NAMESPACE" + last_modified = 1597931668482 + } + } + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.quota.usedCpuLimits" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.cloud_application_namespace" + entity_dimension = true + id = "0" + } + dimension { + name = "Resource quota name" + # entity_dimension = false + id = "1" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 1102 + top = 722 + width = 570 + } + filter_config { + type = "MIXED" + custom_name = "Memory limits quota used" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.quota.usedMemoryLimits" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.cloud_application_namespace" + entity_dimension = true + id = "0" + } + dimension { + name = "Resource quota name" + # entity_dimension = false + id = "1" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 152 + left = 0 + top = 76 + width = 418 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "CPU requests quota used" + default_name = "Custom chart" + chart_config { + type = "SINGLE_VALUE" + left_axis_custom_unit = "MilliCores" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.quota.usedCpuRequests" + # sort_ascending = false + sort_column = true + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 0 + top = 722 + width = 266 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Memory requests quota used" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + series { + type = "AREA" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.quota.usedMemoryRequests" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.cloud_application_namespace" + entity_dimension = true + id = "0" + } + dimension { + name = "Resource quota name" + # entity_dimension = false + id = "1" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 0 + top = 228 + width = 266 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "CPU requests quota used" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + left_axis_custom_unit = "MilliCores" + legend = true + series { + type = "AREA" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.quota.usedCpuRequests" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.cloud_application_namespace" + entity_dimension = true + id = "0" + } + dimension { + name = "Resource quota name" + # entity_dimension = false + id = "1" + } + } + } + } + } + tile { + name = "Markdown" + configured = true + markdown = "## Memory request quota" + tile_type = "MARKDOWN" + bounds { + height = 38 + left = 0 + top = 532 + width = 836 + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 266 + top = 228 + width = 570 + } + filter_config { + type = "MIXED" + custom_name = "CPU requests quota used" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + left_axis_custom_unit = "MilliCores" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.quota.usedCpuRequests" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.cloud_application_namespace" + entity_dimension = true + id = "0" + } + dimension { + name = "Resource quota name" + # entity_dimension = false + id = "1" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 836 + top = 228 + width = 266 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "CPU limits quota used" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + left_axis_custom_unit = "MilliCores" + legend = true + result_metadata { + config { + custom_color = "#f5d30f" + key = "nullbuiltin:cloud.kubernetes.namespace.quota.cpuLimits|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION_NAMESPACE" + last_modified = 1597931668482 + } + } + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.quota.usedCpuLimits" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.cloud_application_namespace" + entity_dimension = true + id = "0" + } + dimension { + name = "Resource quota name" + # entity_dimension = false + id = "1" + } + } + } + } + } + tile { + name = "Markdown" + configured = true + markdown = "## CPU requests quota " + tile_type = "MARKDOWN" + bounds { + height = 38 + left = 0 + top = 38 + width = 836 + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 266 + top = 722 + width = 570 + } + filter_config { + type = "MIXED" + custom_name = "Memory requests quota used" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.quota.usedMemoryRequests" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.cloud_application_namespace" + entity_dimension = true + id = "0" + } + dimension { + name = "Resource quota name" + # entity_dimension = false + id = "1" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 836 + top = 722 + width = 266 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Memory limits quota used" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.quota.usedMemoryLimits" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.cloud_application_namespace" + entity_dimension = true + id = "0" + } + dimension { + name = "Resource quota name" + # entity_dimension = false + id = "1" + } + } + } + } + } + tile { + name = "Markdown" + configured = true + markdown = "## Memory limits quota" + tile_type = "MARKDOWN" + bounds { + height = 38 + left = 836 + top = 532 + width = 836 + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 152 + left = 418 + top = 76 + width = 418 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Total CPU requests quota" + default_name = "Custom chart" + chart_config { + type = "SINGLE_VALUE" + left_axis_custom_unit = "MilliCores" + legend = true + series { + type = "AREA" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.quota.cpuRequests" + # sort_ascending = false + sort_column = true + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 152 + left = 836 + top = 76 + width = 418 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "CPU limits quota used" + default_name = "Custom chart" + chart_config { + type = "SINGLE_VALUE" + left_axis_custom_unit = "MilliCores" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.quota.usedCpuLimits" + # sort_ascending = false + sort_column = true + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 152 + left = 1254 + top = 76 + width = 418 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Total CPU limits quota" + default_name = "Custom chart" + chart_config { + type = "SINGLE_VALUE" + left_axis_custom_unit = "MilliCores" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.quota.cpuLimits" + # sort_ascending = false + sort_column = true + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 152 + left = 418 + top = 570 + width = 418 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Total memory requests quota" + default_name = "Custom chart" + chart_config { + type = "SINGLE_VALUE" + left_axis_custom_unit = "MilliCores" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.quota.memoryRequests" + # sort_ascending = false + sort_column = true + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 152 + left = 0 + top = 570 + width = 418 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Total memory requests quota used" + default_name = "Custom chart" + chart_config { + type = "SINGLE_VALUE" + left_axis_custom_unit = "MilliCores" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.quota.usedMemoryRequests" + # sort_ascending = false + sort_column = true + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 152 + left = 836 + top = 570 + width = 418 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Total memory limits quota used" + default_name = "Custom chart" + chart_config { + type = "SINGLE_VALUE" + left_axis_custom_unit = "MilliCores" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.quota.usedMemoryLimits" + # sort_ascending = false + sort_column = true + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 152 + left = 1254 + top = 570 + width = 418 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Total memory limits quota" + default_name = "Custom chart" + chart_config { + type = "SINGLE_VALUE" + left_axis_custom_unit = "MilliCores" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.quota.memoryLimits" + # sort_ascending = false + sort_column = true + } + } + } + } + tile { + name = "Markdown" + configured = true + markdown = "## CPU limits quota" + tile_type = "MARKDOWN" + bounds { + height = 38 + left = 836 + top = 38 + width = 836 + } + } + tile { + name = "Markdown" + configured = true + markdown = "This dashboard provides an overview of your [resource quotas](https://kubernetes.io/docs/concepts/policy/resource-quotas/) by namespace. If the dashboard is empty you might need to setup quotas at the namespace level." + tile_type = "MARKDOWN" + bounds { + height = 38 + left = 0 + top = 0 + width = 1672 + } + } +} diff --git a/output/20220126-160653_TERRAFORM/dashboards/Kubernetes workload overview.6b38732e-d26b-45c7-b107-ed85e87ff288..dashboard.tf b/output/20220126-160653_TERRAFORM/dashboards/Kubernetes workload overview.6b38732e-d26b-45c7-b107-ed85e87ff288..dashboard.tf new file mode 100644 index 0000000..8ef8180 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/dashboards/Kubernetes workload overview.6b38732e-d26b-45c7-b107-ed85e87ff288..dashboard.tf @@ -0,0 +1,697 @@ +resource "dynatrace_dashboard" "Kubernetes_workload_overview_6b38732e-d26b-45c7-b107-ed85e87ff288" { + dashboard_metadata { + name = "Kubernetes workload overview" + owner = "Dynatrace" + # shared = false + tags = ["Kubernetes"] + dynamic_filters { + filters = ["KUBERNETES_CLUSTER","RELATED_CLOUD_APPLICATION","RELATED_NAMESPACE"] + } + } + tile { + name = "Markdown" + configured = true + markdown = "## Pods overview" + tile_type = "MARKDOWN" + bounds { + height = 38 + left = 684 + top = 0 + width = 950 + } + } + tile { + name = "Markdown" + configured = true + markdown = "## Container resource utilization" + tile_type = "MARKDOWN" + bounds { + height = 38 + left = 342 + top = 380 + width = 1292 + } + filter { + timeframe = "Last 2 hours" + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 266 + left = 342 + top = 684 + width = 304 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Top memory hungry containers" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + result_metadata { + config { + custom_color = "#7c38a1" + key = "CLOUD_APPLICATION_NAMESPACE-C61324AA70F57BCB¦CLOUD_APPLICATION_NAMESPACE»CLOUD_APPLICATION_NAMESPACE-C61324AA70F57BCB»truebuiltin:cloud.kubernetes.namespace.memoryRequests|AVG|TOTAL|LINE|CLOUD_APPLICATION_NAMESPACE" + last_modified = 1587982372047 + } + config { + custom_color = "#c9a000" + key = "CLOUD_APPLICATION_NAMESPACE-375040337FEFD0D6¦CLOUD_APPLICATION_NAMESPACE»CLOUD_APPLICATION_NAMESPACE-375040337FEFD0D6»truebuiltin:cloud.kubernetes.namespace.memoryRequests|AVG|TOTAL|LINE|CLOUD_APPLICATION_NAMESPACE" + last_modified = 1587982380102 + } + } + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "CONTAINER_GROUP_INSTANCE" + metric = "builtin:containers.memory.residentSetBytes" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.container_group_instance" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 266 + left = 342 + top = 418 + width = 304 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Top CPU intensive containers" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "CONTAINER_GROUP_INSTANCE" + metric = "builtin:containers.cpu.usageMilliCores" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.container_group_instance" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 532 + left = 0 + top = 418 + width = 304 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Running pods" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + result_metadata { + config { + custom_color = "#008cdb" + key = "null¦Pod phase»Succeeded»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597237249882 + } + config { + custom_color = "#64bd64" + key = "null¦Pod phase»Running»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234642722 + } + config { + custom_color = "#f5d30f" + key = "null¦Pod phase»Pending»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234457744 + } + config { + custom_color = "#ff0000" + key = "null¦Pod phase»Failed»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234118116 + } + config { + custom_color = "#ffa86c" + key = "null¦Deployment type»DaemonSet»falsebuiltin:cloud.kubernetes.namespace.workloads|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION_NAMESPACE" + last_modified = 1597858600132 + } + } + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.runningPods" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.cloud_application_namespace" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 266 + left = 1140 + top = 418 + width = 494 + } + filter_config { + type = "MIXED" + custom_name = "Container CPU throttling" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "CONTAINER_GROUP_INSTANCE" + metric = "builtin:containers.cpu.throttledMilliCores" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.container_group_instance" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 152 + left = 912 + top = 190 + width = 266 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Pending pods" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION" + metric = "builtin:cloud.kubernetes.workload.pods" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.cloud_application" + entity_dimension = true + id = "0" + } + dimension { + name = "Pod phase" + # entity_dimension = false + id = "1" + values = ["Pending"] + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 684 + top = 38 + width = 228 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Pods" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + result_metadata { + config { + custom_color = "#008cdb" + key = "null¦Pod phase»Succeeded»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597237249882 + } + config { + custom_color = "#64bd64" + key = "null¦Pod phase»Running»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234642722 + } + config { + custom_color = "#f5d30f" + key = "null¦Pod phase»Pending»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234457744 + } + config { + custom_color = "#ff0000" + key = "null¦Pod phase»Failed»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234118116 + } + } + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION" + metric = "builtin:cloud.kubernetes.workload.pods" + # sort_ascending = false + sort_column = true + dimension { + name = "Pod phase" + # entity_dimension = false + id = "1" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 152 + left = 912 + top = 38 + width = 266 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Failed pods" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + series { + type = "AREA" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION" + metric = "builtin:cloud.kubernetes.workload.pods" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.cloud_application" + entity_dimension = true + id = "0" + } + dimension { + name = "Pod phase" + # entity_dimension = false + id = "1" + values = ["Failed"] + } + dimension { + name = "Reason" + # entity_dimension = false + id = "2" + } + } + } + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 266 + left = 1330 + top = 684 + width = 304 + } + filter_config { + type = "MIXED" + custom_name = "Out of memory containers" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + series { + type = "BAR" + aggregation = "NONE" + aggregation_rate = "TOTAL" + entity_type = "CONTAINER_GROUP_INSTANCE" + metric = "builtin:containers.memory.outOfMemoryKills" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.container_group_instance" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 266 + left = 646 + top = 418 + width = 494 + } + filter_config { + type = "MIXED" + custom_name = "Total CPU usage vs throttling" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CONTAINER_GROUP_INSTANCE" + metric = "builtin:containers.cpu.throttledMilliCores" + # sort_ascending = false + # sort_column = false + } + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CONTAINER_GROUP_INSTANCE" + metric = "builtin:containers.cpu.usageMilliCores" + # sort_ascending = false + sort_column = true + } + } + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 266 + left = 646 + top = 684 + width = 684 + } + filter_config { + type = "MIXED" + custom_name = "Memory usage and OOM containers" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CONTAINER_GROUP_INSTANCE" + metric = "builtin:containers.memory.residentSetBytes" + # sort_ascending = false + # sort_column = false + dimension { + name = "dt.entity.container_group_instance" + entity_dimension = true + id = "0" + } + } + series { + type = "BAR" + aggregation = "NONE" + aggregation_rate = "TOTAL" + entity_type = "CONTAINER_GROUP_INSTANCE" + metric = "builtin:containers.memory.outOfMemoryKills" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.container_group_instance" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "Markdown" + configured = true + markdown = "## Workloads by type" + tile_type = "MARKDOWN" + bounds { + height = 38 + left = 0 + top = 0 + width = 684 + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 0 + top = 38 + width = 228 + } + filter { + timeframe = "-5m" + } + filter_config { + type = "MIXED" + custom_name = "Workloads" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + result_metadata { + config { + custom_color = "#008cdb" + key = "null¦Pod phase»Succeeded»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597237249882 + } + config { + custom_color = "#64bd64" + key = "null¦Pod phase»Running»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234642722 + } + config { + custom_color = "#f5d30f" + key = "null¦Pod phase»Pending»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234457744 + } + config { + custom_color = "#ff0000" + key = "null¦Pod phase»Failed»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234118116 + } + config { + custom_color = "#ffa86c" + key = "null¦Deployment type»DaemonSet»falsebuiltin:cloud.kubernetes.namespace.workloads|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION_NAMESPACE" + last_modified = 1597858600132 + } + } + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.workloads" + # sort_ascending = false + sort_column = true + dimension { + name = "Deployment type" + # entity_dimension = false + id = "1" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 228 + top = 38 + width = 456 + } + filter_config { + type = "MIXED" + custom_name = "Workloads" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + result_metadata { + config { + custom_color = "#008cdb" + key = "null¦Pod phase»Succeeded»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597237249882 + } + config { + custom_color = "#64bd64" + key = "null¦Pod phase»Running»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234642722 + } + config { + custom_color = "#f5d30f" + key = "null¦Pod phase»Pending»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234457744 + } + config { + custom_color = "#ff0000" + key = "null¦Pod phase»Failed»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234118116 + } + config { + custom_color = "#ffa86c" + key = "null¦Deployment type»DaemonSet»falsebuiltin:cloud.kubernetes.namespace.workloads|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION_NAMESPACE" + last_modified = 1597858600132 + } + } + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION_NAMESPACE" + metric = "builtin:cloud.kubernetes.namespace.workloads" + # sort_ascending = false + sort_column = true + dimension { + name = "Deployment type" + # entity_dimension = false + id = "1" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 1178 + top = 38 + width = 456 + } + filter_config { + type = "MIXED" + custom_name = "Pods" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + result_metadata { + config { + custom_color = "#008cdb" + key = "null¦Pod phase»Succeeded»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597237249882 + } + config { + custom_color = "#64bd64" + key = "null¦Pod phase»Running»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234642722 + } + config { + custom_color = "#f5d30f" + key = "null¦Pod phase»Pending»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234457744 + } + config { + custom_color = "#ff0000" + key = "null¦Pod phase»Failed»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION" + last_modified = 1597234118116 + } + } + series { + type = "LINE" + aggregation = "SUM_DIMENSIONS" + aggregation_rate = "TOTAL" + entity_type = "CLOUD_APPLICATION" + metric = "builtin:cloud.kubernetes.workload.pods" + # sort_ascending = false + sort_column = true + dimension { + name = "Pod phase" + # entity_dimension = false + id = "1" + } + } + } + } + } + tile { + name = "Markdown" + configured = true + markdown = "## Pods per namespace" + tile_type = "MARKDOWN" + bounds { + height = 38 + left = 0 + top = 380 + width = 304 + } + } +} diff --git a/output/20220126-160653_TERRAFORM/dashboards/New dashboard (Nov 26, 2021 08_54_43).7a34f10c-fb29-41ec-9f4f-be858e86f2bb..dashboard.tf b/output/20220126-160653_TERRAFORM/dashboards/New dashboard (Nov 26, 2021 08_54_43).7a34f10c-fb29-41ec-9f4f-be858e86f2bb..dashboard.tf new file mode 100644 index 0000000..3c6cff4 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/dashboards/New dashboard (Nov 26, 2021 08_54_43).7a34f10c-fb29-41ec-9f4f-be858e86f2bb..dashboard.tf @@ -0,0 +1,18 @@ +resource "dynatrace_dashboard" "New_dashboard__Nov_26__2021_08_54_43__7a34f10c-fb29-41ec-9f4f-be858e86f2bb" { + dashboard_metadata { + name = "New dashboard (Nov 26, 2021 08:54:43)" + owner = "Dennis.Schmid@partner.bmw.de" + # shared = false + } +} +resource "dynatrace_dashboard_sharing" "New_dashboard__Nov_26__2021_08_54_43__7a34f10c-fb29-41ec-9f4f-be858e86f2bb" { + # enabled = false + dashboard_id = "7a34f10c-fb29-41ec-9f4f-be858e86f2bb" + # preset = false + permissions { + permission { + type = "ALL" + level = "VIEW" + } + } +} diff --git a/output/20220126-160653_TERRAFORM/dashboards/Real User Monitoring.c704bd72-92e9-452a-b40e-73e6f4df9f08..dashboard.tf b/output/20220126-160653_TERRAFORM/dashboards/Real User Monitoring.c704bd72-92e9-452a-b40e-73e6f4df9f08..dashboard.tf new file mode 100644 index 0000000..76fb7a5 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/dashboards/Real User Monitoring.c704bd72-92e9-452a-b40e-73e6f4df9f08..dashboard.tf @@ -0,0 +1,1228 @@ +resource "dynatrace_dashboard" "Real_User_Monitoring_c704bd72-92e9-452a-b40e-73e6f4df9f08" { + dashboard_metadata { + name = "Real User Monitoring" + owner = "Dynatrace" + # shared = false + tags = ["Applications","Reporting"] + unknowns = "{\"popularity\":10}" + filter { + timeframe = "e_-24h to now" + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 266 + left = 798 + top = 646 + width = 380 + } + filter_config { + type = "MIXED" + custom_name = "Web applications" + default_name = "Custom chart" + chart_config { + type = "PIE" + legend = true + result_metadata { + config { + custom_color = "#2ab06f" + key = "null¦Apdex category»SATISFIED»falsebuiltin:apps.web.actionCount.category|NONE|TOTAL|LINE|APPLICATION" + last_modified = 1576250669259 + } + config { + custom_color = "#dc172a" + key = "null¦Apdex category»FRUSTRATED»falsebuiltin:apps.web.actionCount.category|NONE|TOTAL|LINE|APPLICATION" + last_modified = 1576250647244 + } + config { + custom_color = "#f5d30f" + key = "null¦Apdex category»TOLERATING»falsebuiltin:apps.web.actionCount.category|NONE|TOTAL|LINE|APPLICATION" + last_modified = 1592937338597 + } + config { + custom_color = "#f5d30f" + key = "null¦Apdex category»UNKNOWN»falsebuiltin:apps.web.actionCount.category|NONE|TOTAL|LINE|APPLICATION" + last_modified = 1576250655779 + } + } + series { + type = "LINE" + aggregation = "NONE" + aggregation_rate = "TOTAL" + entity_type = "APPLICATION" + metric = "builtin:apps.web.actionCount.category" + # sort_ascending = false + sort_column = true + dimension { + name = "Apdex category" + # entity_dimension = false + id = "1" + values = ["FRUSTRATED","SATISFIED","TOLERATING"] + } + } + } + } + } + tile { + name = "Application health" + chart_visible = true + configured = true + tile_type = "APPLICATIONS" + bounds { + height = 380 + left = 532 + top = 114 + width = 494 + } + } + tile { + name = "World map" + configured = true + metric = "APDEX" + tile_type = "APPLICATION_WORLDMAP" + bounds { + height = 304 + left = 0 + top = 1102 + width = 456 + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 266 + left = 1178 + top = 646 + width = 380 + } + filter_config { + type = "MIXED" + custom_name = "Mobile applications" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + result_metadata { + config { + custom_color = "#2ab06f" + key = "null¦Apdex category»SATISFIED»falsebuiltin:apps.other.uaCount.osAndApdex|NONE|TOTAL|BAR|MONITORED_ENTITY˟DEVICE_APPLICATION" + last_modified = 1592937498035 + } + config { + custom_color = "#2ab06f" + key = "null¦Apdex category»SATISFIED»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|LINE|APPLICATION" + last_modified = 1576250669259 + } + config { + custom_color = "#2ab06f" + key = "null¦Apdex category»SATISFIED»falsebuiltin:apps.web.actionCount.category|NONE|TOTAL|LINE|APPLICATION" + last_modified = 1575375405694 + } + config { + custom_color = "#dc172a" + key = "null¦Apdex category»FRUSTRATED»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|LINE|APPLICATION" + last_modified = 1576250647244 + } + config { + custom_color = "#dc172a" + key = "null¦Apdex category»FRUSTRATED»falsebuiltin:apps.web.actionCount.category|NONE|TOTAL|LINE|APPLICATION" + last_modified = 1575375425837 + } + config { + custom_color = "#dc172a" + key = "null¦Apdex category»TOLERATING»falsebuiltin:apps.other.uaCount.osAndApdex|NONE|TOTAL|BAR|MONITORED_ENTITY˟DEVICE_APPLICATION" + last_modified = 1592937505976 + } + config { + custom_color = "#edd148" + key = "null¦Apdex category»FRUSTRATED»falsebuiltin:apps.other.uaCount.osAndApdex|NONE|TOTAL|BAR|MONITORED_ENTITY˟DEVICE_APPLICATION" + last_modified = 1592937635068 + } + config { + custom_color = "#ef651f" + key = "null¦Apdex category»TOLERATING»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|LINE|APPLICATION" + last_modified = 1576250636502 + } + config { + custom_color = "#ef651f" + key = "null¦Apdex category»TOLERATING»falsebuiltin:apps.web.actionCount.category|NONE|TOTAL|LINE|APPLICATION" + last_modified = 1575375418110 + } + config { + custom_color = "#f5d30f" + key = "null¦Apdex category»UNKNOWN»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|LINE|APPLICATION" + last_modified = 1576250655779 + } + config { + custom_color = "#f5d30f" + key = "null¦Apdex category»UNKNOWN»falsebuiltin:apps.web.actionCount.category|NONE|TOTAL|LINE|APPLICATION" + last_modified = 1575375365362 + } + } + series { + type = "BAR" + aggregation = "NONE" + aggregation_rate = "TOTAL" + entity_type = "MONITORED_ENTITY˟DEVICE_APPLICATION" + metric = "builtin:apps.other.uaCount.osAndApdex" + # sort_ascending = false + sort_column = true + dimension { + name = "Apdex category" + # entity_dimension = false + id = "2" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 494 + top = 1102 + width = 456 + } + filter_config { + type = "MIXED" + custom_name = "Top mobile geo locations" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + result_metadata { + config { + custom_color = "#7c38a1" + key = "APPLICATION-C93B8002996906CD¦APPLICATION»APPLICATION-C93B8002996906CD»truebuiltin:apps.web.actionCount.category|NONE|TOTAL|LINE|APPLICATION" + last_modified = 1575466081357 + } + config { + custom_color = "#a972cc" + key = "nullbuiltin:apps.web.actionCount.category|NONE|MINUTE|LINE|APPLICATION" + last_modified = 1576250713592 + } + config { + custom_color = "#a972cc" + key = "nullbuiltin:apps.web.actionCount.category|NONE|TOTAL|LINE|APPLICATION" + last_modified = 1575466119629 + } + } + series { + type = "LINE" + aggregation = "NONE" + aggregation_rate = "TOTAL" + entity_type = "MONITORED_ENTITY˟DEVICE_APPLICATION" + metric = "builtin:apps.other.uaCount.geoAndApdex" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.geolocation" + entity_dimension = true + id = "1" + values = ["GEOLOCATION-EF77F2A17134795A","GEOLOCATION-5A3E928A9D35F3C4","GEOLOCATION-970B6D0A98F55995","GEOLOCATION-BF80BDA05D7783CF","GEOLOCATION-6919A3D55EFC157F","GEOLOCATION-532BF776D70A146F"] + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 1102 + top = 2432 + width = 456 + } + filter_config { + type = "MIXED" + custom_name = "Mobile app crashes" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + result_metadata { + config { + custom_color = "#ef651f" + key = "nullbuiltin:apps.other.crashCount.osAndVersion|NONE|TOTAL|BAR|MONITORED_ENTITY˟DEVICE_APPLICATION" + last_modified = 1594892171951 + } + } + series { + type = "BAR" + aggregation = "NONE" + aggregation_rate = "TOTAL" + entity_type = "MONITORED_ENTITY˟DEVICE_APPLICATION" + metric = "builtin:apps.other.crashCount.osAndVersion" + # sort_ascending = false + sort_column = true + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 380 + left = 1064 + top = 114 + width = 494 + } + filter_config { + type = "MIXED" + custom_name = "User actions per minute" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + result_metadata { + config { + custom_color = "#2ab06f" + key = "null¦Apdex category»SATISFIED»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|AREA|APPLICATION" + last_modified = 1592937309469 + } + config { + custom_color = "#dc172a" + key = "null¦Apdex category»FRUSTRATED»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|AREA|APPLICATION" + last_modified = 1592937317653 + } + config { + custom_color = "#edd148" + key = "null¦Apdex category»TOLERATING»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|AREA|APPLICATION" + last_modified = 1592937616228 + } + } + series { + type = "AREA" + aggregation = "NONE" + aggregation_rate = "MINUTE" + entity_type = "MONITORED_ENTITY˟DEVICE_APPLICATION" + metric = "builtin:apps.other.uaCount.osAndVersion" + # sort_ascending = false + sort_column = true + } + series { + type = "AREA" + aggregation = "NONE" + aggregation_rate = "MINUTE" + entity_type = "APPLICATION" + metric = "builtin:apps.web.actionCount.category" + # sort_ascending = false + sort_column = true + } + } + } + } + tile { + name = "Markdown" + configured = true + markdown = "Always be up-to-date with the health and availability of your mobile application by [tracking crashes and downtime](https://www.dynatrace.com/support/help/shortlink/mobile-crash-reports)." + tile_type = "MARKDOWN" + bounds { + height = 76 + left = 1102 + top = 2736 + width = 456 + } + } + tile { + name = "Markdown" + configured = true + markdown = "Many out-of-the-box metrics can be split according to geo location, like user sessions, crashes, or number of mobile user actions. Geo locations can be shown according to continents, countries, or cities." + tile_type = "MARKDOWN" + bounds { + height = 114 + left = 494 + top = 1406 + width = 456 + } + } + tile { + name = "Markdown" + configured = true + markdown = "Dynatrace calculates [Apdex ratings](https://www.dynatrace.com/support/help/shortlink/apdex) to provide you with a single metric that tells you about the performance of your application and the errors that impact user experience. Apdex thresholds can be adjusted for each application as well as key user actions." + tile_type = "MARKDOWN" + bounds { + height = 114 + left = 798 + top = 912 + width = 760 + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 608 + top = 2432 + width = 456 + } + filter_config { + type = "MIXED" + custom_name = "Web application errors" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + result_metadata { + config { + custom_color = "#00a1b2" + key = "null¦Error type»Request»falsebuiltin:apps.web.countOfErrors|NONE|TOTAL|BAR|APPLICATION" + last_modified = 1594892194668 + } + config { + custom_color = "#c9a000" + key = "null¦Error type»Custom»falsebuiltin:apps.web.countOfErrors|NONE|TOTAL|BAR|APPLICATION" + last_modified = 1594892201170 + } + config { + custom_color = "#debbf3" + key = "null¦Error type»JavaScript»falsebuiltin:apps.web.countOfErrors|NONE|TOTAL|BAR|APPLICATION" + last_modified = 1594892186342 + } + } + series { + type = "BAR" + aggregation = "NONE" + aggregation_rate = "TOTAL" + entity_type = "APPLICATION" + metric = "builtin:apps.web.countOfErrors" + # sort_ascending = false + sort_column = true + dimension { + name = "Error type" + # entity_dimension = false + id = "2" + } + } + } + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 304 + top = 646 + width = 456 + } + filter_config { + type = "MIXED" + custom_name = "Key user actions with low Apdex rating " + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "APPLICATION_METHOD" + metric = "builtin:apps.web.action.apdex" + sort_ascending = true + sort_column = true + dimension { + name = "dt.entity.application_method" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "Markdown" + configured = true + markdown = "[Key user actions](https://www.dynatrace.com/support/help/shortlink/user-actions#key-user-actions) help you keep an eye on your most important user actions, such as signups, checkouts and product searches. Custom Apdex thresholds can be set for each user action, and key performance metrics can be charted for these too." + tile_type = "MARKDOWN" + bounds { + height = 76 + left = 0 + top = 950 + width = 760 + } + } + tile { + name = "User experience" + configured = true + tile_type = "HEADER" + bounds { + height = 38 + left = 798 + top = 608 + width = 760 + } + } + tile { + name = "Markdown" + configured = true + markdown = <<-EOT + Dynatrace automatically captures JavaScript and HTTP errors. Custom errors can also be reported [using our JavaScript API](https://www.dynatrace.com/support/help/shortlink/configure-application-errors#configure-custom-errors). + Learn more about [analyzing issues with our HTTP error monitoring](https://www.dynatrace.com/news/blog/extended-davis-awareness-of-http-and-custom-errors/). + EOT + tile_type = "MARKDOWN" + bounds { + height = 76 + left = 608 + top = 2736 + width = 456 + } + } + tile { + name = "Markdown" + configured = true + markdown = "The world map tile can show real-user metrics like the [Apdex](https://www.dynatrace.com/support/help/shortlink/apdex) ratings of your web or mobile applications. Alternatively, configure this to reflect a specific application, or click to navigate to the world map analysis screen. " + tile_type = "MARKDOWN" + bounds { + height = 114 + left = 0 + top = 1406 + width = 456 + } + } + tile { + name = "Markdown" + configured = true + markdown = "Dynatrace captures [user actions](https://www.dynatrace.com/support/help/shortlink/user-actions) for all monitored web and mobile applications. A user action can be a load action, an XHR action, or a custom action. The action duration is calculated differently for each action type, and each type has different metrics available." + tile_type = "MARKDOWN" + bounds { + height = 114 + left = 1064 + top = 494 + width = 494 + } + } + tile { + name = "Markdown" + configured = true + markdown = <<-EOT + The purpose of this pre-set dashboard is to inspire and to show you some useful out-of-the-box [tiles](https://www.dynatrace.com/support/help/shortlink/pin-to-dashboard) and [custom charts](https://www.dynatrace.com/support/help/shortlink/charts-create) that you can use to monitor your applications. + If it's empty you might want to change the [management zone](https://www.dynatrace.com/support/help/shortlink/management-zones-hub). + EOT + tile_type = "MARKDOWN" + bounds { + height = 76 + left = 0 + top = 0 + width = 1558 + } + } + tile { + name = "Key user action overview" + assigned_entities = ["APPLICATION-EA7C4B59F27D43EB"] + configured = true + tile_type = "UEM_KEY_USER_ACTIONS" + bounds { + height = 304 + left = 0 + top = 646 + width = 304 + } + } + tile { + name = "Geo locations" + configured = true + tile_type = "HEADER" + bounds { + height = 38 + left = 0 + top = 1064 + width = 950 + } + } + tile { + name = "Application health" + configured = true + tile_type = "HEADER" + bounds { + height = 38 + left = 532 + top = 76 + width = 494 + } + } + tile { + name = "User actions" + configured = true + tile_type = "HEADER" + bounds { + height = 38 + left = 1064 + top = 76 + width = 494 + } + } + tile { + name = "Application errors and crashes" + configured = true + tile_type = "HEADER" + bounds { + height = 38 + left = 608 + top = 2394 + width = 950 + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 988 + top = 1482 + width = 266 + } + filter_config { + type = "MIXED" + custom_name = "Key performance metrics" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + result_metadata { + config { + custom_color = "#2ab06f" + key = "null¦Apdex category»SATISFIED»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|AREA|APPLICATION" + last_modified = 1592937309469 + } + config { + custom_color = "#dc172a" + key = "null¦Apdex category»FRUSTRATED»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|AREA|APPLICATION" + last_modified = 1592937317653 + } + config { + custom_color = "#edd148" + key = "null¦Apdex category»TOLERATING»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|AREA|APPLICATION" + last_modified = 1592937616228 + } + } + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "APPLICATION" + metric = "builtin:apps.web.visuallyComplete.load.browser" + # sort_ascending = false + sort_column = true + } + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "APPLICATION" + metric = "builtin:apps.web.domInteractive.load.browser" + # sort_ascending = false + # sort_column = false + } + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "APPLICATION" + metric = "builtin:apps.web.speedIndex.load.browser" + # sort_ascending = false + # sort_column = false + } + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "APPLICATION" + metric = "builtin:apps.web.firstByte.load.browser" + # sort_ascending = false + # sort_column = false + } + } + } + } + tile { + name = "Funnel chart" + configured = true + tile_type = "HEADER" + bounds { + height = 38 + left = 0 + top = 1900 + width = 570 + } + } + tile { + name = "User Sessions Query" + configured = true + custom_name = "User sessions query results" + limit = 50 + query = "SELECT FUNNEL(useraction.isEntryAction = true AS \"First step\", useraction.duration\u003e1000 AS \"Second step\", useraction.isExitAction=true AS \"Last step\") FROM usersession" + tile_type = "DTAQL" + visualization = "FUNNEL" + bounds { + height = 342 + left = 0 + top = 1938 + width = 570 + } + } + tile { + name = "Markdown" + configured = true + markdown = "Understand and optimize your users’ journeys through your application with the [funnel chart](https://www.dynatrace.com/news/blog/understand-and-optimize-user-journeys-with-funnel-charting/), which helps you analyze the conversion rates for important workflows." + tile_type = "MARKDOWN" + bounds { + height = 76 + left = 0 + top = 2280 + width = 570 + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 988 + top = 1102 + width = 266 + } + filter_config { + type = "MIXED" + custom_name = "Visually complete" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + result_metadata { + config { + custom_color = "#2ab06f" + key = "null¦Apdex category»SATISFIED»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|AREA|APPLICATION" + last_modified = 1592937309469 + } + config { + custom_color = "#dc172a" + key = "null¦Apdex category»FRUSTRATED»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|AREA|APPLICATION" + last_modified = 1592937317653 + } + config { + custom_color = "#edd148" + key = "null¦Apdex category»TOLERATING»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|AREA|APPLICATION" + last_modified = 1592937616228 + } + } + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "APPLICATION_METHOD" + metric = "builtin:apps.web.action.visuallyComplete.load.browser" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.browser" + entity_dimension = true + id = "1" + values = ["BROWSER-EFB8A292CB368A8D","BROWSER-FF8EAE6885DE87B3","BROWSER-84D34A4F1D5F0E12","BROWSER-2A6F794139C73155"] + } + } + } + } + } + tile { + name = "Web requests and 3rd party providers" + configured = true + tile_type = "HEADER" + bounds { + height = 38 + left = 608 + top = 1900 + width = 950 + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 950 + top = 1976 + width = 304 + } + filter_config { + type = "MIXED" + custom_name = "Mobile request error rate" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + series { + type = "LINE" + aggregation = "NONE" + aggregation_rate = "TOTAL" + entity_type = "MONITORED_ENTITY˟DEVICE_APPLICATION" + metric = "builtin:apps.other.requestErrorRate.osAndProvider" + # sort_ascending = false + sort_column = true + dimension { + name = "Provider" + # entity_dimension = false + id = "3" + } + } + } + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 1254 + top = 1976 + width = 304 + } + filter_config { + type = "MIXED" + custom_name = "Mobile request duration" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + series { + type = "LINE" + aggregation = "PERCENTILE" + aggregation_rate = "TOTAL" + entity_type = "MONITORED_ENTITY˟DEVICE_APPLICATION" + metric = "builtin:apps.other.requestTimes.osAndProvider" + percentile = 50 + # sort_ascending = false + sort_column = true + dimension { + name = "Provider" + # entity_dimension = false + id = "3" + } + } + } + } + } + tile { + name = "Markdown" + configured = true + markdown = "Get insight into the number of failed requests to content and backend services, regardless of who owns them." + tile_type = "MARKDOWN" + bounds { + height = 76 + left = 950 + top = 2280 + width = 304 + } + } + tile { + name = "User sessions and Session Replay" + configured = true + tile_type = "HEADER" + bounds { + height = 38 + left = 0 + top = 1558 + width = 950 + } + } + tile { + name = "Synthetic monitoring" + configured = true + tile_type = "HEADER" + bounds { + height = 38 + left = 0 + top = 2394 + width = 570 + } + } + tile { + name = "User Sessions Query" + configured = true + custom_name = "User sessions query results" + limit = 50 + query = "SELECT userSessionId, userExperienceScore, hasSessionReplay FROM usersession ORDER by hasSessionReplay DESC, userExperienceScore" + tile_type = "DTAQL" + visualization = "TABLE" + bounds { + height = 190 + left = 304 + top = 1596 + width = 342 + } + } + tile { + name = "Performance metrics across different dimensions" + configured = true + tile_type = "HEADER" + bounds { + height = 38 + left = 988 + top = 1064 + width = 570 + } + } + tile { + name = "Key user actions" + configured = true + tile_type = "HEADER" + bounds { + height = 38 + left = 0 + top = 608 + width = 760 + } + } + tile { + name = "Most used 3rd parties" + configured = true + tile_type = "THIRD_PARTY_MOST_ACTIVE" + bounds { + height = 304 + left = 608 + top = 1976 + width = 304 + } + } + tile { + name = "Markdown" + configured = true + markdown = "Dynatrace captures W3C resource timings to give you detailed performance breakdowns of your web application's 3rd parties." + tile_type = "MARKDOWN" + bounds { + height = 76 + left = 608 + top = 2280 + width = 304 + } + } + tile { + name = "Markdown" + configured = true + markdown = "Use [Session Replay](https://www.dynatrace.com/support/help/shortlink/session-replay) to capture and visually replay your users' complete digital experience. The movie-like playback of Session Replay helps you bridge the gap between code and user experience, by helping you identify errors and analyze areas of struggle." + tile_type = "MARKDOWN" + bounds { + height = 76 + left = 0 + top = 1786 + width = 950 + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 1292 + top = 1102 + width = 266 + } + filter_config { + type = "MIXED" + custom_name = "Mobile action duration" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + result_metadata { + config { + custom_color = "#2ab06f" + key = "null¦Apdex category»SATISFIED»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|AREA|APPLICATION" + last_modified = 1592937309469 + } + config { + custom_color = "#dc172a" + key = "null¦Apdex category»FRUSTRATED»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|AREA|APPLICATION" + last_modified = 1592937317653 + } + config { + custom_color = "#edd148" + key = "null¦Apdex category»TOLERATING»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|AREA|APPLICATION" + last_modified = 1592937616228 + } + } + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "MONITORED_ENTITY˟DEVICE_APPLICATION" + metric = "builtin:apps.other.uaDuration.osAndVersion" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.os" + entity_dimension = true + id = "1" + } + } + } + } + } + tile { + name = "Markdown" + configured = true + markdown = "With Dynatrace, you can compare [key performance metrics](https://www.dynatrace.com/support/help/shortlink/user-action-metrics#key-performance-metrics) for every user action, and action duration can be charted across different app versions." + tile_type = "MARKDOWN" + bounds { + height = 76 + left = 988 + top = 1786 + width = 570 + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 1292 + top = 1482 + width = 266 + } + filter_config { + type = "MIXED" + custom_name = "Mobile app versions" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + result_metadata { + config { + custom_color = "#2ab06f" + key = "null¦Apdex category»SATISFIED»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|AREA|APPLICATION" + last_modified = 1592937309469 + } + config { + custom_color = "#dc172a" + key = "null¦Apdex category»FRUSTRATED»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|AREA|APPLICATION" + last_modified = 1592937317653 + } + config { + custom_color = "#edd148" + key = "null¦Apdex category»TOLERATING»falsebuiltin:apps.web.actionCount.category|NONE|MINUTE|AREA|APPLICATION" + last_modified = 1592937616228 + } + } + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "MONITORED_ENTITY˟DEVICE_APPLICATION" + metric = "builtin:apps.other.uaDuration.osAndVersion" + # sort_ascending = false + sort_column = true + dimension { + name = "App Version" + # entity_dimension = false + id = "2" + } + } + } + } + } + tile { + name = "User Sessions Query" + configured = true + custom_name = "Sessions with replay" + limit = 50 + query = "SELECT count(*) FROM usersession where hasSessionReplay=true" + tile_type = "DTAQL" + time_frame_shift = "dynamic" + visualization = "SINGLE_VALUE" + bounds { + height = 190 + left = 646 + top = 1596 + width = 304 + } + } + tile { + name = "User Sessions Query" + configured = true + custom_name = "Total sessions" + limit = 50 + query = "SELECT count(userSessionId) FROM usersession " + tile_type = "DTAQL" + time_frame_shift = "dynamic" + visualization = "SINGLE_VALUE" + bounds { + height = 190 + left = 0 + top = 1596 + width = 304 + } + } + tile { + name = "Browser monitor" + # configured = false + # exclude_maintenance_windows = false + tile_type = "SYNTHETIC_SINGLE_WEBCHECK" + bounds { + height = 304 + left = 266 + top = 2432 + width = 304 + } + } + tile { + name = "Synthetic monitor health" + chart_visible = true + configured = true + tile_type = "SYNTHETIC_TESTS" + bounds { + height = 304 + left = 0 + top = 2432 + width = 266 + } + } + tile { + name = "Markdown" + configured = true + markdown = <<-EOT + ## Defining applications + + Dynatrace groups front-end monitoring data into [applications](https://www.dynatrace.com/support/help/shortlink/rum-application-concept). Dynatrace monitors both web applications and mobile apps. + EOT + tile_type = "MARKDOWN" + bounds { + height = 114 + left = 0 + top = 76 + width = 494 + } + } + tile { + name = "Markdown" + configured = true + markdown = <<-EOT + ## Web applications + + Web application are monitored with the JavaScript tag which is automatically injected by our OneAgent. By default, all monitoring data is grouped into [My web application](https://www.dynatrace.com/support/help/shortlink/my-web-application). You can change the [application detection rules](#settings/rum/webappmonitoring;gf=all;gtf=-24h%20to%20now) to define your own applications. + + If you don't have access to your web server and therefore can't install OneAgent, [manually insert](#install/agentless;gf=all) the JavaScript tag into your web pages. + EOT + tile_type = "MARKDOWN" + bounds { + height = 228 + left = 0 + top = 190 + width = 494 + } + } + tile { + name = "Markdown" + configured = true + markdown = <<-EOT + ## Mobile apps + + Dynatrace provides auto- instrumentation for Android and iOS apps with easy manual extension and supports cross-platform frameworks like Cordova, Flutter, Xamarin or React Native. Start monitoring your apps by deploying [OneAgent for Mobile](#mobile;gf=all). + EOT + tile_type = "MARKDOWN" + bounds { + height = 152 + left = 0 + top = 418 + width = 494 + } + } + tile { + name = "Markdown" + configured = true + markdown = <<-EOT + Synthetic monitors are a great addition to RUM, since they help identify problems before real users are affected. Synthetic browser and HTTP monitors also monitor performance baselines in a clean room environment. + [Create a synthetic monitor](#newhttpmonitorwizard;gf=all) now. + EOT + tile_type = "MARKDOWN" + bounds { + height = 76 + left = 0 + top = 2736 + width = 570 + } + } + tile { + name = "Markdown" + configured = true + markdown = "Dynatrace uses the MaxMind database to map IP addresses to geo locations. Additional IP addresses can be mapped to [custom locations](#settings/rum/geographiclocations;gf=all)." + tile_type = "MARKDOWN" + bounds { + height = 38 + left = 0 + top = 1520 + width = 950 + } + } + tile { + name = "Markdown" + configured = true + markdown = <<-EOT + The [application health](https://www.dynatrace.com/support/help/shortlink/problems-hub) provides an overview of all applications that have open problems. These problems and their root causes are detected automatically. + Adjust the [global anomaly detection](#settings/anomalydetection/appl) for applications to fine-tune what Davis reports as problems. + EOT + tile_type = "MARKDOWN" + bounds { + height = 114 + left = 532 + top = 494 + width = 494 + } + } + tile { + name = "Markdown" + configured = true + markdown = "Dynatrace auto-detects over [1,000 content providers out-of-the-box](#settings/rum/providerbreakdown;gf=all), including Google, Amazon, Facebook, and many more." + tile_type = "MARKDOWN" + bounds { + height = 38 + left = 608 + top = 1938 + width = 950 + } + } + tile { + name = "Markdown" + configured = true + markdown = "[Performance metrics](https://www.dynatrace.com/support/help/shortlink/user-action-metrics#key-performance-metrics) differ across various browsers and platforms. Track the consistency of the performance of your web and mobile apps by charting metrics according to browsers and operating systems." + tile_type = "MARKDOWN" + bounds { + height = 76 + left = 988 + top = 1406 + width = 570 + } + } + tile { + name = "Markdown" + configured = true + markdown = "Get insight into the duration requests to content and backend services, regardless of who owns them." + tile_type = "MARKDOWN" + bounds { + height = 76 + left = 1254 + top = 2280 + width = 304 + } + } +} diff --git a/output/20220126-160653_TERRAFORM/dashboards/Synthetic Monitoring.b6fc0160-9332-454f-a7bc-7217b2ae540c..dashboard.tf b/output/20220126-160653_TERRAFORM/dashboards/Synthetic Monitoring.b6fc0160-9332-454f-a7bc-7217b2ae540c..dashboard.tf new file mode 100644 index 0000000..78dbb25 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/dashboards/Synthetic Monitoring.b6fc0160-9332-454f-a7bc-7217b2ae540c..dashboard.tf @@ -0,0 +1,834 @@ +resource "dynatrace_dashboard" "Synthetic_Monitoring_b6fc0160-9332-454f-a7bc-7217b2ae540c" { + dashboard_metadata { + name = "Synthetic Monitoring" + owner = "Dynatrace" + # shared = false + tags = ["Synthetic","Reporting"] + filter { + timeframe = "-7d to now" + } + } + tile { + name = "Browser monitor" + # configured = false + # exclude_maintenance_windows = false + tile_type = "SYNTHETIC_SINGLE_WEBCHECK" + bounds { + height = 304 + left = 0 + top = 570 + width = 304 + } + } + tile { + name = "HTTP monitor" + # configured = false + tile_type = "SYNTHETIC_HTTP_MONITOR" + bounds { + height = 304 + left = 304 + top = 570 + width = 304 + } + } + tile { + name = "Third-party monitor" + # configured = false + tile_type = "SYNTHETIC_SINGLE_EXT_TEST" + bounds { + height = 304 + left = 608 + top = 570 + width = 304 + } + } + tile { + name = "Markdown" + configured = true + markdown = "Here are some examples of useful, synthetic out-of-the-box [tiles](https://www.dynatrace.com/support/help/shortlink/pin-to-dashboard) and [custom charts](https://www.dynatrace.com/support/help/shortlink/charts-create) for **your** inspiration." + tile_type = "MARKDOWN" + bounds { + height = 38 + left = 0 + top = 0 + width = 950 + } + filter { + timeframe = "Last 2 hours" + } + } + tile { + name = "Monitor types" + configured = true + tile_type = "HEADER" + bounds { + height = 38 + left = 0 + top = 456 + width = 304 + } + } + tile { + name = "Synthetic monitor health" + chart_visible = true + configured = true + tile_type = "SYNTHETIC_TESTS" + bounds { + height = 304 + left = 0 + top = 76 + width = 152 + } + filter { + timeframe = "Last 2 hours" + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 608 + top = 76 + width = 722 + } + filter { + timeframe = "-30d to now" + } + filter_config { + type = "MIXED" + custom_name = "Visually complete (load action)" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "SYNTHETIC_BROWSER_MONITOR" + metric = "builtin:synthetic.browser.visuallyComplete.load" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.synthetic_test" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "Availability" + configured = true + tile_type = "HEADER" + bounds { + height = 38 + left = 0 + top = 38 + width = 608 + } + } + tile { + name = "Performance baseline" + configured = true + tile_type = "HEADER" + bounds { + height = 38 + left = 608 + top = 38 + width = 722 + } + } + tile { + name = "Markdown" + configured = true + markdown = <<-EOT + Dynatrace Synthetic Monitoring allows you to proactively monitor the **availability** and **performance baselines** of your web applications and API endpoints. You can monitor both your public and internal web and mobile resources from around the globe or important internal locations such as branch offices. Synthetic monitors help you to find issues before they affect your customers. Dynatrace also lets you connect synthetic monitors to your [web](#deploy;gf=all), [mobile](#mobile;gf=all) and [custom](#customapplication;gf=all) applications for insights into availability. + + EOT + tile_type = "MARKDOWN" + bounds { + height = 76 + left = 0 + top = 380 + width = 1330 + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 152 + top = 76 + width = 456 + } + filter { + timeframe = "-30d to now" + } + filter_config { + type = "MIXED" + custom_name = "Availability" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + left_axis_custom_unit = "Percent" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "SYNTHETIC_BROWSER_MONITOR" + metric = "builtin:synthetic.browser.availability.location.total" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.synthetic_test" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "Markdown" + configured = true + markdown = "**[Browser monitors](#newcheckwizard;gf=all;webcheckPage=1;webcheckMode=browserMonitor;reset=true)** use a full Chrome instance to simulate complete page loads as well as complex clickpaths." + tile_type = "MARKDOWN" + bounds { + height = 76 + left = 0 + top = 494 + width = 304 + } + } + tile { + name = "Markdown" + configured = true + markdown = "**[HTTP monitors](#newmonitor2;gf=all;webcheckPage=0;webcheckMode=httpCheck;reset=true)** execute single HTTP requests. They are perfect to monitor your APIs and health check endpoints." + tile_type = "MARKDOWN" + bounds { + height = 76 + left = 304 + top = 494 + width = 304 + } + } + tile { + name = "Markdown" + configured = true + markdown = "You can even ingest [third-party synthetic](#newcheckwizard;gf=all;webcheckPage=1;webcheckMode=externalMonitor;reset=true) data into dynatrace from external sources to enrich Dynatrace data." + tile_type = "MARKDOWN" + bounds { + height = 76 + left = 608 + top = 494 + width = 304 + } + } + tile { + name = "Worldwide locations" + configured = true + tile_type = "HEADER" + bounds { + height = 38 + left = 912 + top = 456 + width = 418 + } + } + tile { + name = "Performance metrics" + configured = true + tile_type = "HEADER" + bounds { + height = 38 + left = 0 + top = 912 + width = 1330 + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 190 + left = 646 + top = 988 + width = 342 + } + filter { + timeframe = "-30d to now" + } + filter_config { + type = "MIXED" + custom_name = "Visually complete (load action)" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "SYNTHETIC_BROWSER_MONITOR" + metric = "builtin:synthetic.browser.visuallyComplete.load" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.synthetic_test" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 190 + left = 0 + top = 988 + width = 304 + } + filter { + timeframe = "-30d to now" + } + filter_config { + type = "MIXED" + custom_name = "Time to first byte (load action)" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "SYNTHETIC_BROWSER_MONITOR" + metric = "builtin:synthetic.browser.firstByte.load" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.synthetic_test" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 190 + left = 304 + top = 988 + width = 342 + } + filter { + timeframe = "-30d to now" + } + filter_config { + type = "MIXED" + custom_name = "DOM interactive (load action)" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "SYNTHETIC_BROWSER_MONITOR" + metric = "builtin:synthetic.browser.domInteractive.load" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.synthetic_test" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 190 + left = 988 + top = 988 + width = 342 + } + filter { + timeframe = "-30d to now" + } + filter_config { + type = "MIXED" + custom_name = "Total duration" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "SYNTHETIC_BROWSER_MONITOR" + metric = "builtin:synthetic.browser.totalDuration" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.synthetic_test" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 190 + left = 0 + top = 1178 + width = 304 + } + filter { + timeframe = "-30d to now" + } + filter_config { + type = "MIXED" + custom_name = "HTTP monitor - DNS lookup time (by location)" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "SYNTHETIC_HTTPCHECK" + metric = "builtin:synthetic.http.dns.geo" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.http_check" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 190 + left = 304 + top = 1178 + width = 342 + } + filter { + timeframe = "-30d to now" + } + filter_config { + type = "MIXED" + custom_name = "HTTP monitor - TCP connect time (by location)" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "SYNTHETIC_HTTPCHECK" + metric = "builtin:synthetic.http.tcpConnectTime.geo" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.http_check" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 190 + left = 646 + top = 1178 + width = 342 + } + filter { + timeframe = "-30d to now" + } + filter_config { + type = "MIXED" + custom_name = "HTTP monitor - DNS lookup time (by location)" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "SYNTHETIC_HTTPCHECK" + metric = "builtin:synthetic.http.dns.geo" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.http_check" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 190 + left = 988 + top = 1178 + width = 342 + } + filter { + timeframe = "-30d to now" + } + filter_config { + type = "MIXED" + custom_name = "HTTP monitor - Duration (by location)" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "SYNTHETIC_HTTPCHECK" + metric = "builtin:synthetic.http.duration.geo" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.http_check" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "Real User Monitoring (RUM) for web and mobile applications" + configured = true + tile_type = "HEADER" + bounds { + height = 38 + left = 0 + top = 1862 + width = 1330 + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 342 + left = 304 + top = 1482 + width = 570 + } + filter { + timeframe = "-30d to now" + } + filter_config { + type = "MIXED" + custom_name = "Failed executions" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + series { + type = "BAR" + aggregation = "NONE" + aggregation_rate = "TOTAL" + entity_type = "SYNTHETIC_BROWSER_MONITOR" + metric = "builtin:synthetic.browser.failure" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.synthetic_test" + entity_dimension = true + id = "0" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 342 + left = 874 + top = 1482 + width = 456 + } + filter { + timeframe = "-30d to now" + } + filter_config { + type = "MIXED" + custom_name = "Error details" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + series { + type = "LINE" + aggregation = "NONE" + aggregation_rate = "TOTAL" + entity_type = "SYNTHETIC_BROWSER_MONITOR" + metric = "builtin:synthetic.browser.errorCodes" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.synthetic_test" + entity_dimension = true + id = "0" + } + dimension { + name = "By error code" + # entity_dimension = false + id = "1" + } + } + } + } + } + tile { + name = "" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 342 + left = 0 + top = 1482 + width = 304 + } + filter { + timeframe = "-30d to now" + } + filter_config { + type = "MIXED" + custom_name = "HTTP monitor - Status code (by location)" + default_name = "Custom chart" + chart_config { + type = "PIE" + legend = true + result_metadata { + config { + custom_color = "#02ca02" + key = "null¦Status code»SC_2xx»falsebuiltin:synthetic.http.statusCode|NONE|TOTAL|LINE|SYNTHETIC_HTTPCHECK" + last_modified = 1600259367018 + } + config { + custom_color = "#ca0202" + key = "null¦Status code»SC_5xx»falsebuiltin:synthetic.http.statusCode|NONE|TOTAL|LINE|SYNTHETIC_HTTPCHECK" + last_modified = 1600259377529 + } + } + series { + type = "LINE" + aggregation = "NONE" + aggregation_rate = "TOTAL" + entity_type = "SYNTHETIC_HTTPCHECK" + metric = "builtin:synthetic.http.statusCode" + # sort_ascending = false + sort_column = true + dimension { + name = "Status code" + # entity_dimension = false + id = "2" + } + } + } + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + bounds { + height = 304 + left = 912 + top = 570 + width = 418 + } + filter_config { + type = "MIXED" + custom_name = "Availability" + default_name = "Custom chart" + chart_config { + type = "TOP_LIST" + legend = true + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "SYNTHETIC_BROWSER_MONITOR" + metric = "builtin:synthetic.browser.availability.location.total" + # sort_ascending = false + sort_column = true + dimension { + name = "dt.entity.geolocation" + entity_dimension = true + id = "1" + } + } + } + } + } + tile { + name = "Markdown" + configured = true + markdown = "Dynatrace synthetic monitoring offers a wide array of metrics out of the box, from network level details to user experience focused metrics like Visually complete." + tile_type = "MARKDOWN" + bounds { + height = 38 + left = 0 + top = 950 + width = 1330 + } + } + tile { + name = "Markdown" + configured = true + markdown = "Monitor from over 90 worldwide high availability and multi-cloud locations. Easily extend your coverage with [private synthetic locations](#settings/syntheticprivatelocations;gf=all)." + tile_type = "MARKDOWN" + bounds { + height = 76 + left = 912 + top = 494 + width = 418 + } + } + tile { + name = "World map" + assigned_entities = ["GEOLOCATION-0000000000000000","WORLD"] + configured = true + metric = "APDEX" + tile_type = "APPLICATION_WORLDMAP" + bounds { + height = 304 + left = 0 + top = 1938 + width = 304 + } + } + tile { + name = "Markdown" + configured = true + markdown = "Synthetic offers consistent insights from a controlled, lab-like environment. Don't forget to also look at **[real user monitoring dat](#uemapplications;gf=all;gtf=-2h)a** to get the complete picture." + tile_type = "MARKDOWN" + bounds { + height = 38 + left = 0 + top = 1900 + width = 1330 + } + filter { + timeframe = "Last 2 hours" + } + } + tile { + name = "Markdown" + configured = true + markdown = "Quickly find the root cause of errors reported by synthetic monitors. Gain full visibility by [deploying the OneAgent](#deploy;gf=all) to drill down from synthetic executions directly into code-level purepaths." + tile_type = "MARKDOWN" + bounds { + height = 38 + left = 0 + top = 1444 + width = 1330 + } + } + tile { + name = "Error details" + configured = true + tile_type = "HEADER" + bounds { + height = 38 + left = 0 + top = 1406 + width = 1330 + } + } + tile { + name = "Top web applications" + configured = true + tile_type = "APPLICATIONS_MOST_ACTIVE" + bounds { + height = 304 + left = 304 + top = 1938 + width = 304 + } + } + tile { + name = "Application health" + chart_visible = true + configured = true + tile_type = "APPLICATIONS" + bounds { + height = 304 + left = 608 + top = 1938 + width = 266 + } + } + tile { + name = "Mobile app" + # configured = false + tile_type = "MOBILE_APPLICATION" + bounds { + height = 152 + left = 874 + top = 1938 + width = 304 + } + } +} diff --git a/output/20220126-160653_TERRAFORM/management_zones/PD_AccountManagementConnectedCar.3204514366265497073..management_zone.tf b/output/20220126-160653_TERRAFORM/management_zones/PD_AccountManagementConnectedCar.3204514366265497073..management_zone.tf new file mode 100644 index 0000000..4533d5c --- /dev/null +++ b/output/20220126-160653_TERRAFORM/management_zones/PD_AccountManagementConnectedCar.3204514366265497073..management_zone.tf @@ -0,0 +1,11 @@ +resource "dynatrace_management_zone" "PD_AccountManagementConnectedCar" { + name = "PD_AccountManagementConnectedCar" + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:AM-CESIM\"),tag(\"compass-id:AM-Device\"),tag(\"compass-id:AM-EGIM\"),tag(\"compass-id:AM-MNO-Manager\"),tag(\"compass-id:CESIM Proxy\"),tag(\"compass-id:MNOMGR-CU-Jasper\"),tag(\"compass-id:MNOMGR-CU-SHA\"),tag(\"compass-id:MNOMGR-GD\"),tag(\"compass-id:MNOMGR-TMSP\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:AM-BPM\"),tag(\"compass-id:AM-CASA\"),tag(\"compass-id:am-cloud\"),tag(\"compass-id:AM-CNR\"),tag(\"compass-id:AM-CNS\"),tag(\"compass-id:AM-ECS\"),tag(\"compass-id:AM-LMCS\"),tag(\"compass-id:AM-Proxy\"),tag(\"compass-id:AM-Store\"),tag(\"compass-id:AM-SVMS\"),tag(\"compass-id:AM-SVMS-EventService\"),tag(\"compass-id:AM-USAGE\"),tag(\"compass-id:AM-VAS\"),tag(\"compass-id:AM-Vehicle\"),tag(\"compass-id:AM-VMS\"),tag(\"compass-id:Countly\"),tag(\"compass-id:TAMSArchive\"),tag(\"compass-id:TestdataTool\")" + } +} diff --git a/output/20220126-160653_TERRAFORM/management_zones/PD_AutomotiveSecurity.-8360045022797381418..management_zone.tf b/output/20220126-160653_TERRAFORM/management_zones/PD_AutomotiveSecurity.-8360045022797381418..management_zone.tf new file mode 100644 index 0000000..3ea4863 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/management_zones/PD_AutomotiveSecurity.-8360045022797381418..management_zone.tf @@ -0,0 +1,27 @@ +resource "dynatrace_management_zone" "PD_AutomotiveSecurity" { + name = "PD_AutomotiveSecurity" + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:ASBC-MFSCS\"),tag(\"compass-id:STM\"),tag(\"compass-id:ts-wlupdater\"),tag(\"compass-id:TVP\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:DFP\"),tag(\"compass-id:DFPH\"),tag(\"compass-id:OCLISc2v\"),tag(\"compass-id:OCLISocsp\"),tag(\"compass-id:P2X\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:ASBC-HAL\"),tag(\"compass-id:ASBC-NGTP\"),tag(\"compass-id:ASBS\"),tag(\"compass-id:HPAuth\"),tag(\"compass-id:STS\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:ASBC-SMACC\"),tag(\"compass-id:CAC\"),tag(\"compass-id:CAC-AGENT\"),tag(\"compass-id:SMC2-BL\"),tag(\"compass-id:SMC2-KEY-TRK\"),tag(\"compass-id:SMC2-RT\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:ASBC-RSU\"),tag(\"compass-id:ASBC-SBB\"),tag(\"compass-id:ASBCSWLSEC2\"),tag(\"compass-id:PSdZ-Checker\"),tag(\"compass-id:SCB\"),tag(\"compass-id:SCC\"),tag(\"compass-id:SWAG\"),tag(\"compass-id:SWLSEC2-Checker\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:ASBC-AFW-POC\"),tag(\"compass-id:ASBC-AFWSFA-POC\"),tag(\"compass-id:ASBC-AFWSTM-POC\")" + } +} diff --git a/output/20220126-160653_TERRAFORM/management_zones/PD_CallServices.-3764294184932480331..management_zone.tf b/output/20220126-160653_TERRAFORM/management_zones/PD_CallServices.-3764294184932480331..management_zone.tf new file mode 100644 index 0000000..e0d8d59 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/management_zones/PD_CallServices.-3764294184932480331..management_zone.tf @@ -0,0 +1,23 @@ +resource "dynatrace_management_zone" "PD_CallServices" { + name = "PD_CallServices" + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:ACDS\"),tag(\"compass-id:APPCALL\"),tag(\"compass-id:B2V-NGTP\"),tag(\"compass-id:ECALLGW\"),tag(\"compass-id:ECS\"),tag(\"compass-id:EVNS2\"),tag(\"compass-id:EVNS2T\"),tag(\"compass-id:NGTP-CS\"),tag(\"compass-id:XCS\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:BASE\"),tag(\"compass-id:CCC\"),tag(\"compass-id:RSA\"),tag(\"compass-id:RSA-ASD-Search\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:PiSA-CORE\"),tag(\"compass-id:PISA-EVENT-HANDLER\"),tag(\"compass-id:PISA-RUNTIME\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:HTTS\"),tag(\"compass-id:HVD\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:B2V-Voice\"),tag(\"compass-id:CRS\"),tag(\"compass-id:CRSA\"),tag(\"compass-id:EPL\"),tag(\"compass-id:EPM\"),tag(\"compass-id:VOICEGW\"),tag(\"compass-id:VOICEGW-ADMIN\")" + } +} diff --git a/output/20220126-160653_TERRAFORM/management_zones/PD_ConnectedDriveStoreBackend.-9017298287443024274..management_zone.tf b/output/20220126-160653_TERRAFORM/management_zones/PD_ConnectedDriveStoreBackend.-9017298287443024274..management_zone.tf new file mode 100644 index 0000000..3dc5e98 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/management_zones/PD_ConnectedDriveStoreBackend.-9017298287443024274..management_zone.tf @@ -0,0 +1,11 @@ +resource "dynatrace_management_zone" "PD_ConnectedDriveStoreBackend" { + name = "PD_ConnectedDriveStoreBackend" + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:Buffet-Birt\"),tag(\"compass-id:Buffet-CIC-Backend\"),tag(\"compass-id:Buffet-Core\"),tag(\"compass-id:Buffet-External-CDM\"),tag(\"compass-id:Buffet-External-Offer\"),tag(\"compass-id:Buffet-External-Payment\"),tag(\"compass-id:Buffet-External-Tax\"),tag(\"compass-id:Buffet-GAM\"),tag(\"compass-id:Buffet-IF33\"),tag(\"compass-id:Buffet-IF38\"),tag(\"compass-id:Buffet-IF41\"),tag(\"compass-id:Buffet-IF50\"),tag(\"compass-id:Buffet-IF51\"),tag(\"compass-id:Buffet-IF52\"),tag(\"compass-id:Buffet-IF53\"),tag(\"compass-id:Buffet-IF54\"),tag(\"compass-id:Buffet-IF58\"),tag(\"compass-id:Buffet-IF60\"),tag(\"compass-id:Buffet-IF90\"),tag(\"compass-id:Buffet-Promo-API\"),tag(\"compass-id:IME-CDS\"),tag(\"compass-id:IME-CS\"),tag(\"compass-id:IME-RDC\"),tag(\"compass-id:IME-SS\"),tag(\"compass-id:IME-WS\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:Concat\"),tag(\"compass-id:Connected-Catalog\")" + } +} diff --git a/output/20220126-160653_TERRAFORM/management_zones/PD_ConnectedUserProfileServices.-1129114036031351881..management_zone.tf b/output/20220126-160653_TERRAFORM/management_zones/PD_ConnectedUserProfileServices.-1129114036031351881..management_zone.tf new file mode 100644 index 0000000..2c139eb --- /dev/null +++ b/output/20220126-160653_TERRAFORM/management_zones/PD_ConnectedUserProfileServices.-1129114036031351881..management_zone.tf @@ -0,0 +1,11 @@ +resource "dynatrace_management_zone" "PD_ConnectedUserProfileServices" { + name = "PD_ConnectedUserProfileServices" + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:OMC Table Storage Expiration Service\"),tag(\"compass-id:omc-client-analytics-hub-consumer-ms\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:DPM\"),tag(\"compass-id:DPP\"),tag(\"compass-id:PERSEUS\"),tag(\"compass-id:PIABO\"),tag(\"compass-id:PIAEP\"),tag(\"compass-id:PIAOP\"),tag(\"compass-id:PIAPE\")" + } +} diff --git a/output/20220126-160653_TERRAFORM/management_zones/PD_InfotainmentInteractivityServices.-8102460393578163095..management_zone.tf b/output/20220126-160653_TERRAFORM/management_zones/PD_InfotainmentInteractivityServices.-8102460393578163095..management_zone.tf new file mode 100644 index 0000000..ca12f17 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/management_zones/PD_InfotainmentInteractivityServices.-8102460393578163095..management_zone.tf @@ -0,0 +1,23 @@ +resource "dynatrace_management_zone" "PD_InfotainmentInteractivityServices" { + name = "PD_InfotainmentInteractivityServices" + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:cm-config\"),tag(\"compass-id:cm-gracenote\"),tag(\"compass-id:cm-spotify\"),tag(\"compass-id:cm-ximalaya\"),tag(\"compass-id:OED\"),tag(\"compass-id:OED-CN\"),tag(\"compass-id:OEG\"),tag(\"compass-id:OEG-CN\"),tag(\"compass-id:OEO\"),tag(\"compass-id:OEO-CN\"),tag(\"compass-id:OEP\"),tag(\"compass-id:OEP-CN\"),tag(\"compass-id:OES\"),tag(\"compass-id:OES-CN\"),tag(\"compass-id:OET\"),tag(\"compass-id:OET-CN\"),tag(\"compass-id:shortvideo\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:CCIS-Download\"),tag(\"compass-id:Geolocator\"),tag(\"compass-id:intelligent-reminder\"),tag(\"compass-id:news-next\"),tag(\"compass-id:restaurant-reservation\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:ambient-music\"),tag(\"compass-id:festive-mode\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:GEN3\"),tag(\"compass-id:ID5\"),tag(\"compass-id:ID5-APP\"),tag(\"compass-id:ID5-EXT\"),tag(\"compass-id:ISE-BEV\"),tag(\"compass-id:ISE-CDR\"),tag(\"compass-id:ISE-EML\"),tag(\"compass-id:ISE-GEN2\"),tag(\"compass-id:ISE-ID7\"),tag(\"compass-id:ISE-INP\"),tag(\"compass-id:ISE-IPA\"),tag(\"compass-id:ISE-LIS\"),tag(\"compass-id:ISE-LOC\"),tag(\"compass-id:ISE-MCL\"),tag(\"compass-id:ISE-NEWS\"),tag(\"compass-id:ISE-PAR\"),tag(\"compass-id:ISE-RSL\"),tag(\"compass-id:ISE-VPS\"),tag(\"compass-id:ISE-VSD\"),tag(\"compass-id:tmpp-admin-ui\"),tag(\"compass-id:tmpp-manifest\"),tag(\"compass-id:tmpp-web-proxy\"),tag(\"compass-id:UPS\"),tag(\"compass-id:WEA\"),tag(\"compass-id:WEA-ID5\"),tag(\"compass-id:WEA-IN-MAP\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:CDIP\")" + } +} diff --git a/output/20220126-160653_TERRAFORM/management_zones/PD_LocationServices.-5192206505795726979..management_zone.tf b/output/20220126-160653_TERRAFORM/management_zones/PD_LocationServices.-5192206505795726979..management_zone.tf new file mode 100644 index 0000000..6f15443 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/management_zones/PD_LocationServices.-5192206505795726979..management_zone.tf @@ -0,0 +1,15 @@ +resource "dynatrace_management_zone" "PD_LocationServices" { + name = "PD_LocationServices" + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:C2B-BS\"),tag(\"compass-id:GCS\"),tag(\"compass-id:LOS-CHA\"),tag(\"compass-id:LOS-CHA-CNV\"),tag(\"compass-id:LOS-JOY\"),tag(\"compass-id:LOS-MOD\"),tag(\"compass-id:LOS-MSC\"),tag(\"compass-id:LOS-OPS\"),tag(\"compass-id:LOS-PAR\"),tag(\"compass-id:LOS-PER\"),tag(\"compass-id:LOS-REF\"),tag(\"compass-id:RES-PAR\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:LOS-FTS\"),tag(\"compass-id:potholes-reader\"),tag(\"compass-id:potholes-service\"),tag(\"compass-id:sc-reader\"),tag(\"compass-id:sc-service\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:ercaf\"),tag(\"compass-id:ERCR\"),tag(\"compass-id:ERTP\")" + } +} diff --git a/output/20220126-160653_TERRAFORM/management_zones/PD_MapServicesAutomatedDriving.-5575428505085624000..management_zone.tf b/output/20220126-160653_TERRAFORM/management_zones/PD_MapServicesAutomatedDriving.-5575428505085624000..management_zone.tf new file mode 100644 index 0000000..10cf285 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/management_zones/PD_MapServicesAutomatedDriving.-5575428505085624000..management_zone.tf @@ -0,0 +1,11 @@ +resource "dynatrace_management_zone" "PD_MapServicesAutomatedDriving" { + name = "PD_MapServicesAutomatedDriving" + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:ms-hdmap-lcv\"),tag(\"compass-id:ms-hdmap-map-viewer\"),tag(\"compass-id:ms-hdmap-mci-adapter\"),tag(\"compass-id:ms-hdmap-mci-downloader\"),tag(\"compass-id:ms-hdmap-nds-downloader\"),tag(\"compass-id:ms-hdmap-qc-bl\"),tag(\"compass-id:ms-hdmap-qc-checks\"),tag(\"compass-id:ms-hdmap-tile-delivery\"),tag(\"compass-id:ms-hdmap-tile-generator\"),tag(\"compass-id:ms-hdmap-vehicle-mock\"),tag(\"compass-id:mupi-backend\"),tag(\"compass-id:MUPI-BE\"),tag(\"compass-id:mupi-cloud-discovery-service\"),tag(\"compass-id:mupi-cloud-dumm-adapter-service\"),tag(\"compass-id:mupi-cloud-hd-adapter-service\"),tag(\"compass-id:mupi-cloud-import-service\"),tag(\"compass-id:mupi-cloud-integration-service\"),tag(\"compass-id:mupi-cloud-joynr-adapter-class-service\"),tag(\"compass-id:mupi-cloud-joynr-adapter-service\"),tag(\"compass-id:mupi-cloud-stats-service\"),tag(\"compass-id:mupi-cockpit\"),tag(\"compass-id:mupi-gateway\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:GNSS API Gateway\"),tag(\"compass-id:gnss-reader\"),tag(\"compass-id:gnss-service\"),tag(\"compass-id:ms-3dp-rc\"),tag(\"compass-id:tc-app\"),tag(\"compass-id:tc-service\")" + } +} diff --git a/output/20220126-160653_TERRAFORM/management_zones/PD_NavigationServices.1045408183413115605..management_zone.tf b/output/20220126-160653_TERRAFORM/management_zones/PD_NavigationServices.1045408183413115605..management_zone.tf new file mode 100644 index 0000000..0865ae5 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/management_zones/PD_NavigationServices.1045408183413115605..management_zone.tf @@ -0,0 +1,15 @@ +resource "dynatrace_management_zone" "PD_NavigationServices" { + name = "PD_NavigationServices" + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:OSPI\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:DM\"),tag(\"compass-id:eRoute\"),tag(\"compass-id:NaaS\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:CNGW\"),tag(\"compass-id:RTTI\")" + } +} diff --git a/output/20220126-160653_TERRAFORM/management_zones/PD_RemoteMessagingServices.5297213946075227845..management_zone.tf b/output/20220126-160653_TERRAFORM/management_zones/PD_RemoteMessagingServices.5297213946075227845..management_zone.tf new file mode 100644 index 0000000..b34a73a --- /dev/null +++ b/output/20220126-160653_TERRAFORM/management_zones/PD_RemoteMessagingServices.5297213946075227845..management_zone.tf @@ -0,0 +1,11 @@ +resource "dynatrace_management_zone" "PD_RemoteMessagingServices" { + name = "PD_RemoteMessagingServices" + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:EADB\"),tag(\"compass-id:ICNB\"),tag(\"compass-id:MSGSVC\"),tag(\"compass-id:OMGW\"),tag(\"compass-id:TCN\"),tag(\"compass-id:XCC-CAMPAIGNS\"),tag(\"compass-id:XCC-CMGR\"),tag(\"compass-id:XCC-SETTINGS\"),tag(\"compass-id:XCC-STATISTICS\"),tag(\"compass-id:XCC-USERS\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:APIGW\"),tag(\"compass-id:FMC\"),tag(\"compass-id:RS\"),tag(\"compass-id:RS360\"),tag(\"compass-id:RSCockpit\")" + } +} diff --git a/output/20220126-160653_TERRAFORM/management_zones/PD_RemoteVehicleConfigurationManagement.5415075804110073257..management_zone.tf b/output/20220126-160653_TERRAFORM/management_zones/PD_RemoteVehicleConfigurationManagement.5415075804110073257..management_zone.tf new file mode 100644 index 0000000..3dcc5b1 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/management_zones/PD_RemoteVehicleConfigurationManagement.5415075804110073257..management_zone.tf @@ -0,0 +1,23 @@ +resource "dynatrace_management_zone" "PD_RemoteVehicleConfigurationManagement" { + name = "PD_RemoteVehicleConfigurationManagement" + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:APR\"),tag(\"compass-id:APR-NPM\"),tag(\"compass-id:APR-Portal\"),tag(\"compass-id:APR-Registry\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:comfy-agent-registry\"),tag(\"compass-id:comfy-cockpit\"),tag(\"compass-id:comfy-management\"),tag(\"compass-id:comfy-orchestration\"),tag(\"compass-id:NOP-Admin\"),tag(\"compass-id:NOP-Archive\"),tag(\"compass-id:NOP-Provisioning\"),tag(\"compass-id:NOP-Trigger\"),tag(\"compass-id:SCM\"),tag(\"compass-id:SCMA\"),tag(\"compass-id:VPS-Admin\"),tag(\"compass-id:VPS-Archive\"),tag(\"compass-id:VPS-Monitor\"),tag(\"compass-id:VPS-Prov\"),tag(\"compass-id:VPS-Trigger\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:FRE\"),tag(\"compass-id:FRS\"),tag(\"compass-id:MPG\"),tag(\"compass-id:QMC\"),tag(\"compass-id:RCM\"),tag(\"compass-id:RCP\"),tag(\"compass-id:RCS\"),tag(\"compass-id:RDC\"),tag(\"compass-id:RDH\"),tag(\"compass-id:RES\"),tag(\"compass-id:RLM\"),tag(\"compass-id:RMO\"),tag(\"compass-id:RNB App\"),tag(\"compass-id:RNP\"),tag(\"compass-id:RPP\"),tag(\"compass-id:RSA Admin GUI\"),tag(\"compass-id:RSA Testbench GUI\"),tag(\"compass-id:RTE\"),tag(\"compass-id:RTS\"),tag(\"compass-id:RVC\"),tag(\"compass-id:RVE\"),tag(\"compass-id:RVI\"),tag(\"compass-id:RVS\"),tag(\"compass-id:RVT\"),tag(\"compass-id:rwd\"),tag(\"compass-id:tdp\"),tag(\"compass-id:uvm\"),tag(\"compass-id:vjm\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:ZAS\"),tag(\"compass-id:ZDI\"),tag(\"compass-id:ZFUS-MP-GENERATOR\"),tag(\"compass-id:ZIP\"),tag(\"compass-id:zis\"),tag(\"compass-id:ZMP\"),tag(\"compass-id:ZOS\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:SFA-FRE\"),tag(\"compass-id:SFA-OH\"),tag(\"compass-id:SFA-OTA\"),tag(\"compass-id:SFA-S\"),tag(\"compass-id:SFA-TS\")" + } +} diff --git a/output/20220126-160653_TERRAFORM/management_zones/PD_Teleservices.-798726037387421337..management_zone.tf b/output/20220126-160653_TERRAFORM/management_zones/PD_Teleservices.-798726037387421337..management_zone.tf new file mode 100644 index 0000000..0046062 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/management_zones/PD_Teleservices.-798726037387421337..management_zone.tf @@ -0,0 +1,15 @@ +resource "dynatrace_management_zone" "PD_Teleservices" { + name = "PD_Teleservices" + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:RSURService\"),tag(\"compass-id:SCallService\"),tag(\"compass-id:SEAM\"),tag(\"compass-id:ts-asc\"),tag(\"compass-id:TSBGService\"),tag(\"compass-id:TSBM\"),tag(\"compass-id:TS-CCM-DI\"),tag(\"compass-id:TSCS\"),tag(\"compass-id:TSDD\"),tag(\"compass-id:TSMR\"),tag(\"compass-id:TS-PFFS\"),tag(\"compass-id:TSSB-BT\"),tag(\"compass-id:TSSB-BTI\"),tag(\"compass-id:TSSB-TSP\"),tag(\"compass-id:TS-SDI\"),tag(\"compass-id:ts-tyredi\"),tag(\"compass-id:ts-tyrewf\"),tag(\"compass-id:TTBS\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:BCallService\"),tag(\"compass-id:CAS-SPM\"),tag(\"compass-id:CAS-STM\"),tag(\"compass-id:DiagService\"),tag(\"compass-id:ESHAD\"),tag(\"compass-id:patchcampaign\"),tag(\"compass-id:RTCAD\"),tag(\"compass-id:RTCHandler\"),tag(\"compass-id:RTCService\"),tag(\"compass-id:ts-bcallhandler\"),tag(\"compass-id:ts-cts-ui\"),tag(\"compass-id:ts-pat-ui\"),tag(\"compass-id:TSRD\"),tag(\"compass-id:ts-rtc-ui\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:PDMManager\"),tag(\"compass-id:PDMUpdater\"),tag(\"compass-id:ts-ena-ui\"),tag(\"compass-id:WLManager\"),tag(\"compass-id:WLUpdater\")" + } +} diff --git a/output/20220126-160653_TERRAFORM/management_zones/PD_VehicleDataCollection.-6383352956960521057..management_zone.tf b/output/20220126-160653_TERRAFORM/management_zones/PD_VehicleDataCollection.-6383352956960521057..management_zone.tf new file mode 100644 index 0000000..a65f82d --- /dev/null +++ b/output/20220126-160653_TERRAFORM/management_zones/PD_VehicleDataCollection.-6383352956960521057..management_zone.tf @@ -0,0 +1,23 @@ +resource "dynatrace_management_zone" "PD_VehicleDataCollection" { + name = "PD_VehicleDataCollection" + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:CMCS\"),tag(\"compass-id:ERDCDC2FCD\"),tag(\"compass-id:ERDDISP\"),tag(\"compass-id:ERDFCDUDS\"),tag(\"compass-id:ERDMGR\"),tag(\"compass-id:ERDPROC\"),tag(\"compass-id:ERDXFCDFCD\"),tag(\"compass-id:XFCD Cockpit\"),tag(\"compass-id:XFCD Configuration\"),tag(\"compass-id:XFCDAnonymizer\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:TOL\"),tag(\"compass-id:TOL MGU\"),tag(\"compass-id:TOL-TSSB\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:IDS-SVDS\"),tag(\"compass-id:IDS-Sync\"),tag(\"compass-id:IDS-WS\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:SRManager\"),tag(\"compass-id:TSMB\"),tag(\"compass-id:TSR-CH\"),tag(\"compass-id:TSR-CMA\"),tag(\"compass-id:TSR-DD\"),tag(\"compass-id:TSR-ICC\"),tag(\"compass-id:TSR-VU\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:CCG\"),tag(\"compass-id:CSI\"),tag(\"compass-id:CSU\"),tag(\"compass-id:LSCFSU\"),tag(\"compass-id:LSCHR\"),tag(\"compass-id:LSCJHWO\"),tag(\"compass-id:LSCJR\"),tag(\"compass-id:LSCKC\"),tag(\"compass-id:LSCMM\"),tag(\"compass-id:LSCOC\"),tag(\"compass-id:LSCOG\"),tag(\"compass-id:LSCWO\"),tag(\"compass-id:tripCollection\"),tag(\"compass-id:vdc-vcs\"),tag(\"compass-id:VHCJR\"),tag(\"compass-id:VHS\"),tag(\"compass-id:VJDS\"),tag(\"compass-id:VNS\"),tag(\"compass-id:VS-API\"),tag(\"compass-id:VSFO\"),tag(\"compass-id:VSST\")" + } +} diff --git a/output/20220126-160653_TERRAFORM/management_zones/PD_VehicleDataConnectivity.-867578188104332342..management_zone.tf b/output/20220126-160653_TERRAFORM/management_zones/PD_VehicleDataConnectivity.-867578188104332342..management_zone.tf new file mode 100644 index 0000000..83e9163 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/management_zones/PD_VehicleDataConnectivity.-867578188104332342..management_zone.tf @@ -0,0 +1,15 @@ +resource "dynatrace_management_zone" "PD_VehicleDataConnectivity" { + name = "PD_VehicleDataConnectivity" + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:B2V-ADC\"),tag(\"compass-id:B2V-ADC-CLOUD\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:B2V-COM-BE\"),tag(\"compass-id:B2V-COM-ECHO\"),tag(\"compass-id:B2V-COM-FE\"),tag(\"compass-id:B2VCOMGCDMCLIENT\"),tag(\"compass-id:B2V-NOTS\")" + } + entity_selector_based_rule { + enabled = true + selector = "type(Service),tag(\"compass-id:JoynrDS\"),tag(\"compass-id:UDS\"),tag(\"compass-id:UDS Storage Service\")" + } +} diff --git a/output/20220126-160653_TERRAFORM/management_zones/Sockshop dev.2491356468046254094..management_zone.tf b/output/20220126-160653_TERRAFORM/management_zones/Sockshop dev.2491356468046254094..management_zone.tf new file mode 100644 index 0000000..4443e3f --- /dev/null +++ b/output/20220126-160653_TERRAFORM/management_zones/Sockshop dev.2491356468046254094..management_zone.tf @@ -0,0 +1,34 @@ +resource "dynatrace_management_zone" "Sockshop_dev" { + name = "Sockshop dev" + rules { + type = "SERVICE" + enabled = true + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "ENVIRONMENT" + key = "product" + value = "sockshop" + } + } + } + conditions { + process_metadata { + attribute = "PROCESS_GROUP_PREDEFINED_METADATA" + dynamic_key = "KUBERNETES_NAMESPACE" + } + string { + # case_sensitive = false + # negate = false + operator = "EQUALS" + value = "dev" + } + } + } +} diff --git a/output/20220126-160653_TERRAFORM/request_attributes/GCID.96d6315a-6fe0-43e1-8769-215d4334f19b..request_attribute.tf b/output/20220126-160653_TERRAFORM/request_attributes/GCID.96d6315a-6fe0-43e1-8769-215d4334f19b..request_attribute.tf new file mode 100644 index 0000000..fee8b46 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/request_attributes/GCID.96d6315a-6fe0-43e1-8769-215d4334f19b..request_attribute.tf @@ -0,0 +1,107 @@ +resource "dynatrace_request_attribute" "GCID" { + name = "GCID" + enabled = true + aggregation = "FIRST" + confidential = true + data_type = "STRING" + normalization = "ORIGINAL" + # skip_personal_data_masking = false + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "(\\w{8}-\\w{4}-\\w{4}-\\w{4}-\\w{12})" + extract_substring { + delimiter = "/gcid/" + position = "AFTER" + } + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "(\\w{8}-\\w{4}-\\w{4}-\\w{4}-\\w{12})" + extract_substring { + delimiter = "/customer/" + position = "AFTER" + } + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "(\\w{8}-\\w{4}-\\w{4}-\\w{4}-\\w{12})" + extract_substring { + delimiter = "/motorist/" + position = "BEFORE" + } + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "(\\w{8}-\\w{4}-\\w{4}-\\w{4}-\\w{12})" + extract_substring { + delimiter = "/motorists/" + position = "BEFORE" + } + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "(\\w{8}-\\w{4}-\\w{4}-\\w{4}-\\w{12})" + extract_substring { + delimiter = "/user/" + position = "AFTER" + } + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "(\\w{8}-\\w{4}-\\w{4}-\\w{4}-\\w{12})" + extract_substring { + delimiter = "/users/" + position = "AFTER" + } + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "(\\w{8}-\\w{4}-\\w{4}-\\w{4}-\\w{12})" + extract_substring { + delimiter = "/driver/" + position = "AFTER" + } + } + } +} diff --git a/output/20220126-160653_TERRAFORM/request_attributes/KeyID.bcdb0e0d-0d43-40d1-b432-89724d8d4766..request_attribute.tf b/output/20220126-160653_TERRAFORM/request_attributes/KeyID.bcdb0e0d-0d43-40d1-b432-89724d8d4766..request_attribute.tf new file mode 100644 index 0000000..1f8f2e7 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/request_attributes/KeyID.bcdb0e0d-0d43-40d1-b432-89724d8d4766..request_attribute.tf @@ -0,0 +1,26 @@ +resource "dynatrace_request_attribute" "KeyID" { + name = "KeyID" + enabled = true + aggregation = "FIRST" + # confidential = false + data_type = "STRING" + normalization = "ORIGINAL" + # skip_personal_data_masking = false + data_sources { + enabled = true + source = "METHOD_PARAM" + technology = "JAVA" + methods { + argument_index = 1 + capture = "ARGUMENT" + deep_object_access = ".getKeyID()" + method { + argument_types = ["com.bmw.cc.smc2.dkey.api.track.v2.entity.TrackKeyRequest"] + class_name = "com.bmw.cc.smc2.dkey.api.track.v2.boundary.TrackApiResource" + method_name = "trackKey" + return_type = "javax.ws.rs.core.Response" + visibility = "PUBLIC" + } + } + } +} diff --git a/output/20220126-160653_TERRAFORM/request_attributes/RsCountryCodeIso.b53f219b-dbb2-4c11-965c-ecad6723a14b..request_attribute.tf b/output/20220126-160653_TERRAFORM/request_attributes/RsCountryCodeIso.b53f219b-dbb2-4c11-965c-ecad6723a14b..request_attribute.tf new file mode 100644 index 0000000..bc6e09e --- /dev/null +++ b/output/20220126-160653_TERRAFORM/request_attributes/RsCountryCodeIso.b53f219b-dbb2-4c11-965c-ecad6723a14b..request_attribute.tf @@ -0,0 +1,49 @@ +resource "dynatrace_request_attribute" "RsCountryCodeIso" { + name = "RsCountryCodeIso" + enabled = true + aggregation = "LAST" + confidential = true + data_type = "STRING" + normalization = "ORIGINAL" + # skip_personal_data_masking = false + data_sources { + enabled = true + source = "METHOD_PARAM" + technology = "JAVA" + methods { + argument_index = 1 + capture = "ARGUMENT" + deep_object_access = ".getVehicleInformation().getCountryCodeISO()" + method { + argument_types = ["com.bmw.cc.rs360.entity.Event","com.bmw.cc.rs360.entity.EventStateEnum"] + class_name = "com.bmw.cc.rs360.controller.EventController" + method_name = "updateEventState" + return_type = "void" + visibility = "PUBLIC" + } + } + scope { + tag_of_process_group = "Component:Remote 360" + } + } + data_sources { + enabled = true + source = "METHOD_PARAM" + technology = "JAVA" + methods { + argument_index = 1 + capture = "ARGUMENT" + deep_object_access = ".getVehicleInformation().getCountryCodeISO()" + method { + argument_types = ["com.bmw.cc.rs.entity.Event","com.bmw.cc.rs.entity.EventStateEnum"] + class_name = "com.bmw.cc.rs.entity.EventController" + method_name = "updateEventState" + return_type = "void" + visibility = "PUBLIC" + } + } + scope { + tag_of_process_group = "Component:RemoteServices" + } + } +} diff --git a/output/20220126-160653_TERRAFORM/request_attributes/RsEventId.9b789b34-76ae-45ed-8f06-7298a9c2b2da..request_attribute.tf b/output/20220126-160653_TERRAFORM/request_attributes/RsEventId.9b789b34-76ae-45ed-8f06-7298a9c2b2da..request_attribute.tf new file mode 100644 index 0000000..6cef5e0 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/request_attributes/RsEventId.9b789b34-76ae-45ed-8f06-7298a9c2b2da..request_attribute.tf @@ -0,0 +1,49 @@ +resource "dynatrace_request_attribute" "RsEventId" { + name = "RsEventId" + enabled = true + aggregation = "FIRST" + # confidential = false + data_type = "STRING" + normalization = "ORIGINAL" + # skip_personal_data_masking = false + data_sources { + enabled = true + source = "METHOD_PARAM" + technology = "JAVA" + methods { + argument_index = 1 + capture = "ARGUMENT" + deep_object_access = ".getEventId()" + method { + argument_types = ["com.bmw.cc.rs360.entity.Event","com.bmw.cc.rs360.entity.EventStateEnum"] + class_name = "com.bmw.cc.rs360.controller.EventController" + method_name = "updateEventState" + return_type = "void" + visibility = "PUBLIC" + } + } + scope { + tag_of_process_group = "Component:Remote 360" + } + } + data_sources { + enabled = true + source = "METHOD_PARAM" + technology = "JAVA" + methods { + argument_index = 1 + capture = "ARGUMENT" + deep_object_access = ".getEventId()" + method { + argument_types = ["com.bmw.cc.rs.entity.Event","com.bmw.cc.rs.entity.EventStateEnum"] + class_name = "com.bmw.cc.rs.entity.EventController" + method_name = "updateEventState" + return_type = "void" + visibility = "PUBLIC" + } + } + scope { + tag_of_process_group = "Component:RemoteServices" + } + } +} diff --git a/output/20220126-160653_TERRAFORM/request_attributes/RsEventStatus.7ef56976-a849-45c3-872f-9c5718dd2f9d..request_attribute.tf b/output/20220126-160653_TERRAFORM/request_attributes/RsEventStatus.7ef56976-a849-45c3-872f-9c5718dd2f9d..request_attribute.tf new file mode 100644 index 0000000..2e9cf72 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/request_attributes/RsEventStatus.7ef56976-a849-45c3-872f-9c5718dd2f9d..request_attribute.tf @@ -0,0 +1,49 @@ +resource "dynatrace_request_attribute" "RsEventStatus" { + name = "RsEventStatus" + enabled = true + aggregation = "LAST" + # confidential = false + data_type = "STRING" + normalization = "ORIGINAL" + # skip_personal_data_masking = false + data_sources { + enabled = true + source = "METHOD_PARAM" + technology = "JAVA" + methods { + argument_index = 2 + capture = "ARGUMENT" + deep_object_access = ".toString()" + method { + argument_types = ["com.bmw.cc.rs360.entity.Event","com.bmw.cc.rs360.entity.EventStateEnum"] + class_name = "com.bmw.cc.rs360.controller.EventController" + method_name = "updateEventState" + return_type = "void" + visibility = "PUBLIC" + } + } + scope { + tag_of_process_group = "Component:Remote 360" + } + } + data_sources { + enabled = true + source = "METHOD_PARAM" + technology = "JAVA" + methods { + argument_index = 2 + capture = "ARGUMENT" + deep_object_access = ".toString()" + method { + argument_types = ["com.bmw.cc.rs.entity.Event","com.bmw.cc.rs.entity.EventStateEnum"] + class_name = "com.bmw.cc.rs.entity.EventController" + method_name = "updateEventState" + return_type = "void" + visibility = "PUBLIC" + } + } + scope { + tag_of_process_group = "Component:RemoteServices" + } + } +} diff --git a/output/20220126-160653_TERRAFORM/request_attributes/RsType.e33a8d57-1c72-4d3f-84bf-ee12429d19db..request_attribute.tf b/output/20220126-160653_TERRAFORM/request_attributes/RsType.e33a8d57-1c72-4d3f-84bf-ee12429d19db..request_attribute.tf new file mode 100644 index 0000000..21b1487 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/request_attributes/RsType.e33a8d57-1c72-4d3f-84bf-ee12429d19db..request_attribute.tf @@ -0,0 +1,69 @@ +resource "dynatrace_request_attribute" "RsType" { + name = "RsType" + enabled = true + aggregation = "FIRST" + # confidential = false + data_type = "STRING" + normalization = "ORIGINAL" + # skip_personal_data_masking = false + data_sources { + enabled = true + source = "METHOD_PARAM" + technology = "JAVA" + methods { + argument_index = 1 + capture = "ARGUMENT" + deep_object_access = ".getRsType().name()" + method { + argument_types = ["com.bmw.cc.rs360.entity.Event","com.bmw.cc.rs360.entity.EventStateEnum"] + class_name = "com.bmw.cc.rs360.controller.EventController" + method_name = "updateEventState" + return_type = "void" + visibility = "PUBLIC" + } + } + scope { + tag_of_process_group = "Component:Remote 360" + } + } + data_sources { + enabled = true + source = "METHOD_PARAM" + technology = "JAVA" + methods { + argument_index = 1 + capture = "ARGUMENT" + deep_object_access = ".getRsType().name()" + method { + argument_types = ["com.bmw.cc.rs.entity.Event","com.bmw.cc.rs.entity.EventStateEnum"] + class_name = "com.bmw.cc.rs.entity.EventController" + method_name = "updateEventState" + return_type = "void" + visibility = "PUBLIC" + } + } + scope { + tag_of_process_group = "Component:RemoteServices" + } + } + data_sources { + enabled = true + source = "METHOD_PARAM" + technology = "JAVA" + methods { + argument_index = 2 + capture = "ARGUMENT" + deep_object_access = ".name()" + method { + argument_types = ["java.lang.String","com.bmw.cc.rscockpit.bm.admin.entity.RemoteServiceType"] + class_name = "com.bmw.cc.rscockpit.bm.admin.AdminTokenBA" + method_name = "generateAdminToken" + return_type = "java.lang.String" + visibility = "PUBLIC" + } + } + scope { + tag_of_process_group = "Component:RS Cockpit" + } + } +} diff --git a/output/20220126-160653_TERRAFORM/request_attributes/RsVehicleType.5d0f471b-adf6-47b8-b839-ac8c22f2cdeb..request_attribute.tf b/output/20220126-160653_TERRAFORM/request_attributes/RsVehicleType.5d0f471b-adf6-47b8-b839-ac8c22f2cdeb..request_attribute.tf new file mode 100644 index 0000000..49c145c --- /dev/null +++ b/output/20220126-160653_TERRAFORM/request_attributes/RsVehicleType.5d0f471b-adf6-47b8-b839-ac8c22f2cdeb..request_attribute.tf @@ -0,0 +1,49 @@ +resource "dynatrace_request_attribute" "RsVehicleType" { + name = "RsVehicleType" + enabled = true + aggregation = "LAST" + # confidential = false + data_type = "STRING" + normalization = "ORIGINAL" + # skip_personal_data_masking = false + data_sources { + enabled = true + source = "METHOD_PARAM" + technology = "JAVA" + methods { + argument_index = 1 + capture = "ARGUMENT" + deep_object_access = "determineVehicleTypeIfAvailable().name()" + method { + argument_types = ["com.bmw.cc.rs.entity.Event","com.bmw.cc.rs.entity.EventStateEnum"] + class_name = "com.bmw.cc.rs.entity.EventController" + method_name = "updateEventState" + return_type = "void" + visibility = "PUBLIC" + } + } + scope { + tag_of_process_group = "Component:RemoteServices" + } + } + data_sources { + enabled = true + source = "METHOD_PARAM" + technology = "JAVA" + methods { + argument_index = 1 + capture = "ARGUMENT" + deep_object_access = "determineVehicleTypeIfAvailable().name()" + method { + argument_types = ["com.bmw.cc.rs360.entity.Event","com.bmw.cc.rs360.entity.EventStateEnum"] + class_name = "com.bmw.cc.rs360.controller.EventController" + method_name = "updateEventState" + return_type = "void" + visibility = "PUBLIC" + } + } + scope { + tag_of_process_group = "Component:Remote 360" + } + } +} diff --git a/output/20220126-160653_TERRAFORM/request_attributes/Traceparent HTTP header field.17da955f-3566-4361-b399-d7d5dad20f3d..request_attribute.tf b/output/20220126-160653_TERRAFORM/request_attributes/Traceparent HTTP header field.17da955f-3566-4361-b399-d7d5dad20f3d..request_attribute.tf new file mode 100644 index 0000000..568d02f --- /dev/null +++ b/output/20220126-160653_TERRAFORM/request_attributes/Traceparent HTTP header field.17da955f-3566-4361-b399-d7d5dad20f3d..request_attribute.tf @@ -0,0 +1,15 @@ +resource "dynatrace_request_attribute" "Traceparent_HTTP_header_field" { + name = "Traceparent HTTP header field" + enabled = true + aggregation = "FIRST" + # confidential = false + data_type = "STRING" + normalization = "ORIGINAL" + # skip_personal_data_masking = false + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + parameter_name = "traceparent" + source = "REQUEST_HEADER" + } +} diff --git a/output/20220126-160653_TERRAFORM/request_attributes/VIN.5f4f8d0d-56dd-4360-b0bf-846542d65459..request_attribute.tf b/output/20220126-160653_TERRAFORM/request_attributes/VIN.5f4f8d0d-56dd-4360-b0bf-846542d65459..request_attribute.tf new file mode 100644 index 0000000..33de2c2 --- /dev/null +++ b/output/20220126-160653_TERRAFORM/request_attributes/VIN.5f4f8d0d-56dd-4360-b0bf-846542d65459..request_attribute.tf @@ -0,0 +1,238 @@ +resource "dynatrace_request_attribute" "VIN" { + name = "VIN" + enabled = true + aggregation = "FIRST" + confidential = true + data_type = "STRING" + normalization = "ORIGINAL" + # skip_personal_data_masking = false + data_sources { + enabled = true + source = "METHOD_PARAM" + technology = "JAVA" + methods { + argument_index = 1 + capture = "ARGUMENT" + deep_object_access = ".getVin()" + method { + argument_types = ["com.bmw.cc.rs360.entity.Event","com.bmw.cc.rs360.entity.EventStateEnum"] + class_name = "com.bmw.cc.rs360.controller.EventController" + method_name = "updateEventState" + return_type = "void" + visibility = "PUBLIC" + } + } + scope { + tag_of_process_group = "Component:Remote 360" + } + } + data_sources { + enabled = true + source = "METHOD_PARAM" + technology = "JAVA" + methods { + argument_index = 1 + capture = "ARGUMENT" + deep_object_access = ".getVin()" + method { + argument_types = ["com.bmw.cc.rs.entity.Event","com.bmw.cc.rs.entity.EventStateEnum"] + class_name = "com.bmw.cc.rs.entity.EventController" + method_name = "updateEventState" + return_type = "void" + visibility = "PUBLIC" + } + } + scope { + tag_of_process_group = "Component:RemoteServices" + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + scope { + tag_of_process_group = "Component:agent-service" + } + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "([a-zA-Z0-9]{17})" + extract_substring { + delimiter = "/agents/" + end_delimiter = "-" + position = "BETWEEN" + } + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + scope { + tag_of_process_group = "Component:App Repository" + } + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "([a-zA-Z0-9]{17})" + extract_substring { + delimiter = "/npm/registry/provisionedAppNames/" + position = "AFTER" + } + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "([a-zA-Z0-9]{17})" + extract_substring { + delimiter = "/vin/" + position = "AFTER" + } + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "([a-zA-Z0-9]{17})" + extract_substring { + delimiter = "/car/" + position = "AFTER" + } + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "([a-zA-Z0-9]{17})" + extract_substring { + delimiter = "/cars/" + position = "AFTER" + } + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "([a-zA-Z0-9]{17})" + extract_substring { + delimiter = "/vehicle/" + position = "AFTER" + } + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "([a-zA-Z0-9]{17})" + extract_substring { + delimiter = "/vehicles/" + position = "AFTER" + } + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "([a-zA-Z0-9]{17})" + extract_substring { + delimiter = "/v1/" + position = "AFTER" + } + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "([a-zA-Z0-9]{17})" + extract_substring { + delimiter = "/v2/" + position = "AFTER" + } + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "([a-zA-Z0-9]{17})" + extract_substring { + delimiter = "/v3/" + position = "AFTER" + } + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "([a-zA-Z0-9]{17})" + extract_substring { + delimiter = "/v4/" + position = "AFTER" + } + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "([a-zA-Z0-9]{17})" + extract_substring { + delimiter = "/v5/" + position = "AFTER" + } + } + } + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_SERVER" + source = "URI_PATH" + value_processing { + # split_at = "" + # trim = false + value_extractor_regex = "([a-zA-Z0-9]{17})" + extract_substring { + delimiter = "/v6/" + position = "AFTER" + } + } + } +} diff --git a/output/20220126-160653_TERRAFORM/request_attributes/getKeyID.7839df53-137f-4d8e-9f9b-41907b241c92..request_attribute.tf b/output/20220126-160653_TERRAFORM/request_attributes/getKeyID.7839df53-137f-4d8e-9f9b-41907b241c92..request_attribute.tf new file mode 100644 index 0000000..55659ea --- /dev/null +++ b/output/20220126-160653_TERRAFORM/request_attributes/getKeyID.7839df53-137f-4d8e-9f9b-41907b241c92..request_attribute.tf @@ -0,0 +1,24 @@ +resource "dynatrace_request_attribute" "getKeyID" { + name = "getKeyID" + enabled = true + aggregation = "FIRST" + # confidential = false + data_type = "STRING" + normalization = "ORIGINAL" + # skip_personal_data_masking = false + data_sources { + enabled = true + source = "METHOD_PARAM" + technology = "JAVA" + methods { + argument_index = 0 + capture = "ARGUMENT" + method { + class_name = "com.bmw.cc.smc2.dkey.api.track.v2.entity.TrackKeyRequest" + method_name = "getKeyID" + return_type = "java.lang.String" + visibility = "PUBLIC" + } + } + } +} diff --git a/output/20220126-160653_TERRAFORM/request_attributes/keyType.4220dc4a-2501-4bc9-9321-6ebd7f453f33..request_attribute.tf b/output/20220126-160653_TERRAFORM/request_attributes/keyType.4220dc4a-2501-4bc9-9321-6ebd7f453f33..request_attribute.tf new file mode 100644 index 0000000..dfce8ca --- /dev/null +++ b/output/20220126-160653_TERRAFORM/request_attributes/keyType.4220dc4a-2501-4bc9-9321-6ebd7f453f33..request_attribute.tf @@ -0,0 +1,26 @@ +resource "dynatrace_request_attribute" "keyType" { + name = "keyType" + enabled = true + aggregation = "FIRST" + # confidential = false + data_type = "STRING" + normalization = "ORIGINAL" + # skip_personal_data_masking = false + data_sources { + enabled = true + capturing_and_storage_location = "CAPTURE_AND_STORE_ON_BOTH" + source = "URI" + scope { + tag_of_process_group = "Component:ASBC-SMACC" + } + value_processing { + # split_at = "" + # trim = false + extract_substring { + delimiter = "track/" + end_delimiter = "/decryptVerifyAndGenerate" + position = "BETWEEN" + } + } + } +}