Compare commits
1 Commits
230712-050
...
230601-155
| Author | SHA1 | Date |
|---|---|---|
|
|
d222c3b064 |
|
|
@ -0,0 +1,11 @@
|
|||
terraform {
|
||||
required_providers {
|
||||
dynatrace = {
|
||||
source = "dynatrace-oss/dynatrace"
|
||||
version = "1.30.2"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
provider "dynatrace" {
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
# ID calc:service.recallservicehttpstatus
|
||||
# ATTENTION FLAWED SETTINGS The metric needs to either get limited by specifying a Management Zone or by specifying one or more conditions related to SERVICE_DISPLAY_NAME, SERVICE_PUBLIC_DOMAIN_NAME, SERVICE_WEB_APPLICATION_ID, SERVICE_WEB_CONTEXT_ROOT, SERVICE_WEB_SERVER_NAME, SERVICE_WEB_SERVICE_NAME, SERVICE_WEB_SERVICE_NAMESPACE, REMOTE_SERVICE_NAME, REMOTE_ENDPOINT, AZURE_FUNCTIONS_SITE_NAME, AZURE_FUNCTIONS_FUNCTION_NAME, CTG_GATEWAY_URL, CTG_SERVER_NAME, ACTOR_SYSTEM, ESB_APPLICATION_NAME, SERVICE_TAG, SERVICE_TYPE, PROCESS_GROUP_TAG or PROCESS_GROUP_NAME
|
||||
resource "dynatrace_calculated_service_metric" "RecallServiceHttpStatus" {
|
||||
name = "RecallServiceHttpStatus"
|
||||
enabled = true
|
||||
entity_id = "SERVICE-13EE5D3C4764272C"
|
||||
metric_key = "calc:service.recallservicehttpstatus"
|
||||
unit = "COUNT"
|
||||
dimension_definition {
|
||||
name = "Dimension"
|
||||
dimension = "{HTTP-Status}"
|
||||
top_x = 10
|
||||
top_x_aggregation = "SINGLE_VALUE"
|
||||
top_x_direction = "DESCENDING"
|
||||
}
|
||||
metric_definition {
|
||||
metric = "REQUEST_COUNT"
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
# ID vu9U3hXa3q0AAAABAB1idWlsdGluOnByb2JsZW0ubm90aWZpY2F0aW9ucwAGdGVuYW50AAZ0ZW5hbnQAJGQyZjc2ZDQ3LTNkMzYtNDQ4Mi1hMTU4LTM4ZDg5MGI3YWQxN77vVN4V2t6t
|
||||
# LEGACY_ID d2f76d47-3d36-4482-a158-38d890b7ad17
|
||||
# ATTENTION One or more secret HTTP headers need to get filled in
|
||||
resource "dynatrace_webhook_notification" "BMC-TrueSight-Test_10APP11679002_MINOR" {
|
||||
name = "BMC-TrueSight-Test_10APP11679002_MINOR"
|
||||
active = false
|
||||
insecure = true
|
||||
notify_closed_problems = true
|
||||
notify_event_merges = false
|
||||
payload = "[\n{\n \"attributes\": {\n \"CLASS\": \"BusinessTransaction\",\n \"source\": \"MgmtZone: All - Test\",\n \"severity\": \"MINOR\",\n \"origin\": \"APPD-213526\",\n \"sub_origin\": \"Dynatrace Managed - {ImpactedEntity}\",\n \"adapter_host\": \"https://dynatracemgd-cn.bmwgroup.net\",\n \"msg\": \"{ProblemDetailsText}\",\n \"contract_id\": \"10APP11679002\",\n \"ars_esc\": \"Yes\",\n \"ars_delay_time\": \"0\",\n \"hostname\": \"test\",\n \"sub_source\": \"Environment: CoCo_CN_Prod\",\n \"server_loc\": \"\",\n \"event_id\": \"AI001\",\n \"dd_plus\": \"{ProblemSeverity}\",\n \"dd1\": \"{ProblemURL}\",\n \"dd2\": \"{PID}\",\n\t\t\"dd3\": \"{Tags}\"\n }\n}\n]"
|
||||
profile = "vu9U3hXa3q0AAAABABhidWlsdGluOmFsZXJ0aW5nLnByb2ZpbGUABnRlbmFudAAGdGVuYW50ACQzMGI4MzcyOC02ODE2LTQ2MDItODAzMS00MDFkMTIwYzJmOTC-71TeFdrerQ"
|
||||
url = "https://tsims01.bmwgroup.net:8443/bppmws/api/Event/create?routingId=pforwemcell02"
|
||||
headers {
|
||||
header {
|
||||
name = "Authorization"
|
||||
secret_value = "$${state.secret_value}"
|
||||
value = ""
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,11 @@
|
|||
terraform {
|
||||
required_providers {
|
||||
dynatrace = {
|
||||
source = "dynatrace-oss/dynatrace"
|
||||
version = "1.30.2"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
provider "dynatrace" {
|
||||
}
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
|
||||
terraform {
|
||||
required_providers {
|
||||
dynatrace = {
|
||||
source = "dynatrace-oss/dynatrace"
|
||||
version = "1.30.2"
|
||||
}
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue