Skip to content

Commit 2337187

Browse files
committed
Release v1.28.0
1 parent 10b8cf9 commit 2337187

15 files changed

+303
-20
lines changed

docs/data-sources/dashboard.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
layout: ""
3+
page_title: "dynatrace_dashboard Data Source - terraform-provider-dynatrace"
4+
description: |-
5+
The data source `dynatrace_dashboard` covers queries for dashboards
6+
---
7+
8+
# dynatrace_dashboard (Data Source)
9+
10+
The `dynatrace_dashboard` data source allows the dashboard ID to be retrieved by its name and owner.
11+
12+
- `name` (String) - The name of the dashboard
13+
- `owner` (String) - The owner of the dashboard
14+
15+
If multiple services match the given criteria, the first result will be retrieved.
16+
17+
## Example Usage
18+
19+
```terraform
20+
data "dynatrace_dashboard" "Example" {
21+
name = "Terraform"
22+
owner = "Hashicorp"
23+
}
24+
25+
output "id" {
26+
value = data.dynatrace_dashboard.Example.id
27+
}
28+
29+
```
30+
31+
<!-- schema generated by tfplugindocs -->
32+
## Schema
33+
34+
### Required
35+
36+
- `name` (String)
37+
- `owner` (String)
38+
39+
### Read-Only
40+
41+
- `id` (String) The ID of this resource.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
layout: ""
3+
page_title: "dynatrace_mobile_application Data Source - terraform-provider-dynatrace"
4+
description: |-
5+
The data source `dynatrace_mobile_application` covers queries for a mobile application
6+
---
7+
8+
# dynatrace_mobile_application (Data Source)
9+
10+
The `dynatrace_mobile_application` data source allows the mobile application ID to be retrieved by its name.
11+
12+
- `name` (String) - The name of the dashboard
13+
14+
## Example Usage
15+
16+
```terraform
17+
data "dynatrace_mobile_application" "Example" {
18+
name = "Terraform"
19+
}
20+
21+
output "id" {
22+
value = data.dynatrace_mobile_application.Example.id
23+
}
24+
25+
```
26+
27+
<!-- schema generated by tfplugindocs -->
28+
## Schema
29+
30+
### Required
31+
32+
- `name` (String)
33+
34+
### Read-Only
35+
36+
- `id` (String) The ID of this resource.

docs/data-sources/slo.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
layout: ""
3+
page_title: "dynatrace_slo Data Source - terraform-provider-dynatrace"
4+
description: |-
5+
The data source `dynatrace_slo` covers queries for dashboards
6+
---
7+
8+
# dynatrace_slo (Data Source)
9+
10+
The `dynatrace_slo` data source allows the SLO ID to be retrieved by its name.
11+
12+
- `name` (String) - The name of the SLO
13+
14+
If multiple services match the given criteria, the first result will be retrieved.
15+
16+
## Example Usage
17+
18+
```terraform
19+
data "dynatrace_slo" "Example" {
20+
name = "Terraform"
21+
}
22+
23+
output "id" {
24+
value = data.dynatrace_slo.Example.id
25+
}
26+
27+
```
28+
29+
<!-- schema generated by tfplugindocs -->
30+
## Schema
31+
32+
### Required
33+
34+
- `name` (String)
35+
36+
### Read-Only
37+
38+
- `id` (String) The ID of this resource.

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Use the links to the left to learn about the available resources and data source
1818
terraform {
1919
required_providers {
2020
dynatrace = {
21-
version = "1.27.0"
21+
version = "1.28.0"
2222
source = "dynatrace-oss/dynatrace"
2323
}
2424
}
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
layout: ""
3+
page_title: dynatrace_application_detection_rule_v2 Resource - terraform-provider-dynatrace"
4+
description: |-
5+
The resource `dynatrace_application_detection_rule_v2` covers configuration for application detection rule
6+
---
7+
8+
# dynatrace_application_detection_rule_v2 (Resource)
9+
10+
## Dynatrace Documentation
11+
12+
- Check application detection rules - https://www.dynatrace.com/support/help/platform-modules/digital-experience/web-applications/additional-configuration/application-detection-rules
13+
14+
- Settings API - https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings (schemaId: `builtin:rum.web.app-detection`)
15+
16+
## Export Example Usage
17+
18+
- `terraform-provider-dynatrace -export dynatrace_application_detection_rule_v2` downloads all existing application detection rule configuration
19+
20+
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/guides/export-v2).
21+
22+
## Resource Example Usage
23+
24+
```terraform
25+
resource "dynatrace_application_detection_rule_v2" "#name#" {
26+
application_id = "APPLICATION-1234567890000000"
27+
matcher = "DOMAIN_MATCHES"
28+
pattern = "TerraformTest"
29+
}
30+
```
31+
32+
<!-- schema generated by tfplugindocs -->
33+
## Schema
34+
35+
### Required
36+
37+
- `application_id` (String) Select an existing application or create a new one.
38+
- `matcher` (String) Possible Values: `DOMAIN_CONTAINS`, `DOMAIN_ENDS_WITH`, `DOMAIN_EQUALS`, `DOMAIN_MATCHES`, `DOMAIN_STARTS_WITH`, `URL_CONTAINS`, `URL_ENDS_WITH`, `URL_EQUALS`, `URL_STARTS_WITH`
39+
- `pattern` (String) Pattern
40+
41+
### Read-Only
42+
43+
- `id` (String) The ID of this resource.
44+

docs/resources/disk_specific_anomalies_v2.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,16 @@ resource "dynatrace_disk_specific_anomalies_v2" "#name#" {
5757
### Required
5858

5959
- `disk_id` (String) The id for the disk anomaly detection
60-
- `disk_low_inodes_detection` (Block List, Min: 1, Max: 1) no documentation available (see [below for nested schema](#nestedblock--disk_low_inodes_detection))
61-
- `disk_low_space_detection` (Block List, Min: 1, Max: 1) no documentation available (see [below for nested schema](#nestedblock--disk_low_space_detection))
62-
- `disk_slow_writes_and_reads_detection` (Block List, Min: 1, Max: 1) no documentation available (see [below for nested schema](#nestedblock--disk_slow_writes_and_reads_detection))
6360
- `override_disk_low_space_detection` (Boolean) Override low disk space detection settings
6461
- `override_low_inodes_detection` (Boolean) Override low inodes detection settings
6562
- `override_slow_writes_and_reads_detection` (Boolean) Override slow writes and reads detection settings
6663

64+
### Optional
65+
66+
- `disk_low_inodes_detection` (Block List, Max: 1) no documentation available (see [below for nested schema](#nestedblock--disk_low_inodes_detection))
67+
- `disk_low_space_detection` (Block List, Max: 1) no documentation available (see [below for nested schema](#nestedblock--disk_low_space_detection))
68+
- `disk_slow_writes_and_reads_detection` (Block List, Max: 1) no documentation available (see [below for nested schema](#nestedblock--disk_slow_writes_and_reads_detection))
69+
6770
### Read-Only
6871

6972
- `id` (String) The ID of this resource.

docs/resources/k8s_node_anomalies.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ resource "dynatrace_k8s_node_anomalies" "#name#" {
4646
readiness_issues {
4747
enabled = false
4848
}
49+
node_problematic_condition {
50+
enabled = false
51+
}
4952
}
5053
```
5154

@@ -56,6 +59,7 @@ resource "dynatrace_k8s_node_anomalies" "#name#" {
5659

5760
- `cpu_requests_saturation` (Block List, Min: 1, Max: 1) no documentation available (see [below for nested schema](#nestedblock--cpu_requests_saturation))
5861
- `memory_requests_saturation` (Block List, Min: 1, Max: 1) no documentation available (see [below for nested schema](#nestedblock--memory_requests_saturation))
62+
- `node_problematic_condition` (Block List, Min: 1, Max: 1) no documentation available (see [below for nested schema](#nestedblock--node_problematic_condition))
5963
- `pods_saturation` (Block List, Min: 1, Max: 1) no documentation available (see [below for nested schema](#nestedblock--pods_saturation))
6064
- `readiness_issues` (Block List, Min: 1, Max: 1) Alerts if node has not been available for a given amount of time (see [below for nested schema](#nestedblock--readiness_issues))
6165

@@ -111,6 +115,27 @@ Required:
111115

112116

113117

118+
<a id="nestedblock--node_problematic_condition"></a>
119+
### Nested Schema for `node_problematic_condition`
120+
121+
Required:
122+
123+
- `enabled` (Boolean) This setting is enabled (`true`) or disabled (`false`)
124+
125+
Optional:
126+
127+
- `configuration` (Block List, Max: 1) Alert if (see [below for nested schema](#nestedblock--node_problematic_condition--configuration))
128+
129+
<a id="nestedblock--node_problematic_condition--configuration"></a>
130+
### Nested Schema for `node_problematic_condition.configuration`
131+
132+
Required:
133+
134+
- `observation_period_in_minutes` (Number) within the last
135+
- `sample_period_in_minutes` (Number) node has problematic conditions for at least
136+
137+
138+
114139
<a id="nestedblock--pods_saturation"></a>
115140
### Nested Schema for `pods_saturation`
116141

docs/resources/k8s_workload_anomalies.md

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,30 @@ resource "dynatrace_k8s_workload_anomalies" "#name#" {
6868
sample_period_in_minutes = 4
6969
}
7070
}
71+
high_cpu_throttling {
72+
enabled = true
73+
configuration {
74+
observation_period_in_minutes = 6
75+
sample_period_in_minutes = 4
76+
threshold = 2
77+
}
78+
}
79+
high_cpu_usage {
80+
enabled = true
81+
configuration {
82+
observation_period_in_minutes = 6
83+
sample_period_in_minutes = 4
84+
threshold = 2
85+
}
86+
}
87+
high_memory_usage {
88+
enabled = true
89+
configuration {
90+
observation_period_in_minutes = 6
91+
sample_period_in_minutes = 4
92+
threshold = 2
93+
}
94+
}
7195
}
7296
```
7397

@@ -78,6 +102,9 @@ resource "dynatrace_k8s_workload_anomalies" "#name#" {
78102

79103
- `container_restarts` (Block List, Min: 1, Max: 1) no documentation available (see [below for nested schema](#nestedblock--container_restarts))
80104
- `deployment_stuck` (Block List, Min: 1, Max: 1) no documentation available (see [below for nested schema](#nestedblock--deployment_stuck))
105+
- `high_cpu_throttling` (Block List, Min: 1, Max: 1) no documentation available (see [below for nested schema](#nestedblock--high_cpu_throttling))
106+
- `high_cpu_usage` (Block List, Min: 1, Max: 1) no documentation available (see [below for nested schema](#nestedblock--high_cpu_usage))
107+
- `high_memory_usage` (Block List, Min: 1, Max: 1) no documentation available (see [below for nested schema](#nestedblock--high_memory_usage))
81108
- `not_all_pods_ready` (Block List, Min: 1, Max: 1) no documentation available (see [below for nested schema](#nestedblock--not_all_pods_ready))
82109
- `pending_pods` (Block List, Min: 1, Max: 1) no documentation available (see [below for nested schema](#nestedblock--pending_pods))
83110
- `pod_stuck_in_terminating` (Block List, Min: 1, Max: 1) no documentation available (see [below for nested schema](#nestedblock--pod_stuck_in_terminating))
@@ -134,6 +161,72 @@ Required:
134161

135162

136163

164+
<a id="nestedblock--high_cpu_throttling"></a>
165+
### Nested Schema for `high_cpu_throttling`
166+
167+
Required:
168+
169+
- `enabled` (Boolean) This setting is enabled (`true`) or disabled (`false`)
170+
171+
Optional:
172+
173+
- `configuration` (Block List, Max: 1) Alert if (see [below for nested schema](#nestedblock--high_cpu_throttling--configuration))
174+
175+
<a id="nestedblock--high_cpu_throttling--configuration"></a>
176+
### Nested Schema for `high_cpu_throttling.configuration`
177+
178+
Required:
179+
180+
- `observation_period_in_minutes` (Number) within the last
181+
- `sample_period_in_minutes` (Number) of CPU usage for at least
182+
- `threshold` (Number) amount of CPU throttling is above
183+
184+
185+
186+
<a id="nestedblock--high_cpu_usage"></a>
187+
### Nested Schema for `high_cpu_usage`
188+
189+
Required:
190+
191+
- `enabled` (Boolean) This setting is enabled (`true`) or disabled (`false`)
192+
193+
Optional:
194+
195+
- `configuration` (Block List, Max: 1) Alert if (see [below for nested schema](#nestedblock--high_cpu_usage--configuration))
196+
197+
<a id="nestedblock--high_cpu_usage--configuration"></a>
198+
### Nested Schema for `high_cpu_usage.configuration`
199+
200+
Required:
201+
202+
- `observation_period_in_minutes` (Number) within the last
203+
- `sample_period_in_minutes` (Number) of defined CPU limits for at least
204+
- `threshold` (Number) amount of utilized workload CPU is above
205+
206+
207+
208+
<a id="nestedblock--high_memory_usage"></a>
209+
### Nested Schema for `high_memory_usage`
210+
211+
Required:
212+
213+
- `enabled` (Boolean) This setting is enabled (`true`) or disabled (`false`)
214+
215+
Optional:
216+
217+
- `configuration` (Block List, Max: 1) Alert if (see [below for nested schema](#nestedblock--high_memory_usage--configuration))
218+
219+
<a id="nestedblock--high_memory_usage--configuration"></a>
220+
### Nested Schema for `high_memory_usage.configuration`
221+
222+
Required:
223+
224+
- `observation_period_in_minutes` (Number) within the last
225+
- `sample_period_in_minutes` (Number) of defined memory limits for at least
226+
- `threshold` (Number) amount of utilized workload memory is above
227+
228+
229+
137230
<a id="nestedblock--not_all_pods_ready"></a>
138231
### Nested Schema for `not_all_pods_ready`
139232

0 commit comments

Comments
 (0)