Skip to content

Commit

Permalink
Doc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hemeryar committed Nov 8, 2024
1 parent 3a4e7dd commit 9008c90
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 29 deletions.
9 changes: 5 additions & 4 deletions docs/resources/rum_metric.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,16 @@ Provides a Datadog RumMetric resource. This can be used to create and manage Dat
```terraform
# Create new rum_metric resource
resource "datadog_rum_metric" "foo" {
resource "datadog_rum_metric" "testing_rum_metric" {
name = "testing.rum.metric"
compute {
aggregation_type = "distribution"
include_percentiles = True
include_percentiles = true
path = "@duration"
}
event_type = "session"
filter {
query = "@service:web-ui: "
query = "@service:web-ui"
}
group_by {
path = "@browser.name"
Expand Down Expand Up @@ -96,5 +97,5 @@ Optional:
Import is supported using the following syntax:

```shell
terraform import datadog_rum_metric.new_list ""
terraform import datadog_rum_metric.testing_rum_metric "testing.rum.metric"
```
2 changes: 1 addition & 1 deletion examples/resources/datadog_rum_metric/import.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
terraform import datadog_rum_metric.new_list ""
terraform import datadog_rum_metric.testing_rum_metric "testing.rum.metric"
7 changes: 4 additions & 3 deletions examples/resources/datadog_rum_metric/resource.tf
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
# Create new rum_metric resource

resource "datadog_rum_metric" "foo" {
resource "datadog_rum_metric" "testing_rum_metric" {
name = "testing.rum.metric"
compute {
aggregation_type = "distribution"
include_percentiles = True
include_percentiles = true
path = "@duration"
}
event_type = "session"
filter {
query = "@service:web-ui: "
query = "@service:web-ui"
}
group_by {
path = "@browser.name"
Expand Down
1 change: 0 additions & 1 deletion examples/resources/datadog_rum_metrics/import.sh

This file was deleted.

20 changes: 0 additions & 20 deletions examples/resources/datadog_rum_metrics/resource.tf

This file was deleted.

0 comments on commit 9008c90

Please sign in to comment.