diff --git a/.apigentools-info b/.apigentools-info index a4a173218..296ce6ac0 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2025-06-23 20:34:45.000901", - "spec_repo_commit": "837c2656" + "regenerated": "2025-06-24 14:37:26.731055", + "spec_repo_commit": "d7a08ce8" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-06-23 20:34:45.017074", - "spec_repo_commit": "837c2656" + "regenerated": "2025-06-24 14:37:26.749122", + "spec_repo_commit": "d7a08ce8" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 6fbfc5594..7e68052eb 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -29301,8 +29301,14 @@ paths: - logs_write_pipelines /api/v1/metrics: get: - description: Get the list of actively reporting metrics from a given time until + description: 'Get the list of actively reporting metrics from a given time until now. + + The tag service resets daily at midnight UTC. This endpoint returns only + + metrics that have reported since the last reset, even if the `from` + + parameter specifies an earlier time.' operationId: ListActiveMetrics parameters: - description: Seconds since the Unix epoch. diff --git a/src/datadogV1/api/api_metrics.rs b/src/datadogV1/api/api_metrics.rs index cb5886694..0cac49d1e 100644 --- a/src/datadogV1/api/api_metrics.rs +++ b/src/datadogV1/api/api_metrics.rs @@ -316,6 +316,9 @@ impl MetricsAPI { } /// Get the list of actively reporting metrics from a given time until now. + /// The tag service resets daily at midnight UTC. This endpoint returns only + /// metrics that have reported since the last reset, even if the `from` + /// parameter specifies an earlier time. pub async fn list_active_metrics( &self, from: i64, @@ -337,6 +340,9 @@ impl MetricsAPI { } /// Get the list of actively reporting metrics from a given time until now. + /// The tag service resets daily at midnight UTC. This endpoint returns only + /// metrics that have reported since the last reset, even if the `from` + /// parameter specifies an earlier time. pub async fn list_active_metrics_with_http_info( &self, from: i64,