diff --git a/datadog/resource_datadog_dashboard.go b/datadog/resource_datadog_dashboard.go
index 040403cf49..22555e5605 100644
--- a/datadog/resource_datadog_dashboard.go
+++ b/datadog/resource_datadog_dashboard.go
@@ -2624,6 +2624,9 @@ func getHeatmapRequestSchema() map[string]*schema.Schema {
"rum_query": getApmLogNetworkRumSecurityAuditQuerySchema(),
"security_query": getApmLogNetworkRumSecurityAuditQuerySchema(),
"process_query": getProcessQuerySchema(),
+ // "query" and "formula" go together
+ "query": getFormulaQuerySchema(),
+ "formula": getFormulaSchema(),
// Settings specific to Heatmap requests
"style": {
Description: "The style of the widget graph. One nested block is allowed using the structure below.",
@@ -2662,6 +2665,32 @@ func buildDatadogHeatmapRequests(terraformRequests *[]interface{}) *[]datadogV1.
} else if v, ok := terraformRequest["security_query"].([]interface{}); ok && len(v) > 0 {
securityQuery := v[0].(map[string]interface{})
datadogHeatmapRequest.SecurityQuery = buildDatadogApmOrLogQuery(securityQuery)
+ } else if v, ok := terraformRequest["query"].([]interface{}); ok && len(v) > 0 {
+ queries := make([]datadogV1.FormulaAndFunctionQueryDefinition, len(v))
+ for i, q := range v {
+ query := q.(map[string]interface{})
+ if w, ok := query["event_query"].([]interface{}); ok && len(w) > 0 {
+ queries[i] = *buildDatadogEventQuery(w[0].(map[string]interface{}))
+ } else if w, ok := query["metric_query"].([]interface{}); ok && len(w) > 0 {
+ queries[i] = *buildDatadogMetricQuery(w[0].(map[string]interface{}))
+ } else if w, ok := query["process_query"].([]interface{}); ok && len(w) > 0 {
+ queries[i] = *buildDatadogFormulaAndFunctionProcessQuery(w[0].(map[string]interface{}))
+ } else if w, ok := query["slo_query"].([]interface{}); ok && len(w) > 0 {
+ queries[i] = *buildDatadogFormulaAndFunctionSLOQuery(w[0].(map[string]interface{}))
+ }
+ }
+ datadogHeatmapRequest.SetQueries(queries)
+ datadogHeatmapRequest.SetResponseFormat(datadogV1.FormulaAndFunctionResponseFormat("timeseries"))
+ }
+ if v, ok := terraformRequest["formula"].([]interface{}); ok && len(v) > 0 {
+ formulas := make([]datadogV1.WidgetFormula, len(v))
+ for i, formula := range v {
+ if formula == nil {
+ continue
+ }
+ formulas[i] = *buildDatadogFormula(formula.(map[string]interface{}))
+ }
+ datadogHeatmapRequest.SetFormulas(formulas)
}
if style, ok := terraformRequest["style"].([]interface{}); ok && len(style) > 0 {
if v, ok := style[0].(map[string]interface{}); ok && len(v) > 0 {
@@ -2693,6 +2722,11 @@ func buildTerraformHeatmapRequests(datadogHeatmapRequests *[]datadogV1.HeatMapWi
} else if v, ok := datadogRequest.GetSecurityQueryOk(); ok {
terraformQuery := buildTerraformApmOrLogQuery(*v)
terraformRequest["security_query"] = []map[string]interface{}{terraformQuery}
+ } else if v, ok := datadogRequest.GetQueriesOk(); ok {
+ terraformRequest["query"] = buildTerraformQuery(v)
+ }
+ if v, ok := datadogRequest.GetFormulasOk(); ok {
+ terraformRequest["formula"] = buildTerraformFormula(v)
}
if v, ok := datadogRequest.GetStyleOk(); ok {
style := buildTerraformWidgetStyle(*v)
@@ -6256,7 +6290,7 @@ func getFormulaSchema() *schema.Schema {
"count": {
Type: schema.TypeInt,
Optional: true,
- Description: "The number of results to return",
+ Description: "The number of results to return.",
},
"order": {
Type: schema.TypeString,
@@ -6297,7 +6331,7 @@ func getFormulaSchema() *schema.Schema {
"palette": {
Type: schema.TypeString,
Optional: true,
- Description: "The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors",
+ Description: "The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors.",
},
"palette_index": {
Type: schema.TypeInt,
@@ -6545,7 +6579,7 @@ func getFormulaQuerySchema() *schema.Schema {
"env": {
Type: schema.TypeString,
Required: true,
- Description: "APM Environment.",
+ Description: "APM environment.",
},
"stat": {
Type: schema.TypeString,
@@ -6607,7 +6641,7 @@ func getFormulaQuerySchema() *schema.Schema {
"env": {
Type: schema.TypeString,
Required: true,
- Description: "APM Environment.",
+ Description: "APM environment.",
},
"name": {
Type: schema.TypeString,
@@ -6658,14 +6692,14 @@ func getFormulaQuerySchema() *schema.Schema {
Type: schema.TypeList,
Optional: true,
MaxItems: 1,
- Description: "The slo query using formulas and functions.",
+ Description: "The SLO query using formulas and functions.",
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"data_source": {
Type: schema.TypeString,
Required: true,
ValidateDiagFunc: validators.ValidateEnumValue(datadogV1.NewFormulaAndFunctionSLODataSourceFromValue),
- Description: "The data source for slo queries.",
+ Description: "The data source for SLO queries.",
},
"slo_id": {
Type: schema.TypeString,
diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMapFormulaAndFunction.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMapFormulaAndFunction.freeze
new file mode 100644
index 0000000000..dd4a46f720
--- /dev/null
+++ b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMapFormulaAndFunction.freeze
@@ -0,0 +1 @@
+2023-09-13T14:30:00.577449-04:00
\ No newline at end of file
diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMapFormulaAndFunction.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMapFormulaAndFunction.yaml
new file mode 100644
index 0000000000..e01cc89130
--- /dev/null
+++ b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMapFormulaAndFunction.yaml
@@ -0,0 +1,107 @@
+---
+version: 1
+interactions:
+- request:
+ body: |
+ {"description":"Created using the Datadog provider in Terraform","id":"","is_read_only":true,"layout_type":"ordered","notify_list":[],"tags":[],"template_variable_presets":[],"template_variables":[],"title":"tf-TestAccDatadogDashboardHeatMapFormulaAndFunction-local-1694629800","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"events":[{"q":"env:prod","tags_execution":"and"}],"legend_size":"2","requests":[{"formulas":[{"formula":"query1"}],"queries":[{"data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*}"}],"response_format":"timeseries","style":{"palette":"dog_classic"}}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","title_align":"center","title_size":"16","type":"heatmap","yaxis":{"include_zero":false,"max":"100"}}}]}
+ form: {}
+ headers:
+ Accept:
+ - application/json
+ Content-Type:
+ - application/json
+ url: https://api.datadoghq.com/api/v1/dashboard
+ method: POST
+ response:
+ body: |
+ {"id":"ipf-9ci-s78","title":"tf-TestAccDatadogDashboardHeatMapFormulaAndFunction-local-1694629800","description":"Created using the Datadog provider in Terraform","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/ipf-9ci-s78/tf-testaccdatadogdashboardheatmapformulaandfunction-local-1694629800","is_read_only":true,"template_variables":[],"widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"events":[{"q":"env:prod","tags_execution":"and"}],"legend_size":"2","requests":[{"formulas":[{"formula":"query1"}],"queries":[{"data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*}"}],"response_format":"timeseries","style":{"palette":"dog_classic"}}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","title_align":"center","title_size":"16","type":"heatmap","yaxis":{"include_zero":false,"max":"100"}},"id":4307744427665324}],"notify_list":[],"created_at":"2023-09-13T18:30:03.195371+00:00","modified_at":"2023-09-13T18:30:03.195371+00:00","template_variable_presets":[],"tags":[]}
+ headers:
+ Content-Type:
+ - application/json
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ Accept:
+ - application/json
+ url: https://api.datadoghq.com/api/v1/dashboard/ipf-9ci-s78
+ method: GET
+ response:
+ body: |
+ {"id":"ipf-9ci-s78","title":"tf-TestAccDatadogDashboardHeatMapFormulaAndFunction-local-1694629800","description":"Created using the Datadog provider in Terraform","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/ipf-9ci-s78/tf-testaccdatadogdashboardheatmapformulaandfunction-local-1694629800","is_read_only":true,"template_variables":[],"widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"events":[{"q":"env:prod","tags_execution":"and"}],"legend_size":"2","requests":[{"formulas":[{"formula":"query1"}],"queries":[{"data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*}"}],"response_format":"timeseries","style":{"palette":"dog_classic"}}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","title_align":"center","title_size":"16","type":"heatmap","yaxis":{"include_zero":false,"max":"100"}},"id":4307744427665324}],"notify_list":[],"created_at":"2023-09-13T18:30:03.195371+00:00","modified_at":"2023-09-13T18:30:03.195371+00:00","template_variable_presets":[],"tags":[]}
+ headers:
+ Content-Type:
+ - application/json
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ Accept:
+ - application/json
+ url: https://api.datadoghq.com/api/v1/dashboard/ipf-9ci-s78
+ method: GET
+ response:
+ body: |
+ {"id":"ipf-9ci-s78","title":"tf-TestAccDatadogDashboardHeatMapFormulaAndFunction-local-1694629800","description":"Created using the Datadog provider in Terraform","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/ipf-9ci-s78/tf-testaccdatadogdashboardheatmapformulaandfunction-local-1694629800","is_read_only":true,"template_variables":[],"widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"events":[{"q":"env:prod","tags_execution":"and"}],"legend_size":"2","requests":[{"formulas":[{"formula":"query1"}],"queries":[{"data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*}"}],"response_format":"timeseries","style":{"palette":"dog_classic"}}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","title_align":"center","title_size":"16","type":"heatmap","yaxis":{"include_zero":false,"max":"100"}},"id":4307744427665324}],"notify_list":[],"created_at":"2023-09-13T18:30:03.195371+00:00","modified_at":"2023-09-13T18:30:03.195371+00:00","template_variable_presets":[],"tags":[]}
+ headers:
+ Content-Type:
+ - application/json
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ Accept:
+ - application/json
+ url: https://api.datadoghq.com/api/v1/dashboard/ipf-9ci-s78
+ method: GET
+ response:
+ body: |
+ {"id":"ipf-9ci-s78","title":"tf-TestAccDatadogDashboardHeatMapFormulaAndFunction-local-1694629800","description":"Created using the Datadog provider in Terraform","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/ipf-9ci-s78/tf-testaccdatadogdashboardheatmapformulaandfunction-local-1694629800","is_read_only":true,"template_variables":[],"widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"events":[{"q":"env:prod","tags_execution":"and"}],"legend_size":"2","requests":[{"formulas":[{"formula":"query1"}],"queries":[{"data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*}"}],"response_format":"timeseries","style":{"palette":"dog_classic"}}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","title_align":"center","title_size":"16","type":"heatmap","yaxis":{"include_zero":false,"max":"100"}},"id":4307744427665324}],"notify_list":[],"created_at":"2023-09-13T18:30:03.195371+00:00","modified_at":"2023-09-13T18:30:03.195371+00:00","template_variable_presets":[],"tags":[]}
+ headers:
+ Content-Type:
+ - application/json
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ Accept:
+ - application/json
+ url: https://api.datadoghq.com/api/v1/dashboard/ipf-9ci-s78
+ method: DELETE
+ response:
+ body: |
+ {"deleted_dashboard_id":"ipf-9ci-s78"}
+ headers:
+ Content-Type:
+ - application/json
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ Accept:
+ - application/json
+ url: https://api.datadoghq.com/api/v1/dashboard/ipf-9ci-s78
+ method: GET
+ response:
+ body: '{"errors":["Dashboard with ID ipf-9ci-s78 not found"]}'
+ headers:
+ Content-Type:
+ - application/json
+ status: 404 Not Found
+ code: 404
+ duration: ""
diff --git a/datadog/tests/resource_datadog_dashboard_heatmap_test.go b/datadog/tests/resource_datadog_dashboard_heatmap_test.go
index 764ce59564..c16ccbcd31 100644
--- a/datadog/tests/resource_datadog_dashboard_heatmap_test.go
+++ b/datadog/tests/resource_datadog_dashboard_heatmap_test.go
@@ -46,7 +46,36 @@ resource "datadog_dashboard" "heatmap_dashboard" {
}
}
`
-const datadogDashboardHeatMapConfigImport = `
+
+var datadogDashboardHeatMapAsserts = []string{
+ "title = {{uniq}}",
+ "description = Created using the Datadog provider in Terraform",
+ "layout_type = ordered",
+ "is_read_only = true",
+ "widget.0.heatmap_definition.0.title = Avg of system.cpu.user over account:prod by app",
+ "widget.0.heatmap_definition.0.title_align = center",
+ "widget.0.heatmap_definition.0.title_size = 16",
+ "widget.0.heatmap_definition.0.request.0.q = avg:system.cpu.user{account:prod} by {app}",
+ "widget.0.heatmap_definition.0.request.0.style.0.palette = blue",
+ "widget.0.heatmap_definition.0.yaxis.0.include_zero = false",
+ "widget.0.heatmap_definition.0.yaxis.0.label =",
+ "widget.0.heatmap_definition.0.yaxis.0.max = 100",
+ "widget.0.heatmap_definition.0.yaxis.0.scale =",
+ "widget.0.heatmap_definition.0.yaxis.0.min =",
+ "widget.0.heatmap_definition.0.live_span = 1mo",
+ "widget.0.heatmap_definition.0.event.0.q = env:prod",
+ "widget.0.heatmap_definition.0.event.0.tags_execution = and",
+ "widget.0.heatmap_definition.0.show_legend = true",
+ "widget.0.heatmap_definition.0.legend_size = 2",
+ "widget.0.heatmap_definition.0.custom_link.# = 2",
+ "widget.0.heatmap_definition.0.custom_link.0.label = Test Custom Link label",
+ "widget.0.heatmap_definition.0.custom_link.0.link = https://app.datadoghq.com/dashboard/lists",
+ "widget.0.heatmap_definition.0.custom_link.1.override_label = logs",
+ "widget.0.heatmap_definition.0.custom_link.1.link = https://app.datadoghq.com/dashboard/lists",
+ "widget.0.heatmap_definition.0.custom_link.1.is_hidden = true",
+}
+
+const datadogDashboardHeatMapFormulaAndFunctionConfig = `
resource "datadog_dashboard" "heatmap_dashboard" {
title = "{{uniq}}"
description = "Created using the Datadog provider in Terraform"
@@ -62,11 +91,20 @@ resource "datadog_dashboard" "heatmap_dashboard" {
max = "100"
}
request {
- q = "avg:system.cpu.user{account:prod} by {app}"
- style {
- palette = "blue"
- }
- }
+ formula {
+ formula_expression = "query1"
+ }
+ query {
+ metric_query {
+ data_source = "metrics"
+ name = "query1"
+ query = "avg:system.cpu.user{*}"
+ }
+ }
+ style {
+ palette = "dog_classic"
+ }
+ }
live_span = "1mo"
event {
@@ -79,12 +117,17 @@ resource "datadog_dashboard" "heatmap_dashboard" {
link = "https://app.datadoghq.com/dashboard/lists"
label = "Test Custom Link label"
}
+ custom_link {
+ link = "https://app.datadoghq.com/dashboard/lists"
+ is_hidden = true
+ override_label = "logs"
+ }
}
}
}
`
-var datadogDashboardHeatMapAsserts = []string{
+var datadogDashboardHeatMapFormulaAndFunctionAsserts = []string{
"title = {{uniq}}",
"description = Created using the Datadog provider in Terraform",
"layout_type = ordered",
@@ -92,8 +135,11 @@ var datadogDashboardHeatMapAsserts = []string{
"widget.0.heatmap_definition.0.title = Avg of system.cpu.user over account:prod by app",
"widget.0.heatmap_definition.0.title_align = center",
"widget.0.heatmap_definition.0.title_size = 16",
- "widget.0.heatmap_definition.0.request.0.q = avg:system.cpu.user{account:prod} by {app}",
- "widget.0.heatmap_definition.0.request.0.style.0.palette = blue",
+ "widget.0.heatmap_definition.0.request.0.formula.0.formula_expression = query1",
+ "widget.0.heatmap_definition.0.request.0.query.0.metric_query.0.data_source = metrics",
+ "widget.0.heatmap_definition.0.request.0.query.0.metric_query.0.name = query1",
+ "widget.0.heatmap_definition.0.request.0.query.0.metric_query.0.query = avg:system.cpu.user{*}",
+ "widget.0.heatmap_definition.0.request.0.style.0.palette = dog_classic",
"widget.0.heatmap_definition.0.yaxis.0.include_zero = false",
"widget.0.heatmap_definition.0.yaxis.0.label =",
"widget.0.heatmap_definition.0.yaxis.0.max = 100",
@@ -112,10 +158,52 @@ var datadogDashboardHeatMapAsserts = []string{
"widget.0.heatmap_definition.0.custom_link.1.is_hidden = true",
}
+const datadogDashboardHeatMapConfigImport = `
+resource "datadog_dashboard" "heatmap_dashboard" {
+ title = "{{uniq}}"
+ description = "Created using the Datadog provider in Terraform"
+ layout_type = "ordered"
+ is_read_only = "true"
+
+ widget {
+ heatmap_definition {
+ title = "Avg of system.cpu.user over account:prod by app"
+ title_align = "center"
+ title_size = "16"
+ yaxis {
+ max = "100"
+ }
+ request {
+ q = "avg:system.cpu.user{account:prod} by {app}"
+ style {
+ palette = "blue"
+ }
+ }
+
+ live_span = "1mo"
+ event {
+ q = "env:prod"
+ tags_execution = "and"
+ }
+ show_legend = true
+ legend_size = "2"
+ custom_link {
+ link = "https://app.datadoghq.com/dashboard/lists"
+ label = "Test Custom Link label"
+ }
+ }
+ }
+}
+`
+
func TestAccDatadogDashboardHeatMap(t *testing.T) {
testAccDatadogDashboardWidgetUtil(t, datadogDashboardHeatMapConfig, "datadog_dashboard.heatmap_dashboard", datadogDashboardHeatMapAsserts)
}
+func TestAccDatadogDashboardHeatMapFormulaAndFunction(t *testing.T) {
+ testAccDatadogDashboardWidgetUtil(t, datadogDashboardHeatMapFormulaAndFunctionConfig, "datadog_dashboard.heatmap_dashboard", datadogDashboardHeatMapFormulaAndFunctionAsserts)
+}
+
func TestAccDatadogDashboardHeatMap_import(t *testing.T) {
testAccDatadogDashboardWidgetUtilImport(t, datadogDashboardHeatMapConfigImport, "datadog_dashboard.heatmap_dashboard")
}
diff --git a/docs/resources/dashboard.md b/docs/resources/dashboard.md
index 649f04a1a4..a078658545 100644
--- a/docs/resources/dashboard.md
+++ b/docs/resources/dashboard.md
@@ -971,7 +971,7 @@ Optional:
Optional:
-- `count` (Number) The number of results to return
+- `count` (Number) The number of results to return.
- `order` (String) The direction of the sort. Valid values are `asc`, `desc`.
@@ -980,7 +980,7 @@ Optional:
Optional:
-- `palette` (String) The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors
+- `palette` (String) The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors.
- `palette_index` (Number) Index specifying which color to use within the palette.
@@ -1073,7 +1073,7 @@ Optional:
- `event_query` (Block List, Max: 1) A timeseries formula and functions events query. (see [below for nested schema](#nestedblock--widget--change_definition--request--query--event_query))
- `metric_query` (Block List, Max: 1) A timeseries formula and functions metrics query. (see [below for nested schema](#nestedblock--widget--change_definition--request--query--metric_query))
- `process_query` (Block List, Max: 1) The process query using formulas and functions. (see [below for nested schema](#nestedblock--widget--change_definition--request--query--process_query))
-- `slo_query` (Block List, Max: 1) The slo query using formulas and functions. (see [below for nested schema](#nestedblock--widget--change_definition--request--query--slo_query))
+- `slo_query` (Block List, Max: 1) The SLO query using formulas and functions. (see [below for nested schema](#nestedblock--widget--change_definition--request--query--slo_query))
### Nested Schema for `widget.change_definition.request.query.apm_dependency_stats_query`
@@ -1081,7 +1081,7 @@ Optional:
Required:
- `data_source` (String) The data source for APM Dependency Stats queries. Valid values are `apm_dependency_stats`.
-- `env` (String) APM Environment.
+- `env` (String) APM environment.
- `name` (String) The name of query for use in formulas.
- `operation_name` (String) Name of operation on service.
- `resource_name` (String) APM resource.
@@ -1101,7 +1101,7 @@ Optional:
Required:
- `data_source` (String) The data source for APM Resource Stats queries. Valid values are `apm_resource_stats`.
-- `env` (String) APM Environment.
+- `env` (String) APM environment.
- `name` (String) The name of query for use in formulas.
- `service` (String) APM service.
- `stat` (String) APM statistic. Valid values are `errors`, `error_rate`, `hits`, `latency_avg`, `latency_distribution`, `latency_max`, `latency_p50`, `latency_p75`, `latency_p90`, `latency_p95`, `latency_p99`.
@@ -1217,7 +1217,7 @@ Optional:
Required:
-- `data_source` (String) The data source for slo queries. Valid values are `slo`.
+- `data_source` (String) The data source for SLO queries. Valid values are `slo`.
- `measure` (String) SLO measures queries. Valid values are `good_events`, `bad_events`, `slo_status`, `error_budget_remaining`, `burn_rate`, `error_budget_burndown`.
- `slo_id` (String) ID of an SLO to query.
@@ -1850,7 +1850,7 @@ Optional:
Optional:
-- `count` (Number) The number of results to return
+- `count` (Number) The number of results to return.
- `order` (String) The direction of the sort. Valid values are `asc`, `desc`.
@@ -1859,7 +1859,7 @@ Optional:
Optional:
-- `palette` (String) The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors
+- `palette` (String) The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors.
- `palette_index` (Number) Index specifying which color to use within the palette.
@@ -1938,7 +1938,7 @@ Optional:
- `event_query` (Block List, Max: 1) A timeseries formula and functions events query. (see [below for nested schema](#nestedblock--widget--geomap_definition--request--query--event_query))
- `metric_query` (Block List, Max: 1) A timeseries formula and functions metrics query. (see [below for nested schema](#nestedblock--widget--geomap_definition--request--query--metric_query))
- `process_query` (Block List, Max: 1) The process query using formulas and functions. (see [below for nested schema](#nestedblock--widget--geomap_definition--request--query--process_query))
-- `slo_query` (Block List, Max: 1) The slo query using formulas and functions. (see [below for nested schema](#nestedblock--widget--geomap_definition--request--query--slo_query))
+- `slo_query` (Block List, Max: 1) The SLO query using formulas and functions. (see [below for nested schema](#nestedblock--widget--geomap_definition--request--query--slo_query))
### Nested Schema for `widget.geomap_definition.request.query.apm_dependency_stats_query`
@@ -1946,7 +1946,7 @@ Optional:
Required:
- `data_source` (String) The data source for APM Dependency Stats queries. Valid values are `apm_dependency_stats`.
-- `env` (String) APM Environment.
+- `env` (String) APM environment.
- `name` (String) The name of query for use in formulas.
- `operation_name` (String) Name of operation on service.
- `resource_name` (String) APM resource.
@@ -1966,7 +1966,7 @@ Optional:
Required:
- `data_source` (String) The data source for APM Resource Stats queries. Valid values are `apm_resource_stats`.
-- `env` (String) APM Environment.
+- `env` (String) APM environment.
- `name` (String) The name of query for use in formulas.
- `service` (String) APM service.
- `stat` (String) APM statistic. Valid values are `errors`, `error_rate`, `hits`, `latency_avg`, `latency_distribution`, `latency_max`, `latency_p50`, `latency_p75`, `latency_p90`, `latency_p95`, `latency_p99`.
@@ -2082,7 +2082,7 @@ Optional:
Required:
-- `data_source` (String) The data source for slo queries. Valid values are `slo`.
+- `data_source` (String) The data source for SLO queries. Valid values are `slo`.
- `measure` (String) SLO measures queries. Valid values are `good_events`, `bad_events`, `slo_status`, `error_budget_remaining`, `burn_rate`, `error_budget_burndown`.
- `slo_id` (String) ID of an SLO to query.
@@ -2405,7 +2405,7 @@ Optional:
Optional:
-- `count` (Number) The number of results to return
+- `count` (Number) The number of results to return.
- `order` (String) The direction of the sort. Valid values are `asc`, `desc`.
@@ -2414,7 +2414,7 @@ Optional:
Optional:
-- `palette` (String) The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors
+- `palette` (String) The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors.
- `palette_index` (Number) Index specifying which color to use within the palette.
@@ -2507,7 +2507,7 @@ Optional:
- `event_query` (Block List, Max: 1) A timeseries formula and functions events query. (see [below for nested schema](#nestedblock--widget--group_definition--widget--change_definition--request--query--event_query))
- `metric_query` (Block List, Max: 1) A timeseries formula and functions metrics query. (see [below for nested schema](#nestedblock--widget--group_definition--widget--change_definition--request--query--metric_query))
- `process_query` (Block List, Max: 1) The process query using formulas and functions. (see [below for nested schema](#nestedblock--widget--group_definition--widget--change_definition--request--query--process_query))
-- `slo_query` (Block List, Max: 1) The slo query using formulas and functions. (see [below for nested schema](#nestedblock--widget--group_definition--widget--change_definition--request--query--slo_query))
+- `slo_query` (Block List, Max: 1) The SLO query using formulas and functions. (see [below for nested schema](#nestedblock--widget--group_definition--widget--change_definition--request--query--slo_query))
### Nested Schema for `widget.group_definition.widget.change_definition.request.query.apm_dependency_stats_query`
@@ -2515,7 +2515,7 @@ Optional:
Required:
- `data_source` (String) The data source for APM Dependency Stats queries. Valid values are `apm_dependency_stats`.
-- `env` (String) APM Environment.
+- `env` (String) APM environment.
- `name` (String) The name of query for use in formulas.
- `operation_name` (String) Name of operation on service.
- `resource_name` (String) APM resource.
@@ -2535,7 +2535,7 @@ Optional:
Required:
- `data_source` (String) The data source for APM Resource Stats queries. Valid values are `apm_resource_stats`.
-- `env` (String) APM Environment.
+- `env` (String) APM environment.
- `name` (String) The name of query for use in formulas.
- `service` (String) APM service.
- `stat` (String) APM statistic. Valid values are `errors`, `error_rate`, `hits`, `latency_avg`, `latency_distribution`, `latency_max`, `latency_p50`, `latency_p75`, `latency_p90`, `latency_p95`, `latency_p99`.
@@ -2651,7 +2651,7 @@ Optional:
Required:
-- `data_source` (String) The data source for slo queries. Valid values are `slo`.
+- `data_source` (String) The data source for SLO queries. Valid values are `slo`.
- `measure` (String) SLO measures queries. Valid values are `good_events`, `bad_events`, `slo_status`, `error_budget_remaining`, `burn_rate`, `error_budget_burndown`.
- `slo_id` (String) ID of an SLO to query.
@@ -3284,7 +3284,7 @@ Optional:
Optional:
-- `count` (Number) The number of results to return
+- `count` (Number) The number of results to return.
- `order` (String) The direction of the sort. Valid values are `asc`, `desc`.
@@ -3293,7 +3293,7 @@ Optional:
Optional:
-- `palette` (String) The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors
+- `palette` (String) The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors.
- `palette_index` (Number) Index specifying which color to use within the palette.
@@ -3372,7 +3372,7 @@ Optional:
- `event_query` (Block List, Max: 1) A timeseries formula and functions events query. (see [below for nested schema](#nestedblock--widget--group_definition--widget--geomap_definition--request--query--event_query))
- `metric_query` (Block List, Max: 1) A timeseries formula and functions metrics query. (see [below for nested schema](#nestedblock--widget--group_definition--widget--geomap_definition--request--query--metric_query))
- `process_query` (Block List, Max: 1) The process query using formulas and functions. (see [below for nested schema](#nestedblock--widget--group_definition--widget--geomap_definition--request--query--process_query))
-- `slo_query` (Block List, Max: 1) The slo query using formulas and functions. (see [below for nested schema](#nestedblock--widget--group_definition--widget--geomap_definition--request--query--slo_query))
+- `slo_query` (Block List, Max: 1) The SLO query using formulas and functions. (see [below for nested schema](#nestedblock--widget--group_definition--widget--geomap_definition--request--query--slo_query))
### Nested Schema for `widget.group_definition.widget.geomap_definition.request.query.apm_dependency_stats_query`
@@ -3380,7 +3380,7 @@ Optional:
Required:
- `data_source` (String) The data source for APM Dependency Stats queries. Valid values are `apm_dependency_stats`.
-- `env` (String) APM Environment.
+- `env` (String) APM environment.
- `name` (String) The name of query for use in formulas.
- `operation_name` (String) Name of operation on service.
- `resource_name` (String) APM resource.
@@ -3400,7 +3400,7 @@ Optional:
Required:
- `data_source` (String) The data source for APM Resource Stats queries. Valid values are `apm_resource_stats`.
-- `env` (String) APM Environment.
+- `env` (String) APM environment.
- `name` (String) The name of query for use in formulas.
- `service` (String) APM service.
- `stat` (String) APM statistic. Valid values are `errors`, `error_rate`, `hits`, `latency_avg`, `latency_distribution`, `latency_max`, `latency_p50`, `latency_p75`, `latency_p90`, `latency_p95`, `latency_p99`.
@@ -3516,7 +3516,7 @@ Optional:
Required:
-- `data_source` (String) The data source for slo queries. Valid values are `slo`.
+- `data_source` (String) The data source for SLO queries. Valid values are `slo`.
- `measure` (String) SLO measures queries. Valid values are `good_events`, `bad_events`, `slo_status`, `error_budget_remaining`, `burn_rate`, `error_budget_burndown`.
- `slo_id` (String) ID of an SLO to query.
@@ -3649,9 +3649,11 @@ Optional:
Optional:
- `apm_query` (Block List, Max: 1) The query to use for this widget. (see [below for nested schema](#nestedblock--widget--group_definition--widget--heatmap_definition--request--apm_query))
+- `formula` (Block List) (see [below for nested schema](#nestedblock--widget--group_definition--widget--heatmap_definition--request--formula))
- `log_query` (Block List, Max: 1) The query to use for this widget. (see [below for nested schema](#nestedblock--widget--group_definition--widget--heatmap_definition--request--log_query))
- `process_query` (Block List, Max: 1) The process query to use in the widget. The structure of this block is described below. (see [below for nested schema](#nestedblock--widget--group_definition--widget--heatmap_definition--request--process_query))
- `q` (String) The metric query to use for this widget.
+- `query` (Block List) (see [below for nested schema](#nestedblock--widget--group_definition--widget--heatmap_definition--request--query))
- `rum_query` (Block List, Max: 1) The query to use for this widget. (see [below for nested schema](#nestedblock--widget--group_definition--widget--heatmap_definition--request--rum_query))
- `security_query` (Block List, Max: 1) The query to use for this widget. (see [below for nested schema](#nestedblock--widget--group_definition--widget--heatmap_definition--request--security_query))
- `style` (Block List, Max: 1) The style of the widget graph. One nested block is allowed using the structure below. (see [below for nested schema](#nestedblock--widget--group_definition--widget--heatmap_definition--request--style))
@@ -3720,6 +3722,59 @@ Optional:
+
+### Nested Schema for `widget.group_definition.widget.heatmap_definition.request.formula`
+
+Required:
+
+- `formula_expression` (String) A string expression built from queries, formulas, and functions.
+
+Optional:
+
+- `alias` (String) An expression alias.
+- `cell_display_mode` (String) A list of display modes for each table cell. Valid values are `number`, `bar`.
+- `conditional_formats` (Block List) Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditional_formats` blocks are allowed using the structure below. (see [below for nested schema](#nestedblock--widget--group_definition--widget--heatmap_definition--request--formula--conditional_formats))
+- `limit` (Block List, Max: 1) The options for limiting results returned. (see [below for nested schema](#nestedblock--widget--group_definition--widget--heatmap_definition--request--formula--limit))
+- `style` (Block List, Max: 1) Styling options for widget formulas. (see [below for nested schema](#nestedblock--widget--group_definition--widget--heatmap_definition--request--formula--style))
+
+
+### Nested Schema for `widget.group_definition.widget.heatmap_definition.request.formula.conditional_formats`
+
+Required:
+
+- `comparator` (String) The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`.
+- `palette` (String) The color palette to apply. Valid values are `blue`, `custom_bg`, `custom_image`, `custom_text`, `gray_on_white`, `grey`, `green`, `orange`, `red`, `red_on_white`, `white_on_gray`, `white_on_green`, `green_on_white`, `white_on_red`, `white_on_yellow`, `yellow_on_white`, `black_on_light_yellow`, `black_on_light_green`, `black_on_light_red`.
+- `value` (Number) A value for the comparator.
+
+Optional:
+
+- `custom_bg_color` (String) The color palette to apply to the background, same values available as palette.
+- `custom_fg_color` (String) The color palette to apply to the foreground, same values available as palette.
+- `hide_value` (Boolean) Setting this to True hides values.
+- `image_url` (String) Displays an image as the background.
+- `metric` (String) The metric from the request to correlate with this conditional format.
+- `timeframe` (String) Defines the displayed timeframe.
+
+
+
+### Nested Schema for `widget.group_definition.widget.heatmap_definition.request.formula.limit`
+
+Optional:
+
+- `count` (Number) The number of results to return.
+- `order` (String) The direction of the sort. Valid values are `asc`, `desc`.
+
+
+
+### Nested Schema for `widget.group_definition.widget.heatmap_definition.request.formula.style`
+
+Optional:
+
+- `palette` (String) The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors.
+- `palette_index` (Number) Index specifying which color to use within the palette.
+
+
+
### Nested Schema for `widget.group_definition.widget.heatmap_definition.request.log_query`
@@ -3798,6 +3853,173 @@ Optional:
- `search_by` (String) Your chosen search term.
+
+### Nested Schema for `widget.group_definition.widget.heatmap_definition.request.query`
+
+Optional:
+
+- `apm_dependency_stats_query` (Block List, Max: 1) The APM Dependency Stats query using formulas and functions. (see [below for nested schema](#nestedblock--widget--group_definition--widget--heatmap_definition--request--query--apm_dependency_stats_query))
+- `apm_resource_stats_query` (Block List, Max: 1) The APM Resource Stats query using formulas and functions. (see [below for nested schema](#nestedblock--widget--group_definition--widget--heatmap_definition--request--query--apm_resource_stats_query))
+- `event_query` (Block List, Max: 1) A timeseries formula and functions events query. (see [below for nested schema](#nestedblock--widget--group_definition--widget--heatmap_definition--request--query--event_query))
+- `metric_query` (Block List, Max: 1) A timeseries formula and functions metrics query. (see [below for nested schema](#nestedblock--widget--group_definition--widget--heatmap_definition--request--query--metric_query))
+- `process_query` (Block List, Max: 1) The process query using formulas and functions. (see [below for nested schema](#nestedblock--widget--group_definition--widget--heatmap_definition--request--query--process_query))
+- `slo_query` (Block List, Max: 1) The SLO query using formulas and functions. (see [below for nested schema](#nestedblock--widget--group_definition--widget--heatmap_definition--request--query--slo_query))
+
+
+### Nested Schema for `widget.group_definition.widget.heatmap_definition.request.query.apm_dependency_stats_query`
+
+Required:
+
+- `data_source` (String) The data source for APM Dependency Stats queries. Valid values are `apm_dependency_stats`.
+- `env` (String) APM environment.
+- `name` (String) The name of query for use in formulas.
+- `operation_name` (String) Name of operation on service.
+- `resource_name` (String) APM resource.
+- `service` (String) APM service.
+- `stat` (String) APM statistic. Valid values are `avg_duration`, `avg_root_duration`, `avg_spans_per_trace`, `error_rate`, `pct_exec_time`, `pct_of_traces`, `total_traces_count`.
+
+Optional:
+
+- `is_upstream` (Boolean) Determines whether stats for upstream or downstream dependencies should be queried.
+- `primary_tag_name` (String) The name of the second primary tag used within APM; required when `primary_tag_value` is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog.
+- `primary_tag_value` (String) Filter APM data by the second primary tag. `primary_tag_name` must also be specified.
+
+
+
+### Nested Schema for `widget.group_definition.widget.heatmap_definition.request.query.apm_resource_stats_query`
+
+Required:
+
+- `data_source` (String) The data source for APM Resource Stats queries. Valid values are `apm_resource_stats`.
+- `env` (String) APM environment.
+- `name` (String) The name of query for use in formulas.
+- `service` (String) APM service.
+- `stat` (String) APM statistic. Valid values are `errors`, `error_rate`, `hits`, `latency_avg`, `latency_distribution`, `latency_max`, `latency_p50`, `latency_p75`, `latency_p90`, `latency_p95`, `latency_p99`.
+
+Optional:
+
+- `group_by` (List of String) Array of fields to group results by.
+- `operation_name` (String) Name of operation on service.
+- `primary_tag_name` (String) The name of the second primary tag used within APM; required when `primary_tag_value` is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog.
+- `primary_tag_value` (String) Filter APM data by the second primary tag. `primary_tag_name` must also be specified.
+- `resource_name` (String) APM resource.
+
+
+
+### Nested Schema for `widget.group_definition.widget.heatmap_definition.request.query.event_query`
+
+Required:
+
+- `compute` (Block List, Min: 1) The compute options. (see [below for nested schema](#nestedblock--widget--group_definition--widget--heatmap_definition--request--query--event_query--compute))
+- `data_source` (String) The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `security_signals`, `profiles`, `audit`, `events`, `ci_tests`, `ci_pipelines`.
+- `name` (String) The name of query for use in formulas.
+
+Optional:
+
+- `group_by` (Block List) Group by options. (see [below for nested schema](#nestedblock--widget--group_definition--widget--heatmap_definition--request--query--event_query--group_by))
+- `indexes` (List of String) An array of index names to query in the stream.
+- `search` (Block List, Max: 1) The search options. (see [below for nested schema](#nestedblock--widget--group_definition--widget--heatmap_definition--request--query--event_query--search))
+- `storage` (String) Storage location (private beta).
+
+
+### Nested Schema for `widget.group_definition.widget.heatmap_definition.request.query.event_query.compute`
+
+Required:
+
+- `aggregation` (String) The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`.
+
+Optional:
+
+- `interval` (Number) A time interval in milliseconds.
+- `metric` (String) The measurable attribute to compute.
+
+
+
+### Nested Schema for `widget.group_definition.widget.heatmap_definition.request.query.event_query.group_by`
+
+Required:
+
+- `facet` (String) The event facet.
+
+Optional:
+
+- `limit` (Number) The number of groups to return.
+- `sort` (Block List, Max: 1) The options for sorting group by results. (see [below for nested schema](#nestedblock--widget--group_definition--widget--heatmap_definition--request--query--event_query--group_by--sort))
+
+
+### Nested Schema for `widget.group_definition.widget.heatmap_definition.request.query.event_query.group_by.sort`
+
+Required:
+
+- `aggregation` (String) The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`.
+
+Optional:
+
+- `metric` (String) The metric used for sorting group by results.
+- `order` (String) Direction of sort. Valid values are `asc`, `desc`.
+
+
+
+
+### Nested Schema for `widget.group_definition.widget.heatmap_definition.request.query.event_query.search`
+
+Required:
+
+- `query` (String) The events search string.
+
+
+
+
+### Nested Schema for `widget.group_definition.widget.heatmap_definition.request.query.metric_query`
+
+Required:
+
+- `name` (String) The name of the query for use in formulas.
+- `query` (String) The metrics query definition.
+
+Optional:
+
+- `aggregator` (String) The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`.
+- `data_source` (String) The data source for metrics queries.
+
+
+
+### Nested Schema for `widget.group_definition.widget.heatmap_definition.request.query.process_query`
+
+Required:
+
+- `data_source` (String) The data source for process queries. Valid values are `process`, `container`.
+- `metric` (String) The process metric name.
+- `name` (String) The name of query for use in formulas.
+
+Optional:
+
+- `aggregator` (String) The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`.
+- `is_normalized_cpu` (Boolean) Whether to normalize the CPU percentages.
+- `limit` (Number) The number of hits to return.
+- `sort` (String) The direction of the sort. Valid values are `asc`, `desc`.
+- `tag_filters` (List of String) An array of tags to filter by.
+- `text_filter` (String) The text to use as a filter.
+
+
+
+### Nested Schema for `widget.group_definition.widget.heatmap_definition.request.query.slo_query`
+
+Required:
+
+- `data_source` (String) The data source for SLO queries. Valid values are `slo`.
+- `measure` (String) SLO measures queries. Valid values are `good_events`, `bad_events`, `slo_status`, `error_budget_remaining`, `burn_rate`, `error_budget_burndown`.
+- `slo_id` (String) ID of an SLO to query.
+
+Optional:
+
+- `additional_query_filters` (String) Additional filters applied to the SLO query.
+- `group_mode` (String) Group mode to query measures. Valid values are `overall`, `components`.
+- `name` (String) The name of query for use in formulas.
+- `slo_query_type` (String) type of the SLO to query. Valid values are `metric`.
+
+
+
### Nested Schema for `widget.group_definition.widget.heatmap_definition.request.rum_query`
@@ -4912,7 +5134,7 @@ Optional:
Optional:
-- `count` (Number) The number of results to return
+- `count` (Number) The number of results to return.
- `order` (String) The direction of the sort. Valid values are `asc`, `desc`.
@@ -4921,7 +5143,7 @@ Optional:
Optional:
-- `palette` (String) The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors
+- `palette` (String) The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors.
- `palette_index` (Number) Index specifying which color to use within the palette.
@@ -5014,7 +5236,7 @@ Optional:
- `event_query` (Block List, Max: 1) A timeseries formula and functions events query. (see [below for nested schema](#nestedblock--widget--group_definition--widget--query_table_definition--request--query--event_query))
- `metric_query` (Block List, Max: 1) A timeseries formula and functions metrics query. (see [below for nested schema](#nestedblock--widget--group_definition--widget--query_table_definition--request--query--metric_query))
- `process_query` (Block List, Max: 1) The process query using formulas and functions. (see [below for nested schema](#nestedblock--widget--group_definition--widget--query_table_definition--request--query--process_query))
-- `slo_query` (Block List, Max: 1) The slo query using formulas and functions. (see [below for nested schema](#nestedblock--widget--group_definition--widget--query_table_definition--request--query--slo_query))
+- `slo_query` (Block List, Max: 1) The SLO query using formulas and functions. (see [below for nested schema](#nestedblock--widget--group_definition--widget--query_table_definition--request--query--slo_query))
### Nested Schema for `widget.group_definition.widget.query_table_definition.request.query.apm_dependency_stats_query`
@@ -5022,7 +5244,7 @@ Optional:
Required:
- `data_source` (String) The data source for APM Dependency Stats queries. Valid values are `apm_dependency_stats`.
-- `env` (String) APM Environment.
+- `env` (String) APM environment.
- `name` (String) The name of query for use in formulas.
- `operation_name` (String) Name of operation on service.
- `resource_name` (String) APM resource.
@@ -5042,7 +5264,7 @@ Optional:
Required:
- `data_source` (String) The data source for APM Resource Stats queries. Valid values are `apm_resource_stats`.
-- `env` (String) APM Environment.
+- `env` (String) APM environment.
- `name` (String) The name of query for use in formulas.
- `service` (String) APM service.
- `stat` (String) APM statistic. Valid values are `errors`, `error_rate`, `hits`, `latency_avg`, `latency_distribution`, `latency_max`, `latency_p50`, `latency_p75`, `latency_p90`, `latency_p95`, `latency_p99`.
@@ -5158,7 +5380,7 @@ Optional:
Required:
-- `data_source` (String) The data source for slo queries. Valid values are `slo`.
+- `data_source` (String) The data source for SLO queries. Valid values are `slo`.
- `measure` (String) SLO measures queries. Valid values are `good_events`, `bad_events`, `slo_status`, `error_budget_remaining`, `burn_rate`, `error_budget_burndown`.
- `slo_id` (String) ID of an SLO to query.
@@ -5532,7 +5754,7 @@ Optional:
Optional:
-- `count` (Number) The number of results to return
+- `count` (Number) The number of results to return.
- `order` (String) The direction of the sort. Valid values are `asc`, `desc`.
@@ -5541,7 +5763,7 @@ Optional:
Optional:
-- `palette` (String) The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors
+- `palette` (String) The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors.
- `palette_index` (Number) Index specifying which color to use within the palette.
@@ -5634,7 +5856,7 @@ Optional:
- `event_query` (Block List, Max: 1) A timeseries formula and functions events query. (see [below for nested schema](#nestedblock--widget--group_definition--widget--query_value_definition--request--query--event_query))
- `metric_query` (Block List, Max: 1) A timeseries formula and functions metrics query. (see [below for nested schema](#nestedblock--widget--group_definition--widget--query_value_definition--request--query--metric_query))
- `process_query` (Block List, Max: 1) The process query using formulas and functions. (see [below for nested schema](#nestedblock--widget--group_definition--widget--query_value_definition--request--query--process_query))
-- `slo_query` (Block List, Max: 1) The slo query using formulas and functions. (see [below for nested schema](#nestedblock--widget--group_definition--widget--query_value_definition--request--query--slo_query))
+- `slo_query` (Block List, Max: 1) The SLO query using formulas and functions. (see [below for nested schema](#nestedblock--widget--group_definition--widget--query_value_definition--request--query--slo_query))
### Nested Schema for `widget.group_definition.widget.query_value_definition.request.query.apm_dependency_stats_query`
@@ -5642,7 +5864,7 @@ Optional:
Required:
- `data_source` (String) The data source for APM Dependency Stats queries. Valid values are `apm_dependency_stats`.
-- `env` (String) APM Environment.
+- `env` (String) APM environment.
- `name` (String) The name of query for use in formulas.
- `operation_name` (String) Name of operation on service.
- `resource_name` (String) APM resource.
@@ -5662,7 +5884,7 @@ Optional:
Required:
- `data_source` (String) The data source for APM Resource Stats queries. Valid values are `apm_resource_stats`.
-- `env` (String) APM Environment.
+- `env` (String) APM environment.
- `name` (String) The name of query for use in formulas.
- `service` (String) APM service.
- `stat` (String) APM statistic. Valid values are `errors`, `error_rate`, `hits`, `latency_avg`, `latency_distribution`, `latency_max`, `latency_p50`, `latency_p75`, `latency_p90`, `latency_p95`, `latency_p99`.
@@ -5778,7 +6000,7 @@ Optional:
Required:
-- `data_source` (String) The data source for slo queries. Valid values are `slo`.
+- `data_source` (String) The data source for SLO queries. Valid values are `slo`.
- `measure` (String) SLO measures queries. Valid values are `good_events`, `bad_events`, `slo_status`, `error_budget_remaining`, `burn_rate`, `error_budget_burndown`.
- `slo_id` (String) ID of an SLO to query.
@@ -6048,7 +6270,7 @@ Optional:
- `event_query` (Block List, Max: 1) A timeseries formula and functions events query. (see [below for nested schema](#nestedblock--widget--group_definition--widget--scatterplot_definition--request--scatterplot_table--query--event_query))
- `metric_query` (Block List, Max: 1) A timeseries formula and functions metrics query. (see [below for nested schema](#nestedblock--widget--group_definition--widget--scatterplot_definition--request--scatterplot_table--query--metric_query))
- `process_query` (Block List, Max: 1) The process query using formulas and functions. (see [below for nested schema](#nestedblock--widget--group_definition--widget--scatterplot_definition--request--scatterplot_table--query--process_query))
-- `slo_query` (Block List, Max: 1) The slo query using formulas and functions. (see [below for nested schema](#nestedblock--widget--group_definition--widget--scatterplot_definition--request--scatterplot_table--query--slo_query))
+- `slo_query` (Block List, Max: 1) The SLO query using formulas and functions. (see [below for nested schema](#nestedblock--widget--group_definition--widget--scatterplot_definition--request--scatterplot_table--query--slo_query))
### Nested Schema for `widget.group_definition.widget.scatterplot_definition.request.scatterplot_table.query.apm_dependency_stats_query`
@@ -6056,7 +6278,7 @@ Optional:
Required:
- `data_source` (String) The data source for APM Dependency Stats queries. Valid values are `apm_dependency_stats`.
-- `env` (String) APM Environment.
+- `env` (String) APM environment.
- `name` (String) The name of query for use in formulas.
- `operation_name` (String) Name of operation on service.
- `resource_name` (String) APM resource.
@@ -6076,7 +6298,7 @@ Optional:
Required:
- `data_source` (String) The data source for APM Resource Stats queries. Valid values are `apm_resource_stats`.
-- `env` (String) APM Environment.
+- `env` (String) APM environment.
- `name` (String) The name of query for use in formulas.
- `service` (String) APM service.
- `stat` (String) APM statistic. Valid values are `errors`, `error_rate`, `hits`, `latency_avg`, `latency_distribution`, `latency_max`, `latency_p50`, `latency_p75`, `latency_p90`, `latency_p95`, `latency_p99`.
@@ -6192,7 +6414,7 @@ Optional:
Required:
-- `data_source` (String) The data source for slo queries. Valid values are `slo`.
+- `data_source` (String) The data source for SLO queries. Valid values are `slo`.
- `measure` (String) SLO measures queries. Valid values are `good_events`, `bad_events`, `slo_status`, `error_budget_remaining`, `burn_rate`, `error_budget_burndown`.
- `slo_id` (String) ID of an SLO to query.
@@ -7123,7 +7345,7 @@ Optional:
Optional:
-- `count` (Number) The number of results to return
+- `count` (Number) The number of results to return.
- `order` (String) The direction of the sort. Valid values are `asc`, `desc`.
@@ -7132,7 +7354,7 @@ Optional:
Optional:
-- `palette` (String) The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors
+- `palette` (String) The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors.
- `palette_index` (Number) Index specifying which color to use within the palette.
@@ -7289,7 +7511,7 @@ Optional:
- `event_query` (Block List, Max: 1) A timeseries formula and functions events query. (see [below for nested schema](#nestedblock--widget--group_definition--widget--sunburst_definition--request--query--event_query))
- `metric_query` (Block List, Max: 1) A timeseries formula and functions metrics query. (see [below for nested schema](#nestedblock--widget--group_definition--widget--sunburst_definition--request--query--metric_query))
- `process_query` (Block List, Max: 1) The process query using formulas and functions. (see [below for nested schema](#nestedblock--widget--group_definition--widget--sunburst_definition--request--query--process_query))
-- `slo_query` (Block List, Max: 1) The slo query using formulas and functions. (see [below for nested schema](#nestedblock--widget--group_definition--widget--sunburst_definition--request--query--slo_query))
+- `slo_query` (Block List, Max: 1) The SLO query using formulas and functions. (see [below for nested schema](#nestedblock--widget--group_definition--widget--sunburst_definition--request--query--slo_query))
### Nested Schema for `widget.group_definition.widget.sunburst_definition.request.query.apm_dependency_stats_query`
@@ -7297,7 +7519,7 @@ Optional:
Required:
- `data_source` (String) The data source for APM Dependency Stats queries. Valid values are `apm_dependency_stats`.
-- `env` (String) APM Environment.
+- `env` (String) APM environment.
- `name` (String) The name of query for use in formulas.
- `operation_name` (String) Name of operation on service.
- `resource_name` (String) APM resource.
@@ -7317,7 +7539,7 @@ Optional:
Required:
- `data_source` (String) The data source for APM Resource Stats queries. Valid values are `apm_resource_stats`.
-- `env` (String) APM Environment.
+- `env` (String) APM environment.
- `name` (String) The name of query for use in formulas.
- `service` (String) APM service.
- `stat` (String) APM statistic. Valid values are `errors`, `error_rate`, `hits`, `latency_avg`, `latency_distribution`, `latency_max`, `latency_p50`, `latency_p75`, `latency_p90`, `latency_p95`, `latency_p99`.
@@ -7433,7 +7655,7 @@ Optional:
Required:
-- `data_source` (String) The data source for slo queries. Valid values are `slo`.
+- `data_source` (String) The data source for SLO queries. Valid values are `slo`.
- `measure` (String) SLO measures queries. Valid values are `good_events`, `bad_events`, `slo_status`, `error_budget_remaining`, `burn_rate`, `error_budget_burndown`.
- `slo_id` (String) ID of an SLO to query.
@@ -7827,7 +8049,7 @@ Optional:
Optional:
-- `count` (Number) The number of results to return
+- `count` (Number) The number of results to return.
- `order` (String) The direction of the sort. Valid values are `asc`, `desc`.
@@ -7836,7 +8058,7 @@ Optional:
Optional:
-- `palette` (String) The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors
+- `palette` (String) The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors.
- `palette_index` (Number) Index specifying which color to use within the palette.
@@ -8005,7 +8227,7 @@ Optional:
- `event_query` (Block List, Max: 1) A timeseries formula and functions events query. (see [below for nested schema](#nestedblock--widget--group_definition--widget--timeseries_definition--request--query--event_query))
- `metric_query` (Block List, Max: 1) A timeseries formula and functions metrics query. (see [below for nested schema](#nestedblock--widget--group_definition--widget--timeseries_definition--request--query--metric_query))
- `process_query` (Block List, Max: 1) The process query using formulas and functions. (see [below for nested schema](#nestedblock--widget--group_definition--widget--timeseries_definition--request--query--process_query))
-- `slo_query` (Block List, Max: 1) The slo query using formulas and functions. (see [below for nested schema](#nestedblock--widget--group_definition--widget--timeseries_definition--request--query--slo_query))
+- `slo_query` (Block List, Max: 1) The SLO query using formulas and functions. (see [below for nested schema](#nestedblock--widget--group_definition--widget--timeseries_definition--request--query--slo_query))
### Nested Schema for `widget.group_definition.widget.timeseries_definition.request.query.apm_dependency_stats_query`
@@ -8013,7 +8235,7 @@ Optional:
Required:
- `data_source` (String) The data source for APM Dependency Stats queries. Valid values are `apm_dependency_stats`.
-- `env` (String) APM Environment.
+- `env` (String) APM environment.
- `name` (String) The name of query for use in formulas.
- `operation_name` (String) Name of operation on service.
- `resource_name` (String) APM resource.
@@ -8033,7 +8255,7 @@ Optional:
Required:
- `data_source` (String) The data source for APM Resource Stats queries. Valid values are `apm_resource_stats`.
-- `env` (String) APM Environment.
+- `env` (String) APM environment.
- `name` (String) The name of query for use in formulas.
- `service` (String) APM service.
- `stat` (String) APM statistic. Valid values are `errors`, `error_rate`, `hits`, `latency_avg`, `latency_distribution`, `latency_max`, `latency_p50`, `latency_p75`, `latency_p90`, `latency_p95`, `latency_p99`.
@@ -8149,7 +8371,7 @@ Optional:
Required:
-- `data_source` (String) The data source for slo queries. Valid values are `slo`.
+- `data_source` (String) The data source for SLO queries. Valid values are `slo`.
- `measure` (String) SLO measures queries. Valid values are `good_events`, `bad_events`, `slo_status`, `error_budget_remaining`, `burn_rate`, `error_budget_burndown`.
- `slo_id` (String) ID of an SLO to query.
@@ -8552,7 +8774,7 @@ Optional:
Optional:
-- `count` (Number) The number of results to return
+- `count` (Number) The number of results to return.
- `order` (String) The direction of the sort. Valid values are `asc`, `desc`.
@@ -8561,7 +8783,7 @@ Optional:
Optional:
-- `palette` (String) The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors
+- `palette` (String) The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors.
- `palette_index` (Number) Index specifying which color to use within the palette.
@@ -8654,7 +8876,7 @@ Optional:
- `event_query` (Block List, Max: 1) A timeseries formula and functions events query. (see [below for nested schema](#nestedblock--widget--group_definition--widget--toplist_definition--request--query--event_query))
- `metric_query` (Block List, Max: 1) A timeseries formula and functions metrics query. (see [below for nested schema](#nestedblock--widget--group_definition--widget--toplist_definition--request--query--metric_query))
- `process_query` (Block List, Max: 1) The process query using formulas and functions. (see [below for nested schema](#nestedblock--widget--group_definition--widget--toplist_definition--request--query--process_query))
-- `slo_query` (Block List, Max: 1) The slo query using formulas and functions. (see [below for nested schema](#nestedblock--widget--group_definition--widget--toplist_definition--request--query--slo_query))
+- `slo_query` (Block List, Max: 1) The SLO query using formulas and functions. (see [below for nested schema](#nestedblock--widget--group_definition--widget--toplist_definition--request--query--slo_query))
### Nested Schema for `widget.group_definition.widget.toplist_definition.request.query.apm_dependency_stats_query`
@@ -8662,7 +8884,7 @@ Optional:
Required:
- `data_source` (String) The data source for APM Dependency Stats queries. Valid values are `apm_dependency_stats`.
-- `env` (String) APM Environment.
+- `env` (String) APM environment.
- `name` (String) The name of query for use in formulas.
- `operation_name` (String) Name of operation on service.
- `resource_name` (String) APM resource.
@@ -8682,7 +8904,7 @@ Optional:
Required:
- `data_source` (String) The data source for APM Resource Stats queries. Valid values are `apm_resource_stats`.
-- `env` (String) APM Environment.
+- `env` (String) APM environment.
- `name` (String) The name of query for use in formulas.
- `service` (String) APM service.
- `stat` (String) APM statistic. Valid values are `errors`, `error_rate`, `hits`, `latency_avg`, `latency_distribution`, `latency_max`, `latency_p50`, `latency_p75`, `latency_p90`, `latency_p95`, `latency_p99`.
@@ -8798,7 +9020,7 @@ Optional:
Required:
-- `data_source` (String) The data source for slo queries. Valid values are `slo`.
+- `data_source` (String) The data source for SLO queries. Valid values are `slo`.
- `measure` (String) SLO measures queries. Valid values are `good_events`, `bad_events`, `slo_status`, `error_budget_remaining`, `burn_rate`, `error_budget_burndown`.
- `slo_id` (String) ID of an SLO to query.
@@ -9071,7 +9293,7 @@ Optional:
Optional:
-- `count` (Number) The number of results to return
+- `count` (Number) The number of results to return.
- `order` (String) The direction of the sort. Valid values are `asc`, `desc`.
@@ -9080,7 +9302,7 @@ Optional:
Optional:
-- `palette` (String) The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors
+- `palette` (String) The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors.
- `palette_index` (Number) Index specifying which color to use within the palette.
@@ -9095,7 +9317,7 @@ Optional:
- `event_query` (Block List, Max: 1) A timeseries formula and functions events query. (see [below for nested schema](#nestedblock--widget--group_definition--widget--treemap_definition--request--query--event_query))
- `metric_query` (Block List, Max: 1) A timeseries formula and functions metrics query. (see [below for nested schema](#nestedblock--widget--group_definition--widget--treemap_definition--request--query--metric_query))
- `process_query` (Block List, Max: 1) The process query using formulas and functions. (see [below for nested schema](#nestedblock--widget--group_definition--widget--treemap_definition--request--query--process_query))
-- `slo_query` (Block List, Max: 1) The slo query using formulas and functions. (see [below for nested schema](#nestedblock--widget--group_definition--widget--treemap_definition--request--query--slo_query))
+- `slo_query` (Block List, Max: 1) The SLO query using formulas and functions. (see [below for nested schema](#nestedblock--widget--group_definition--widget--treemap_definition--request--query--slo_query))
### Nested Schema for `widget.group_definition.widget.treemap_definition.request.query.apm_dependency_stats_query`
@@ -9103,7 +9325,7 @@ Optional:
Required:
- `data_source` (String) The data source for APM Dependency Stats queries. Valid values are `apm_dependency_stats`.
-- `env` (String) APM Environment.
+- `env` (String) APM environment.
- `name` (String) The name of query for use in formulas.
- `operation_name` (String) Name of operation on service.
- `resource_name` (String) APM resource.
@@ -9123,7 +9345,7 @@ Optional:
Required:
- `data_source` (String) The data source for APM Resource Stats queries. Valid values are `apm_resource_stats`.
-- `env` (String) APM Environment.
+- `env` (String) APM environment.
- `name` (String) The name of query for use in formulas.
- `service` (String) APM service.
- `stat` (String) APM statistic. Valid values are `errors`, `error_rate`, `hits`, `latency_avg`, `latency_distribution`, `latency_max`, `latency_p50`, `latency_p75`, `latency_p90`, `latency_p95`, `latency_p99`.
@@ -9239,7 +9461,7 @@ Optional:
Required:
-- `data_source` (String) The data source for slo queries. Valid values are `slo`.
+- `data_source` (String) The data source for SLO queries. Valid values are `slo`.
- `measure` (String) SLO measures queries. Valid values are `good_events`, `bad_events`, `slo_status`, `error_budget_remaining`, `burn_rate`, `error_budget_burndown`.
- `slo_id` (String) ID of an SLO to query.
@@ -9316,9 +9538,11 @@ Optional:
Optional:
- `apm_query` (Block List, Max: 1) The query to use for this widget. (see [below for nested schema](#nestedblock--widget--heatmap_definition--request--apm_query))
+- `formula` (Block List) (see [below for nested schema](#nestedblock--widget--heatmap_definition--request--formula))
- `log_query` (Block List, Max: 1) The query to use for this widget. (see [below for nested schema](#nestedblock--widget--heatmap_definition--request--log_query))
- `process_query` (Block List, Max: 1) The process query to use in the widget. The structure of this block is described below. (see [below for nested schema](#nestedblock--widget--heatmap_definition--request--process_query))
- `q` (String) The metric query to use for this widget.
+- `query` (Block List) (see [below for nested schema](#nestedblock--widget--heatmap_definition--request--query))
- `rum_query` (Block List, Max: 1) The query to use for this widget. (see [below for nested schema](#nestedblock--widget--heatmap_definition--request--rum_query))
- `security_query` (Block List, Max: 1) The query to use for this widget. (see [below for nested schema](#nestedblock--widget--heatmap_definition--request--security_query))
- `style` (Block List, Max: 1) The style of the widget graph. One nested block is allowed using the structure below. (see [below for nested schema](#nestedblock--widget--heatmap_definition--request--style))
@@ -9387,6 +9611,59 @@ Optional:
+
+### Nested Schema for `widget.heatmap_definition.request.formula`
+
+Required:
+
+- `formula_expression` (String) A string expression built from queries, formulas, and functions.
+
+Optional:
+
+- `alias` (String) An expression alias.
+- `cell_display_mode` (String) A list of display modes for each table cell. Valid values are `number`, `bar`.
+- `conditional_formats` (Block List) Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditional_formats` blocks are allowed using the structure below. (see [below for nested schema](#nestedblock--widget--heatmap_definition--request--formula--conditional_formats))
+- `limit` (Block List, Max: 1) The options for limiting results returned. (see [below for nested schema](#nestedblock--widget--heatmap_definition--request--formula--limit))
+- `style` (Block List, Max: 1) Styling options for widget formulas. (see [below for nested schema](#nestedblock--widget--heatmap_definition--request--formula--style))
+
+
+### Nested Schema for `widget.heatmap_definition.request.formula.conditional_formats`
+
+Required:
+
+- `comparator` (String) The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`.
+- `palette` (String) The color palette to apply. Valid values are `blue`, `custom_bg`, `custom_image`, `custom_text`, `gray_on_white`, `grey`, `green`, `orange`, `red`, `red_on_white`, `white_on_gray`, `white_on_green`, `green_on_white`, `white_on_red`, `white_on_yellow`, `yellow_on_white`, `black_on_light_yellow`, `black_on_light_green`, `black_on_light_red`.
+- `value` (Number) A value for the comparator.
+
+Optional:
+
+- `custom_bg_color` (String) The color palette to apply to the background, same values available as palette.
+- `custom_fg_color` (String) The color palette to apply to the foreground, same values available as palette.
+- `hide_value` (Boolean) Setting this to True hides values.
+- `image_url` (String) Displays an image as the background.
+- `metric` (String) The metric from the request to correlate with this conditional format.
+- `timeframe` (String) Defines the displayed timeframe.
+
+
+
+### Nested Schema for `widget.heatmap_definition.request.formula.limit`
+
+Optional:
+
+- `count` (Number) The number of results to return.
+- `order` (String) The direction of the sort. Valid values are `asc`, `desc`.
+
+
+
+### Nested Schema for `widget.heatmap_definition.request.formula.style`
+
+Optional:
+
+- `palette` (String) The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors.
+- `palette_index` (Number) Index specifying which color to use within the palette.
+
+
+
### Nested Schema for `widget.heatmap_definition.request.log_query`
@@ -9465,6 +9742,173 @@ Optional:
- `search_by` (String) Your chosen search term.
+
+### Nested Schema for `widget.heatmap_definition.request.query`
+
+Optional:
+
+- `apm_dependency_stats_query` (Block List, Max: 1) The APM Dependency Stats query using formulas and functions. (see [below for nested schema](#nestedblock--widget--heatmap_definition--request--query--apm_dependency_stats_query))
+- `apm_resource_stats_query` (Block List, Max: 1) The APM Resource Stats query using formulas and functions. (see [below for nested schema](#nestedblock--widget--heatmap_definition--request--query--apm_resource_stats_query))
+- `event_query` (Block List, Max: 1) A timeseries formula and functions events query. (see [below for nested schema](#nestedblock--widget--heatmap_definition--request--query--event_query))
+- `metric_query` (Block List, Max: 1) A timeseries formula and functions metrics query. (see [below for nested schema](#nestedblock--widget--heatmap_definition--request--query--metric_query))
+- `process_query` (Block List, Max: 1) The process query using formulas and functions. (see [below for nested schema](#nestedblock--widget--heatmap_definition--request--query--process_query))
+- `slo_query` (Block List, Max: 1) The SLO query using formulas and functions. (see [below for nested schema](#nestedblock--widget--heatmap_definition--request--query--slo_query))
+
+
+### Nested Schema for `widget.heatmap_definition.request.query.apm_dependency_stats_query`
+
+Required:
+
+- `data_source` (String) The data source for APM Dependency Stats queries. Valid values are `apm_dependency_stats`.
+- `env` (String) APM environment.
+- `name` (String) The name of query for use in formulas.
+- `operation_name` (String) Name of operation on service.
+- `resource_name` (String) APM resource.
+- `service` (String) APM service.
+- `stat` (String) APM statistic. Valid values are `avg_duration`, `avg_root_duration`, `avg_spans_per_trace`, `error_rate`, `pct_exec_time`, `pct_of_traces`, `total_traces_count`.
+
+Optional:
+
+- `is_upstream` (Boolean) Determines whether stats for upstream or downstream dependencies should be queried.
+- `primary_tag_name` (String) The name of the second primary tag used within APM; required when `primary_tag_value` is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog.
+- `primary_tag_value` (String) Filter APM data by the second primary tag. `primary_tag_name` must also be specified.
+
+
+
+### Nested Schema for `widget.heatmap_definition.request.query.apm_resource_stats_query`
+
+Required:
+
+- `data_source` (String) The data source for APM Resource Stats queries. Valid values are `apm_resource_stats`.
+- `env` (String) APM environment.
+- `name` (String) The name of query for use in formulas.
+- `service` (String) APM service.
+- `stat` (String) APM statistic. Valid values are `errors`, `error_rate`, `hits`, `latency_avg`, `latency_distribution`, `latency_max`, `latency_p50`, `latency_p75`, `latency_p90`, `latency_p95`, `latency_p99`.
+
+Optional:
+
+- `group_by` (List of String) Array of fields to group results by.
+- `operation_name` (String) Name of operation on service.
+- `primary_tag_name` (String) The name of the second primary tag used within APM; required when `primary_tag_value` is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog.
+- `primary_tag_value` (String) Filter APM data by the second primary tag. `primary_tag_name` must also be specified.
+- `resource_name` (String) APM resource.
+
+
+
+### Nested Schema for `widget.heatmap_definition.request.query.event_query`
+
+Required:
+
+- `compute` (Block List, Min: 1) The compute options. (see [below for nested schema](#nestedblock--widget--heatmap_definition--request--query--event_query--compute))
+- `data_source` (String) The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `security_signals`, `profiles`, `audit`, `events`, `ci_tests`, `ci_pipelines`.
+- `name` (String) The name of query for use in formulas.
+
+Optional:
+
+- `group_by` (Block List) Group by options. (see [below for nested schema](#nestedblock--widget--heatmap_definition--request--query--event_query--group_by))
+- `indexes` (List of String) An array of index names to query in the stream.
+- `search` (Block List, Max: 1) The search options. (see [below for nested schema](#nestedblock--widget--heatmap_definition--request--query--event_query--search))
+- `storage` (String) Storage location (private beta).
+
+
+### Nested Schema for `widget.heatmap_definition.request.query.event_query.compute`
+
+Required:
+
+- `aggregation` (String) The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`.
+
+Optional:
+
+- `interval` (Number) A time interval in milliseconds.
+- `metric` (String) The measurable attribute to compute.
+
+
+
+### Nested Schema for `widget.heatmap_definition.request.query.event_query.group_by`
+
+Required:
+
+- `facet` (String) The event facet.
+
+Optional:
+
+- `limit` (Number) The number of groups to return.
+- `sort` (Block List, Max: 1) The options for sorting group by results. (see [below for nested schema](#nestedblock--widget--heatmap_definition--request--query--event_query--group_by--sort))
+
+
+### Nested Schema for `widget.heatmap_definition.request.query.event_query.group_by.sort`
+
+Required:
+
+- `aggregation` (String) The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`.
+
+Optional:
+
+- `metric` (String) The metric used for sorting group by results.
+- `order` (String) Direction of sort. Valid values are `asc`, `desc`.
+
+
+
+
+### Nested Schema for `widget.heatmap_definition.request.query.event_query.search`
+
+Required:
+
+- `query` (String) The events search string.
+
+
+
+
+### Nested Schema for `widget.heatmap_definition.request.query.metric_query`
+
+Required:
+
+- `name` (String) The name of the query for use in formulas.
+- `query` (String) The metrics query definition.
+
+Optional:
+
+- `aggregator` (String) The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`.
+- `data_source` (String) The data source for metrics queries.
+
+
+
+### Nested Schema for `widget.heatmap_definition.request.query.process_query`
+
+Required:
+
+- `data_source` (String) The data source for process queries. Valid values are `process`, `container`.
+- `metric` (String) The process metric name.
+- `name` (String) The name of query for use in formulas.
+
+Optional:
+
+- `aggregator` (String) The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`.
+- `is_normalized_cpu` (Boolean) Whether to normalize the CPU percentages.
+- `limit` (Number) The number of hits to return.
+- `sort` (String) The direction of the sort. Valid values are `asc`, `desc`.
+- `tag_filters` (List of String) An array of tags to filter by.
+- `text_filter` (String) The text to use as a filter.
+
+
+
+### Nested Schema for `widget.heatmap_definition.request.query.slo_query`
+
+Required:
+
+- `data_source` (String) The data source for SLO queries. Valid values are `slo`.
+- `measure` (String) SLO measures queries. Valid values are `good_events`, `bad_events`, `slo_status`, `error_budget_remaining`, `burn_rate`, `error_budget_burndown`.
+- `slo_id` (String) ID of an SLO to query.
+
+Optional:
+
+- `additional_query_filters` (String) Additional filters applied to the SLO query.
+- `group_mode` (String) Group mode to query measures. Valid values are `overall`, `components`.
+- `name` (String) The name of query for use in formulas.
+- `slo_query_type` (String) type of the SLO to query. Valid values are `metric`.
+
+
+
### Nested Schema for `widget.heatmap_definition.request.rum_query`
@@ -10579,7 +11023,7 @@ Optional:
Optional:
-- `count` (Number) The number of results to return
+- `count` (Number) The number of results to return.
- `order` (String) The direction of the sort. Valid values are `asc`, `desc`.
@@ -10588,7 +11032,7 @@ Optional:
Optional:
-- `palette` (String) The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors
+- `palette` (String) The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors.
- `palette_index` (Number) Index specifying which color to use within the palette.
@@ -10681,7 +11125,7 @@ Optional:
- `event_query` (Block List, Max: 1) A timeseries formula and functions events query. (see [below for nested schema](#nestedblock--widget--query_table_definition--request--query--event_query))
- `metric_query` (Block List, Max: 1) A timeseries formula and functions metrics query. (see [below for nested schema](#nestedblock--widget--query_table_definition--request--query--metric_query))
- `process_query` (Block List, Max: 1) The process query using formulas and functions. (see [below for nested schema](#nestedblock--widget--query_table_definition--request--query--process_query))
-- `slo_query` (Block List, Max: 1) The slo query using formulas and functions. (see [below for nested schema](#nestedblock--widget--query_table_definition--request--query--slo_query))
+- `slo_query` (Block List, Max: 1) The SLO query using formulas and functions. (see [below for nested schema](#nestedblock--widget--query_table_definition--request--query--slo_query))
### Nested Schema for `widget.query_table_definition.request.query.apm_dependency_stats_query`
@@ -10689,7 +11133,7 @@ Optional:
Required:
- `data_source` (String) The data source for APM Dependency Stats queries. Valid values are `apm_dependency_stats`.
-- `env` (String) APM Environment.
+- `env` (String) APM environment.
- `name` (String) The name of query for use in formulas.
- `operation_name` (String) Name of operation on service.
- `resource_name` (String) APM resource.
@@ -10709,7 +11153,7 @@ Optional:
Required:
- `data_source` (String) The data source for APM Resource Stats queries. Valid values are `apm_resource_stats`.
-- `env` (String) APM Environment.
+- `env` (String) APM environment.
- `name` (String) The name of query for use in formulas.
- `service` (String) APM service.
- `stat` (String) APM statistic. Valid values are `errors`, `error_rate`, `hits`, `latency_avg`, `latency_distribution`, `latency_max`, `latency_p50`, `latency_p75`, `latency_p90`, `latency_p95`, `latency_p99`.
@@ -10825,7 +11269,7 @@ Optional:
Required:
-- `data_source` (String) The data source for slo queries. Valid values are `slo`.
+- `data_source` (String) The data source for SLO queries. Valid values are `slo`.
- `measure` (String) SLO measures queries. Valid values are `good_events`, `bad_events`, `slo_status`, `error_budget_remaining`, `burn_rate`, `error_budget_burndown`.
- `slo_id` (String) ID of an SLO to query.
@@ -11199,7 +11643,7 @@ Optional:
Optional:
-- `count` (Number) The number of results to return
+- `count` (Number) The number of results to return.
- `order` (String) The direction of the sort. Valid values are `asc`, `desc`.
@@ -11208,7 +11652,7 @@ Optional:
Optional:
-- `palette` (String) The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors
+- `palette` (String) The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors.
- `palette_index` (Number) Index specifying which color to use within the palette.
@@ -11301,7 +11745,7 @@ Optional:
- `event_query` (Block List, Max: 1) A timeseries formula and functions events query. (see [below for nested schema](#nestedblock--widget--query_value_definition--request--query--event_query))
- `metric_query` (Block List, Max: 1) A timeseries formula and functions metrics query. (see [below for nested schema](#nestedblock--widget--query_value_definition--request--query--metric_query))
- `process_query` (Block List, Max: 1) The process query using formulas and functions. (see [below for nested schema](#nestedblock--widget--query_value_definition--request--query--process_query))
-- `slo_query` (Block List, Max: 1) The slo query using formulas and functions. (see [below for nested schema](#nestedblock--widget--query_value_definition--request--query--slo_query))
+- `slo_query` (Block List, Max: 1) The SLO query using formulas and functions. (see [below for nested schema](#nestedblock--widget--query_value_definition--request--query--slo_query))
### Nested Schema for `widget.query_value_definition.request.query.apm_dependency_stats_query`
@@ -11309,7 +11753,7 @@ Optional:
Required:
- `data_source` (String) The data source for APM Dependency Stats queries. Valid values are `apm_dependency_stats`.
-- `env` (String) APM Environment.
+- `env` (String) APM environment.
- `name` (String) The name of query for use in formulas.
- `operation_name` (String) Name of operation on service.
- `resource_name` (String) APM resource.
@@ -11329,7 +11773,7 @@ Optional:
Required:
- `data_source` (String) The data source for APM Resource Stats queries. Valid values are `apm_resource_stats`.
-- `env` (String) APM Environment.
+- `env` (String) APM environment.
- `name` (String) The name of query for use in formulas.
- `service` (String) APM service.
- `stat` (String) APM statistic. Valid values are `errors`, `error_rate`, `hits`, `latency_avg`, `latency_distribution`, `latency_max`, `latency_p50`, `latency_p75`, `latency_p90`, `latency_p95`, `latency_p99`.
@@ -11445,7 +11889,7 @@ Optional:
Required:
-- `data_source` (String) The data source for slo queries. Valid values are `slo`.
+- `data_source` (String) The data source for SLO queries. Valid values are `slo`.
- `measure` (String) SLO measures queries. Valid values are `good_events`, `bad_events`, `slo_status`, `error_budget_remaining`, `burn_rate`, `error_budget_burndown`.
- `slo_id` (String) ID of an SLO to query.
@@ -11715,7 +12159,7 @@ Optional:
- `event_query` (Block List, Max: 1) A timeseries formula and functions events query. (see [below for nested schema](#nestedblock--widget--scatterplot_definition--request--scatterplot_table--query--event_query))
- `metric_query` (Block List, Max: 1) A timeseries formula and functions metrics query. (see [below for nested schema](#nestedblock--widget--scatterplot_definition--request--scatterplot_table--query--metric_query))
- `process_query` (Block List, Max: 1) The process query using formulas and functions. (see [below for nested schema](#nestedblock--widget--scatterplot_definition--request--scatterplot_table--query--process_query))
-- `slo_query` (Block List, Max: 1) The slo query using formulas and functions. (see [below for nested schema](#nestedblock--widget--scatterplot_definition--request--scatterplot_table--query--slo_query))
+- `slo_query` (Block List, Max: 1) The SLO query using formulas and functions. (see [below for nested schema](#nestedblock--widget--scatterplot_definition--request--scatterplot_table--query--slo_query))
### Nested Schema for `widget.scatterplot_definition.request.scatterplot_table.query.apm_dependency_stats_query`
@@ -11723,7 +12167,7 @@ Optional:
Required:
- `data_source` (String) The data source for APM Dependency Stats queries. Valid values are `apm_dependency_stats`.
-- `env` (String) APM Environment.
+- `env` (String) APM environment.
- `name` (String) The name of query for use in formulas.
- `operation_name` (String) Name of operation on service.
- `resource_name` (String) APM resource.
@@ -11743,7 +12187,7 @@ Optional:
Required:
- `data_source` (String) The data source for APM Resource Stats queries. Valid values are `apm_resource_stats`.
-- `env` (String) APM Environment.
+- `env` (String) APM environment.
- `name` (String) The name of query for use in formulas.
- `service` (String) APM service.
- `stat` (String) APM statistic. Valid values are `errors`, `error_rate`, `hits`, `latency_avg`, `latency_distribution`, `latency_max`, `latency_p50`, `latency_p75`, `latency_p90`, `latency_p95`, `latency_p99`.
@@ -11859,7 +12303,7 @@ Optional:
Required:
-- `data_source` (String) The data source for slo queries. Valid values are `slo`.
+- `data_source` (String) The data source for SLO queries. Valid values are `slo`.
- `measure` (String) SLO measures queries. Valid values are `good_events`, `bad_events`, `slo_status`, `error_budget_remaining`, `burn_rate`, `error_budget_burndown`.
- `slo_id` (String) ID of an SLO to query.
@@ -12790,7 +13234,7 @@ Optional:
Optional:
-- `count` (Number) The number of results to return
+- `count` (Number) The number of results to return.
- `order` (String) The direction of the sort. Valid values are `asc`, `desc`.
@@ -12799,7 +13243,7 @@ Optional:
Optional:
-- `palette` (String) The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors
+- `palette` (String) The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors.
- `palette_index` (Number) Index specifying which color to use within the palette.
@@ -12956,7 +13400,7 @@ Optional:
- `event_query` (Block List, Max: 1) A timeseries formula and functions events query. (see [below for nested schema](#nestedblock--widget--sunburst_definition--request--query--event_query))
- `metric_query` (Block List, Max: 1) A timeseries formula and functions metrics query. (see [below for nested schema](#nestedblock--widget--sunburst_definition--request--query--metric_query))
- `process_query` (Block List, Max: 1) The process query using formulas and functions. (see [below for nested schema](#nestedblock--widget--sunburst_definition--request--query--process_query))
-- `slo_query` (Block List, Max: 1) The slo query using formulas and functions. (see [below for nested schema](#nestedblock--widget--sunburst_definition--request--query--slo_query))
+- `slo_query` (Block List, Max: 1) The SLO query using formulas and functions. (see [below for nested schema](#nestedblock--widget--sunburst_definition--request--query--slo_query))
### Nested Schema for `widget.sunburst_definition.request.query.apm_dependency_stats_query`
@@ -12964,7 +13408,7 @@ Optional:
Required:
- `data_source` (String) The data source for APM Dependency Stats queries. Valid values are `apm_dependency_stats`.
-- `env` (String) APM Environment.
+- `env` (String) APM environment.
- `name` (String) The name of query for use in formulas.
- `operation_name` (String) Name of operation on service.
- `resource_name` (String) APM resource.
@@ -12984,7 +13428,7 @@ Optional:
Required:
- `data_source` (String) The data source for APM Resource Stats queries. Valid values are `apm_resource_stats`.
-- `env` (String) APM Environment.
+- `env` (String) APM environment.
- `name` (String) The name of query for use in formulas.
- `service` (String) APM service.
- `stat` (String) APM statistic. Valid values are `errors`, `error_rate`, `hits`, `latency_avg`, `latency_distribution`, `latency_max`, `latency_p50`, `latency_p75`, `latency_p90`, `latency_p95`, `latency_p99`.
@@ -13100,7 +13544,7 @@ Optional:
Required:
-- `data_source` (String) The data source for slo queries. Valid values are `slo`.
+- `data_source` (String) The data source for SLO queries. Valid values are `slo`.
- `measure` (String) SLO measures queries. Valid values are `good_events`, `bad_events`, `slo_status`, `error_budget_remaining`, `burn_rate`, `error_budget_burndown`.
- `slo_id` (String) ID of an SLO to query.
@@ -13494,7 +13938,7 @@ Optional:
Optional:
-- `count` (Number) The number of results to return
+- `count` (Number) The number of results to return.
- `order` (String) The direction of the sort. Valid values are `asc`, `desc`.
@@ -13503,7 +13947,7 @@ Optional:
Optional:
-- `palette` (String) The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors
+- `palette` (String) The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors.
- `palette_index` (Number) Index specifying which color to use within the palette.
@@ -13672,7 +14116,7 @@ Optional:
- `event_query` (Block List, Max: 1) A timeseries formula and functions events query. (see [below for nested schema](#nestedblock--widget--timeseries_definition--request--query--event_query))
- `metric_query` (Block List, Max: 1) A timeseries formula and functions metrics query. (see [below for nested schema](#nestedblock--widget--timeseries_definition--request--query--metric_query))
- `process_query` (Block List, Max: 1) The process query using formulas and functions. (see [below for nested schema](#nestedblock--widget--timeseries_definition--request--query--process_query))
-- `slo_query` (Block List, Max: 1) The slo query using formulas and functions. (see [below for nested schema](#nestedblock--widget--timeseries_definition--request--query--slo_query))
+- `slo_query` (Block List, Max: 1) The SLO query using formulas and functions. (see [below for nested schema](#nestedblock--widget--timeseries_definition--request--query--slo_query))
### Nested Schema for `widget.timeseries_definition.request.query.apm_dependency_stats_query`
@@ -13680,7 +14124,7 @@ Optional:
Required:
- `data_source` (String) The data source for APM Dependency Stats queries. Valid values are `apm_dependency_stats`.
-- `env` (String) APM Environment.
+- `env` (String) APM environment.
- `name` (String) The name of query for use in formulas.
- `operation_name` (String) Name of operation on service.
- `resource_name` (String) APM resource.
@@ -13700,7 +14144,7 @@ Optional:
Required:
- `data_source` (String) The data source for APM Resource Stats queries. Valid values are `apm_resource_stats`.
-- `env` (String) APM Environment.
+- `env` (String) APM environment.
- `name` (String) The name of query for use in formulas.
- `service` (String) APM service.
- `stat` (String) APM statistic. Valid values are `errors`, `error_rate`, `hits`, `latency_avg`, `latency_distribution`, `latency_max`, `latency_p50`, `latency_p75`, `latency_p90`, `latency_p95`, `latency_p99`.
@@ -13816,7 +14260,7 @@ Optional:
Required:
-- `data_source` (String) The data source for slo queries. Valid values are `slo`.
+- `data_source` (String) The data source for SLO queries. Valid values are `slo`.
- `measure` (String) SLO measures queries. Valid values are `good_events`, `bad_events`, `slo_status`, `error_budget_remaining`, `burn_rate`, `error_budget_burndown`.
- `slo_id` (String) ID of an SLO to query.
@@ -14219,7 +14663,7 @@ Optional:
Optional:
-- `count` (Number) The number of results to return
+- `count` (Number) The number of results to return.
- `order` (String) The direction of the sort. Valid values are `asc`, `desc`.
@@ -14228,7 +14672,7 @@ Optional:
Optional:
-- `palette` (String) The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors
+- `palette` (String) The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors.
- `palette_index` (Number) Index specifying which color to use within the palette.
@@ -14321,7 +14765,7 @@ Optional:
- `event_query` (Block List, Max: 1) A timeseries formula and functions events query. (see [below for nested schema](#nestedblock--widget--toplist_definition--request--query--event_query))
- `metric_query` (Block List, Max: 1) A timeseries formula and functions metrics query. (see [below for nested schema](#nestedblock--widget--toplist_definition--request--query--metric_query))
- `process_query` (Block List, Max: 1) The process query using formulas and functions. (see [below for nested schema](#nestedblock--widget--toplist_definition--request--query--process_query))
-- `slo_query` (Block List, Max: 1) The slo query using formulas and functions. (see [below for nested schema](#nestedblock--widget--toplist_definition--request--query--slo_query))
+- `slo_query` (Block List, Max: 1) The SLO query using formulas and functions. (see [below for nested schema](#nestedblock--widget--toplist_definition--request--query--slo_query))
### Nested Schema for `widget.toplist_definition.request.query.apm_dependency_stats_query`
@@ -14329,7 +14773,7 @@ Optional:
Required:
- `data_source` (String) The data source for APM Dependency Stats queries. Valid values are `apm_dependency_stats`.
-- `env` (String) APM Environment.
+- `env` (String) APM environment.
- `name` (String) The name of query for use in formulas.
- `operation_name` (String) Name of operation on service.
- `resource_name` (String) APM resource.
@@ -14349,7 +14793,7 @@ Optional:
Required:
- `data_source` (String) The data source for APM Resource Stats queries. Valid values are `apm_resource_stats`.
-- `env` (String) APM Environment.
+- `env` (String) APM environment.
- `name` (String) The name of query for use in formulas.
- `service` (String) APM service.
- `stat` (String) APM statistic. Valid values are `errors`, `error_rate`, `hits`, `latency_avg`, `latency_distribution`, `latency_max`, `latency_p50`, `latency_p75`, `latency_p90`, `latency_p95`, `latency_p99`.
@@ -14465,7 +14909,7 @@ Optional:
Required:
-- `data_source` (String) The data source for slo queries. Valid values are `slo`.
+- `data_source` (String) The data source for SLO queries. Valid values are `slo`.
- `measure` (String) SLO measures queries. Valid values are `good_events`, `bad_events`, `slo_status`, `error_budget_remaining`, `burn_rate`, `error_budget_burndown`.
- `slo_id` (String) ID of an SLO to query.
@@ -14738,7 +15182,7 @@ Optional:
Optional:
-- `count` (Number) The number of results to return
+- `count` (Number) The number of results to return.
- `order` (String) The direction of the sort. Valid values are `asc`, `desc`.
@@ -14747,7 +15191,7 @@ Optional:
Optional:
-- `palette` (String) The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors
+- `palette` (String) The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors.
- `palette_index` (Number) Index specifying which color to use within the palette.
@@ -14762,7 +15206,7 @@ Optional:
- `event_query` (Block List, Max: 1) A timeseries formula and functions events query. (see [below for nested schema](#nestedblock--widget--treemap_definition--request--query--event_query))
- `metric_query` (Block List, Max: 1) A timeseries formula and functions metrics query. (see [below for nested schema](#nestedblock--widget--treemap_definition--request--query--metric_query))
- `process_query` (Block List, Max: 1) The process query using formulas and functions. (see [below for nested schema](#nestedblock--widget--treemap_definition--request--query--process_query))
-- `slo_query` (Block List, Max: 1) The slo query using formulas and functions. (see [below for nested schema](#nestedblock--widget--treemap_definition--request--query--slo_query))
+- `slo_query` (Block List, Max: 1) The SLO query using formulas and functions. (see [below for nested schema](#nestedblock--widget--treemap_definition--request--query--slo_query))
### Nested Schema for `widget.treemap_definition.request.query.apm_dependency_stats_query`
@@ -14770,7 +15214,7 @@ Optional:
Required:
- `data_source` (String) The data source for APM Dependency Stats queries. Valid values are `apm_dependency_stats`.
-- `env` (String) APM Environment.
+- `env` (String) APM environment.
- `name` (String) The name of query for use in formulas.
- `operation_name` (String) Name of operation on service.
- `resource_name` (String) APM resource.
@@ -14790,7 +15234,7 @@ Optional:
Required:
- `data_source` (String) The data source for APM Resource Stats queries. Valid values are `apm_resource_stats`.
-- `env` (String) APM Environment.
+- `env` (String) APM environment.
- `name` (String) The name of query for use in formulas.
- `service` (String) APM service.
- `stat` (String) APM statistic. Valid values are `errors`, `error_rate`, `hits`, `latency_avg`, `latency_distribution`, `latency_max`, `latency_p50`, `latency_p75`, `latency_p90`, `latency_p95`, `latency_p99`.
@@ -14906,7 +15350,7 @@ Optional:
Required:
-- `data_source` (String) The data source for slo queries. Valid values are `slo`.
+- `data_source` (String) The data source for SLO queries. Valid values are `slo`.
- `measure` (String) SLO measures queries. Valid values are `good_events`, `bad_events`, `slo_status`, `error_budget_remaining`, `burn_rate`, `error_budget_burndown`.
- `slo_id` (String) ID of an SLO to query.
diff --git a/go.mod b/go.mod
index a7da08e0df..147799ff44 100644
--- a/go.mod
+++ b/go.mod
@@ -1,7 +1,7 @@
module github.com/terraform-providers/terraform-provider-datadog
require (
- github.com/DataDog/datadog-api-client-go/v2 v2.17.1-0.20230912212818-5516505764fa
+ github.com/DataDog/datadog-api-client-go/v2 v2.17.1-0.20230913175921-6b0f714dc900
github.com/DataDog/dd-sdk-go-testing v0.0.0-20211116174033-1cd082e322ad
github.com/dnaeon/go-vcr v1.0.1
github.com/hashicorp/go-cleanhttp v0.5.2
diff --git a/go.sum b/go.sum
index d67a02a172..b1908e0aef 100644
--- a/go.sum
+++ b/go.sum
@@ -1,7 +1,7 @@
cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
-github.com/DataDog/datadog-api-client-go/v2 v2.17.1-0.20230912212818-5516505764fa h1:DDYJ7gcGUN9lZY90s6xZKsHcQTOaRc70BcegRY/4VQA=
-github.com/DataDog/datadog-api-client-go/v2 v2.17.1-0.20230912212818-5516505764fa/go.mod h1:uJd7G1BONVIyiVw684VMn2XYI1FfN1tx4bRGenAf2bo=
+github.com/DataDog/datadog-api-client-go/v2 v2.17.1-0.20230913175921-6b0f714dc900 h1:kJlPSla4PgzhMtjU9wdyQLm+kETOaR5GTPCuYNtl/4s=
+github.com/DataDog/datadog-api-client-go/v2 v2.17.1-0.20230913175921-6b0f714dc900/go.mod h1:uJd7G1BONVIyiVw684VMn2XYI1FfN1tx4bRGenAf2bo=
github.com/DataDog/datadog-go v4.4.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ=
github.com/DataDog/datadog-go v4.8.3+incompatible h1:fNGaYSuObuQb5nzeTQqowRAd9bpDIRRV4/gUtIBjh8Q=
github.com/DataDog/datadog-go v4.8.3+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ=