Skip to content

Commit

Permalink
Merge branch 'master' into kevinzou/ci-testing
Browse files Browse the repository at this point in the history
  • Loading branch information
nkzou authored Mar 26, 2024
2 parents b5148ff + fe83698 commit 9403bb9
Show file tree
Hide file tree
Showing 12 changed files with 163 additions and 135 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2024-03-22 19:28:41.088189",
"spec_repo_commit": "b8f385dc"
"regenerated": "2024-03-26 15:17:41.342524",
"spec_repo_commit": "46383d02"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-03-22 19:28:41.109696",
"spec_repo_commit": "b8f385dc"
"regenerated": "2024-03-26 15:17:41.373837",
"spec_repo_commit": "46383d02"
}
}
}
129 changes: 77 additions & 52 deletions .generator/schemas/v1/openapi.yaml

Large diffs are not rendered by default.

15 changes: 9 additions & 6 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34694,10 +34694,11 @@ paths:
x-unstable: '**Note**: This endpoint is deprecated. See the [Teams API endpoints](https://docs.datadoghq.com/api/latest/teams/).'
/api/v2/usage/application_security:
get:
deprecated: true
description: 'Get hourly usage for application security .

**Note:** hourly usage data for all products is now available in the [Get
hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)'
**Note:** This endpoint has been deprecated. Hourly usage data for all products
is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)'
operationId: GetUsageApplicationSecurityMonitoring
parameters:
- description: 'Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]`
Expand Down Expand Up @@ -35095,10 +35096,11 @@ paths:
- Usage Metering
/api/v2/usage/lambda_traced_invocations:
get:
deprecated: true
description: 'Get hourly usage for Lambda traced invocations.

**Note:** hourly usage data for all products is now available in the [Get
hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)'
**Note:** This endpoint has been deprecated.. Hourly usage data for all products
is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)'
operationId: GetUsageLambdaTracedInvocations
parameters:
- description: 'Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]`
Expand Down Expand Up @@ -35154,10 +35156,11 @@ paths:
- Usage Metering
/api/v2/usage/observability_pipelines:
get:
deprecated: true
description: 'Get hourly usage for observability pipelines.

**Note:** hourly usage data for all products is now available in the [Get
hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)'
**Note:** This endpoint has been deprecated. Hourly usage data for all products
is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)'
operationId: GetUsageObservabilityPipelines
parameters:
- description: 'Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]`
Expand Down
4 changes: 2 additions & 2 deletions examples/v2_metrics_query_scalar_data_3112571352.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use datadog_api_client::datadogV2::model::ScalarQuery;
async fn main() {
let body = ScalarFormulaQueryRequest::new(ScalarFormulaRequest::new(
ScalarFormulaRequestAttributes::new(
1671612804000,
1636625471000,
vec![ScalarQuery::MetricsScalarQuery(Box::new(
MetricsScalarQuery::new(
MetricsAggregator::AVG,
Expand All @@ -26,7 +26,7 @@ async fn main() {
)
.name("a".to_string()),
))],
1671620004000,
1636629071000,
)
.formulas(vec![QueryFormula::new("a".to_string())
.limit(FormulaLimit::new().count(10).order(QuerySortOrder::DESC))]),
Expand Down
4 changes: 2 additions & 2 deletions examples/v2_metrics_query_timeseries_data_301142940.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ use datadog_api_client::datadogV2::model::TimeseriesQuery;
async fn main() {
let body = TimeseriesFormulaQueryRequest::new(TimeseriesFormulaRequest::new(
TimeseriesFormulaRequestAttributes::new(
1671612804000,
1636625471000,
vec![TimeseriesQuery::MetricsTimeseriesQuery(Box::new(
MetricsTimeseriesQuery::new(
MetricsDataSource::METRICS,
"avg:system.cpu.user{*}".to_string(),
)
.name("a".to_string()),
))],
1671620004000,
1636629071000,
)
.formulas(vec![QueryFormula::new("a".to_string())
.limit(FormulaLimit::new().count(10).order(QuerySortOrder::DESC))])
Expand Down
Loading

0 comments on commit 9403bb9

Please sign in to comment.