Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32533,7 +32533,11 @@ paths:
- timeseries_query
/api/v1/search:
get:
description: Search for metrics from the last 24 hours in Datadog.
deprecated: true
description: '**Note**: This endpoint is deprecated. Use `/api/v2/metrics` instead.


Search for metrics from the last 24 hours in Datadog.'
operationId: ListMetrics
parameters:
- description: Query string to search metrics upon. Can optionally be prefixed
Expand Down
4 changes: 4 additions & 0 deletions src/datadogV1/api/api_metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,8 @@ impl MetricsAPI {
}
}

/// **Note**: This endpoint is deprecated. Use `/api/v2/metrics` instead.
///
/// Search for metrics from the last 24 hours in Datadog.
pub async fn list_metrics(
&self,
Expand All @@ -457,6 +459,8 @@ impl MetricsAPI {
}
}

/// **Note**: This endpoint is deprecated. Use `/api/v2/metrics` instead.
///
/// Search for metrics from the last 24 hours in Datadog.
pub async fn list_metrics_with_http_info(
&self,
Expand Down
Loading