diff --git a/.apigentools-info b/.apigentools-info index 6917c16da83..2e2812e8a83 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:48.753397", - "spec_repo_commit": "837c2656" + "regenerated": "2025-06-24 14:37:24.241356", + "spec_repo_commit": "d7a08ce8" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-06-23 20:34:48.769158", - "spec_repo_commit": "837c2656" + "regenerated": "2025-06-24 14:37:24.261750", + "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 6fbfc55943c..7e68052eb2c 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/main/java/com/datadog/api/client/v1/api/MetricsApi.java b/src/main/java/com/datadog/api/client/v1/api/MetricsApi.java index b655ca5092f..3abf21ab760 100644 --- a/src/main/java/com/datadog/api/client/v1/api/MetricsApi.java +++ b/src/main/java/com/datadog/api/client/v1/api/MetricsApi.java @@ -282,7 +282,9 @@ public CompletableFuture listActiveMetricsAsync( } /** - * Get the list of actively reporting metrics from a given time until now. + * 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. * * @param from Seconds since the Unix epoch. (required) * @param parameters Optional parameters for the request.