Skip to content

Commit 8e291fb

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 1f14d1f of spec repo
1 parent ed7c570 commit 8e291fb

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.generator/schemas/v1/openapi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2875,6 +2875,8 @@ components:
28752875
type: string
28762876
group_by:
28772877
description: Array of fields to group results by.
2878+
example:
2879+
- "resource_name"
28782880
items:
28792881
description: Field to group results by.
28802882
example: "resource_name"
@@ -2912,6 +2914,8 @@ components:
29122914
- name
29132915
- service
29142916
- stat
2917+
- operation_name
2918+
- group_by
29152919
type: object
29162920
FormulaAndFunctionCloudCostDataSource:
29172921
description: Data source for Cloud Cost queries.

packages/datadog-api-client-v1/models/FormulaAndFunctionApmResourceStatsQueryDefinition.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ export class FormulaAndFunctionApmResourceStatsQueryDefinition {
2727
/**
2828
* Array of fields to group results by.
2929
*/
30-
"groupBy"?: Array<string>;
30+
"groupBy": Array<string>;
3131
/**
3232
* Name of this query to use in formulas.
3333
*/
3434
"name": string;
3535
/**
3636
* Name of operation on service.
3737
*/
38-
"operationName"?: string;
38+
"operationName": string;
3939
/**
4040
* Name of the second primary tag used within APM. Required when `primary_tag_value` is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog
4141
*/
@@ -90,6 +90,7 @@ export class FormulaAndFunctionApmResourceStatsQueryDefinition {
9090
groupBy: {
9191
baseName: "group_by",
9292
type: "Array<string>",
93+
required: true,
9394
},
9495
name: {
9596
baseName: "name",
@@ -99,6 +100,7 @@ export class FormulaAndFunctionApmResourceStatsQueryDefinition {
99100
operationName: {
100101
baseName: "operation_name",
101102
type: "string",
103+
required: true,
102104
},
103105
primaryTagName: {
104106
baseName: "primary_tag_name",

0 commit comments

Comments
 (0)