List deployment gate rule evaluations
https://api.datadoghq.com/api/v2/deployment_gates/evaluations/ruleshttps://api.us3.datadoghq.com/api/v2/deployment_gates/evaluations/ruleshttps://api.us5.datadoghq.com/api/v2/deployment_gates/evaluations/ruleshttps://api.datadoghq.eu/api/v2/deployment_gates/evaluations/ruleshttps://api.ap1.datadoghq.com/api/v2/deployment_gates/evaluations/ruleshttps://api.ap2.datadoghq.com/api/v2/deployment_gates/evaluations/ruleshttps://api.uk1.datadoghq.com/api/v2/deployment_gates/evaluations/ruleshttps://api.ddog-gov.com/api/v2/deployment_gates/evaluations/ruleshttps://api.us2.ddog-gov.com/api/v2/deployment_gates/evaluations/rulesDescripción general
Returns rule evaluations whose gate evaluation started in a maximum 30-day window (the default is the previous 24 hours). Filter by gate, rule, gate evaluation, or rule evaluation ID; omit IDs for cross-evaluation searches. Results are ordered by start time, newest first. In-progress state is near-real-time and mutable. Finished state is eventually consistent. Gate-level and rule-level dry-run states are independent. Pagination is deterministic but not snapshot isolated; clients should deduplicate by rule evaluation ID.
OAuth apps require the deployment_gates_read authorization scope to access this endpoint.
Argumentos
Cadenas de consulta
filter[from]Inclusive gate evaluation start time. Defaults to 24 hours before the request. Together with filter[to], the window may span no more than 30 days.
filter[to]Exclusive gate evaluation start time. Defaults to the request time. Must be after filter[from]; the window may span no more than 30 days.
filter[gate_evaluation_id]Gate evaluation UUID. No match returns an empty list.
filter[evaluation_id]Rule evaluation UUID. No match returns an empty list.
filter[gate_id]Configured gate UUID. Just-in-time evaluations have no gate ID.
filter[rule_id]Configured rule UUID. Just-in-time rules have no rule ID.
filter[service]Evaluated service values. Repeated or comma-separated values are combined with OR.
filter[env]Evaluated environment values. Repeated or comma-separated values are combined with OR.
filter[identifier]Gate identifier values. Repeated or comma-separated values are combined with OR.
filter[version]Evaluated deployment version values. Repeated or comma-separated values are combined with OR.
filter[status]Rule statuses. Repeated or comma-separated values are combined with OR.
filter[type]Rule types. Repeated or comma-separated values are combined with OR. Defaults to all rule types.
filter[dry_run]Rule-level dry-run state. A failed dry-run rule is ignored when computing the gate outcome.
filter[gate_dry_run]Gate-level dry-run state. A failed dry-run gate blocks but does not stop deployment.
filter[name]Rule names. Repeated or comma-separated values are combined with OR.
page[size]Maximum rule evaluations returned.
50page[cursor]Opaque cursor returned in meta.page.next_cursor by the previous page. Invalid cursors return 400.
Respuesta
OK
Paginated deployment gate rule evaluations.
data [required]attributes [required]Attributes of a deployment gate rule evaluation.
configuration [required]Evaluated rule configuration. Fields depend on rule type and unset fields are omitted.
Monitor rules can include duration, query, monitor_ids, warmup, fail_on_no_groups_found, and fail_on_no_data.
Faulty deployment detection rules can include duration, allowed_resources, and excluded_resources.
allowed_resourcesAPM resources explicitly allowed by faulty deployment detection.
durationEvaluation duration configured for this rule.
excluded_resourcesAPM resources excluded from faulty deployment detection.
fail_on_no_dataWhether a monitor rule fails when no data is found.
fail_on_no_groups_foundWhether a monitor rule fails when no groups are found.
monitor_idsMonitor IDs evaluated by a monitor rule.
queryMonitor query used by a monitor rule.
warmupWarm-up duration in seconds for a monitor rule. Omitted when zero.
dry_run [required]Whether this rule is non-enforcing. A failed dry-run rule is ignored when computing the gate outcome. Independent of gate_dry_run.
duration_seconds [required]Rule evaluation duration in seconds. Null while it is in progress.
env [required]Evaluated environment.
evaluation_id [required]Rule evaluation UUID. Matches the resource id.
failures [required]Rule failure details.
faulty_apm_resources [required]Names of faulty APM resources.
monitors [required]id [required]Monitor ID.
state [required]Monitor state that caused the failure.
url [required]URL for inspecting the monitor during the evaluation window.
narratives [required]hostgroup [required]Host group associated with the narrative.
id [required]Narrative ID.
finished_at [required]Time the rule evaluation finished. Null while it is in progress.
gate_dry_run [required]Whether the parent gate is dry-run. A failed dry-run gate blocks but does not stop deployment. Independent of rule-level dry_run.
gate_evaluation_id [required]Deployment gate evaluation UUID.
gate_id [required]Configured deployment gate UUID. Null for just-in-time evaluations.
identifier [required]Deployment gate identifier.
name [required]Rule name.
reason [required]Reason for the rule result.
rule_id [required]Configured deployment rule UUID. Null for just-in-time rules.
service [required]Evaluated service.
started_at [required]Time the rule evaluation started.
status [required]The recorded result of a gate or rule evaluation.
in_progress: The evaluation is still running.pass: All rules passed successfully.fail: One or more rules did not pass.
in_progress, pass, failtype [required]Type of deployment gate rule.
monitor, faulty_deployment_detectionversion [required]Evaluated deployment version. Empty when no version was provided.
id [required]Rule evaluation UUID.
type [required]JSON:API type for a deployment gate rule evaluation.
deployment_gate_rule_evaluationdeployment_gate_rule_evaluationmeta [required]Pagination metadata.
page [required]Cursor pagination information.
next_cursorOpaque cursor for the next page. Absent on the final page.
size [required]Requested maximum number of resources in this page.
{
"data": [
{
"attributes": {
"configuration": {
"allowed_resources": [],
"duration": "integer",
"excluded_resources": [],
"fail_on_no_data": false,
"fail_on_no_groups_found": false,
"monitor_ids": [],
"query": "string",
"warmup": "integer"
},
"dry_run": false,
"duration_seconds": 0,
"env": "prod",
"evaluation_id": "4f66c1c6-8346-59e5-be44-238214133260",
"failures": {
"faulty_apm_resources": [
"GET /checkout"
],
"monitors": [
{
"id": "12345678",
"state": "alert",
"url": "https://app.datadoghq.com/monitors/12345678"
}
],
"narratives": [
{
"hostgroup": "service:checkout,env:prod",
"id": "narrative-123"
}
]
},
"finished_at": "2026-09-14T08:15:00Z",
"gate_dry_run": false,
"gate_evaluation_id": "426a8f7b-b3e8-45f9-9d99-a1ed2f7fea04",
"gate_id": "e7cd2af1-b67b-11ee-8d0d-2a7caf4aa214",
"identifier": "default",
"name": "APM faulty deployment detection",
"reason": "A faulty resource was detected.",
"rule_id": "5cb4e76f-2937-47d7-80c8-7255ce2b76a4",
"service": "checkout",
"started_at": "2026-09-14T08:00:00Z",
"status": "pass",
"type": "faulty_deployment_detection",
"version": "2026.09.14.1"
},
"id": "4f66c1c6-8346-59e5-be44-238214133260",
"type": "deployment_gate_rule_evaluation"
}
],
"meta": {
"page": {
"next_cursor": "string",
"size": 1
}
}
}Bad request.
API error response.
errors [required]A list of errors.
detailA human-readable explanation specific to this occurrence of the error.
metaNon-standard meta-information about the error
sourceReferences to the source of the error.
headerA string indicating the name of a single request header which caused the error.
parameterA string indicating which URI query parameter caused the error.
pointerA JSON pointer to the value in the request document that caused the error.
statusStatus code of the response.
titleShort human-readable summary of the error.
{
"errors": [
{
"detail": "Missing required attribute in body",
"meta": {},
"source": {
"header": "Authorization",
"parameter": "limit",
"pointer": "/data/attributes/title"
},
"status": "400",
"title": "Bad Request"
}
]
}Unauthorized
API error response.
errors [required]A list of errors.
{
"errors": [
"Bad Request"
]
}Forbidden
API error response.
errors [required]A list of errors.
{
"errors": [
"Bad Request"
]
}Too many requests
API error response.
errors [required]A list of errors.
{
"errors": [
"Bad Request"
]
}Ejemplo de código
# Set your Datadog site and credentials
export DD_SITE="datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"
curl -X GET "https://api.${DD_SITE}/api/v2/deployment_gates/evaluations/rules" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Set your Datadog site and credentials
export DD_SITE="us3.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"
curl -X GET "https://api.${DD_SITE}/api/v2/deployment_gates/evaluations/rules" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Set your Datadog site and credentials
export DD_SITE="us5.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"
curl -X GET "https://api.${DD_SITE}/api/v2/deployment_gates/evaluations/rules" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Set your Datadog site and credentials
export DD_SITE="datadoghq.eu"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"
curl -X GET "https://api.${DD_SITE}/api/v2/deployment_gates/evaluations/rules" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Set your Datadog site and credentials
export DD_SITE="ap1.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"
curl -X GET "https://api.${DD_SITE}/api/v2/deployment_gates/evaluations/rules" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Set your Datadog site and credentials
export DD_SITE="ap2.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"
curl -X GET "https://api.${DD_SITE}/api/v2/deployment_gates/evaluations/rules" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Set your Datadog site and credentials
export DD_SITE="uk1.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"
curl -X GET "https://api.${DD_SITE}/api/v2/deployment_gates/evaluations/rules" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Set your Datadog site and credentials
export DD_SITE="ddog-gov.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"
curl -X GET "https://api.${DD_SITE}/api/v2/deployment_gates/evaluations/rules" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Set your Datadog site and credentials
export DD_SITE="us2.ddog-gov.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"
curl -X GET "https://api.${DD_SITE}/api/v2/deployment_gates/evaluations/rules" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"// List deployment gate rule evaluations returns "OK" response
package main
import (
"context"
"encoding/json"
"fmt"
"os"
"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
"github.com/DataDog/datadog-api-client-go/v2/api/datadogV2"
)
func main() {
ctx := datadog.NewDefaultContext(context.Background())
ctx = context.WithValue(ctx, datadog.ContextAccessToken, os.Getenv("DD_BEARER_TOKEN"))
configuration := datadog.NewConfiguration()
configuration.SetUnstableOperationEnabled("v2.ListDeploymentRuleEvaluations", true)
apiClient := datadog.NewAPIClient(configuration)
api := datadogV2.NewDeploymentGatesApi(apiClient)
resp, r, err := api.ListDeploymentRuleEvaluations(ctx, *datadogV2.NewListDeploymentRuleEvaluationsOptionalParameters())
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DeploymentGatesApi.ListDeploymentRuleEvaluations`: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
responseContent, _ := json.MarshalIndent(resp, "", " ")
fmt.Fprintf(os.Stdout, "Response from `DeploymentGatesApi.ListDeploymentRuleEvaluations`:\n%s\n", responseContent)
}
Instructions
First install the library and its dependencies and then save the example to main.go and run following commands:
DD_SITE="datadoghq.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" go run "main.go"DD_SITE="us3.datadoghq.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" go run "main.go"DD_SITE="us5.datadoghq.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" go run "main.go"DD_SITE="datadoghq.eu" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" go run "main.go"DD_SITE="ap1.datadoghq.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" go run "main.go"DD_SITE="ap2.datadoghq.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" go run "main.go"DD_SITE="uk1.datadoghq.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" go run "main.go"DD_SITE="ddog-gov.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" go run "main.go"DD_SITE="us2.ddog-gov.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" go run "main.go"// List deployment gate rule evaluations returns "OK" response
import com.datadog.api.client.ApiClient;
import com.datadog.api.client.ApiException;
import com.datadog.api.client.v2.api.DeploymentGatesApi;
import com.datadog.api.client.v2.model.DeploymentGateRuleEvaluationsResponse;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = ApiClient.getDefaultApiClient();
defaultClient.setAccessToken(System.getenv("DD_BEARER_TOKEN"));
defaultClient.setUnstableOperationEnabled("v2.listDeploymentRuleEvaluations", true);
DeploymentGatesApi apiInstance = new DeploymentGatesApi(defaultClient);
try {
DeploymentGateRuleEvaluationsResponse result = apiInstance.listDeploymentRuleEvaluations();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DeploymentGatesApi#listDeploymentRuleEvaluations");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Instructions
First install the library and its dependencies and then save the example to Example.java and run following commands:
DD_SITE="datadoghq.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" java "Example.java"DD_SITE="us3.datadoghq.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" java "Example.java"DD_SITE="us5.datadoghq.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" java "Example.java"DD_SITE="datadoghq.eu" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" java "Example.java"DD_SITE="ap1.datadoghq.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" java "Example.java"DD_SITE="ap2.datadoghq.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" java "Example.java"DD_SITE="uk1.datadoghq.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" java "Example.java"DD_SITE="ddog-gov.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" java "Example.java"DD_SITE="us2.ddog-gov.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" java "Example.java""""
List deployment gate rule evaluations returns "OK" response
"""
from os import environ
from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v2.api.deployment_gates_api import DeploymentGatesApi
configuration = Configuration()
configuration.access_token = environ["DD_BEARER_TOKEN"]
configuration.unstable_operations["list_deployment_rule_evaluations"] = True
with ApiClient(configuration) as api_client:
api_instance = DeploymentGatesApi(api_client)
response = api_instance.list_deployment_rule_evaluations()
print(response)
Instructions
First install the library and its dependencies and then save the example to example.py and run following commands:
DD_SITE="datadoghq.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" python3 "example.py"DD_SITE="us3.datadoghq.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" python3 "example.py"DD_SITE="us5.datadoghq.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" python3 "example.py"DD_SITE="datadoghq.eu" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" python3 "example.py"DD_SITE="ap1.datadoghq.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" python3 "example.py"DD_SITE="ap2.datadoghq.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" python3 "example.py"DD_SITE="uk1.datadoghq.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" python3 "example.py"DD_SITE="ddog-gov.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" python3 "example.py"DD_SITE="us2.ddog-gov.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" python3 "example.py"# List deployment gate rule evaluations returns "OK" response
require "datadog_api_client"
DatadogAPIClient.configure do |config|
config.access_token = ENV["DD_BEARER_TOKEN"]
config.unstable_operations["v2.list_deployment_rule_evaluations".to_sym] = true
end
api_instance = DatadogAPIClient::V2::DeploymentGatesAPI.new
p api_instance.list_deployment_rule_evaluations()
Instructions
First install the library and its dependencies and then save the example to example.rb and run following commands:
DD_SITE="datadoghq.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" rb "example.rb"DD_SITE="us3.datadoghq.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" rb "example.rb"DD_SITE="us5.datadoghq.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" rb "example.rb"DD_SITE="datadoghq.eu" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" rb "example.rb"DD_SITE="ap1.datadoghq.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" rb "example.rb"DD_SITE="ap2.datadoghq.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" rb "example.rb"DD_SITE="uk1.datadoghq.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" rb "example.rb"DD_SITE="ddog-gov.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" rb "example.rb"DD_SITE="us2.ddog-gov.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" rb "example.rb"// List deployment gate rule evaluations returns "OK" response
use datadog_api_client::datadog;
use datadog_api_client::datadogV2::api_deployment_gates::DeploymentGatesAPI;
use datadog_api_client::datadogV2::api_deployment_gates::ListDeploymentRuleEvaluationsOptionalParams;
#[tokio::main]
async fn main() {
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.list_deployment_rule_evaluations", true);
let api = DeploymentGatesAPI::with_config(configuration);
let resp = api
.list_deployment_rule_evaluations(ListDeploymentRuleEvaluationsOptionalParams::default())
.await;
if let Ok(value) = resp {
println!("{:#?}", value);
} else {
println!("{:#?}", resp.unwrap_err());
}
}
Instructions
First install the library and its dependencies and then save the example to src/main.rs and run following commands:
DD_SITE="datadoghq.com" DD_API_KEY="<DD_API_KEY>" DD_APP_KEY="<DD_APP_KEY>" cargo runDD_SITE="us3.datadoghq.com" DD_API_KEY="<DD_API_KEY>" DD_APP_KEY="<DD_APP_KEY>" cargo runDD_SITE="us5.datadoghq.com" DD_API_KEY="<DD_API_KEY>" DD_APP_KEY="<DD_APP_KEY>" cargo runDD_SITE="datadoghq.eu" DD_API_KEY="<DD_API_KEY>" DD_APP_KEY="<DD_APP_KEY>" cargo runDD_SITE="ap1.datadoghq.com" DD_API_KEY="<DD_API_KEY>" DD_APP_KEY="<DD_APP_KEY>" cargo runDD_SITE="ap2.datadoghq.com" DD_API_KEY="<DD_API_KEY>" DD_APP_KEY="<DD_APP_KEY>" cargo runDD_SITE="uk1.datadoghq.com" DD_API_KEY="<DD_API_KEY>" DD_APP_KEY="<DD_APP_KEY>" cargo runDD_SITE="ddog-gov.com" DD_API_KEY="<DD_API_KEY>" DD_APP_KEY="<DD_APP_KEY>" cargo runDD_SITE="us2.ddog-gov.com" DD_API_KEY="<DD_API_KEY>" DD_APP_KEY="<DD_APP_KEY>" cargo run