Skip to content

Commit 2d89d21

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
add cross org uuids to timeseries query (#1664)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 854e749 commit 2d89d21

9 files changed

+85
-4
lines changed

.apigentools-info

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-07-01 12:39:45.001867",
8-
"spec_repo_commit": "f54c0bf3"
7+
"regenerated": "2024-07-01 17:39:12.993959",
8+
"spec_repo_commit": "acfbfe3f"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-07-01 12:39:45.019395",
13-
"spec_repo_commit": "f54c0bf3"
12+
"regenerated": "2024-07-01 17:39:13.012154",
13+
"spec_repo_commit": "acfbfe3f"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

+25
Original file line numberDiff line numberDiff line change
@@ -1116,6 +1116,17 @@ components:
11161116
type: string
11171117
readOnly: true
11181118
type: object
1119+
CrossOrgUuids:
1120+
description: The source organization UUID for cross organization queries. Feature
1121+
in Private Beta.
1122+
example:
1123+
- 6434abde-xxxx-yyyy-zzzz-da7ad0900001
1124+
items:
1125+
description: The source organization UUID.
1126+
example: 6434abde-xxxx-yyyy-zzzz-da7ad0900001
1127+
type: string
1128+
maxItems: 1
1129+
type: array
11191130
Dashboard:
11201131
description: "A dashboard is Datadog\u2019s tool for visually tracking, analyzing,
11211132
and displaying\nkey performance metrics, which enable you to monitor the health
@@ -2519,6 +2530,8 @@ components:
25192530
FormulaAndFunctionApmDependencyStatsQueryDefinition:
25202531
description: A formula and functions APM dependency stats query.
25212532
properties:
2533+
cross_org_uuids:
2534+
$ref: '#/components/schemas/CrossOrgUuids'
25222535
data_source:
25232536
$ref: '#/components/schemas/FormulaAndFunctionApmDependencyStatsDataSource'
25242537
env:
@@ -2606,6 +2619,8 @@ components:
26062619
FormulaAndFunctionApmResourceStatsQueryDefinition:
26072620
description: APM resource stats query using formulas and functions.
26082621
properties:
2622+
cross_org_uuids:
2623+
$ref: '#/components/schemas/CrossOrgUuids'
26092624
data_source:
26102625
$ref: '#/components/schemas/FormulaAndFunctionApmResourceStatsDataSource'
26112626
env:
@@ -2671,6 +2686,8 @@ components:
26712686
properties:
26722687
aggregator:
26732688
$ref: '#/components/schemas/WidgetAggregator'
2689+
cross_org_uuids:
2690+
$ref: '#/components/schemas/CrossOrgUuids'
26742691
data_source:
26752692
$ref: '#/components/schemas/FormulaAndFunctionCloudCostDataSource'
26762693
name:
@@ -2721,6 +2738,8 @@ components:
27212738
properties:
27222739
compute:
27232740
$ref: '#/components/schemas/FormulaAndFunctionEventQueryDefinitionCompute'
2741+
cross_org_uuids:
2742+
$ref: '#/components/schemas/CrossOrgUuids'
27242743
data_source:
27252744
$ref: '#/components/schemas/FormulaAndFunctionEventsDataSource'
27262745
group_by:
@@ -2877,6 +2896,8 @@ components:
28772896
properties:
28782897
aggregator:
28792898
$ref: '#/components/schemas/FormulaAndFunctionMetricAggregation'
2899+
cross_org_uuids:
2900+
$ref: '#/components/schemas/CrossOrgUuids'
28802901
data_source:
28812902
$ref: '#/components/schemas/FormulaAndFunctionMetricDataSource'
28822903
name:
@@ -2907,6 +2928,8 @@ components:
29072928
properties:
29082929
aggregator:
29092930
$ref: '#/components/schemas/FormulaAndFunctionMetricAggregation'
2931+
cross_org_uuids:
2932+
$ref: '#/components/schemas/CrossOrgUuids'
29102933
data_source:
29112934
$ref: '#/components/schemas/FormulaAndFunctionProcessQueryDataSource'
29122935
is_normalized_cpu:
@@ -3014,6 +3037,8 @@ components:
30143037
description: Additional filters applied to the SLO query.
30153038
example: host:host_a,env:prod
30163039
type: string
3040+
cross_org_uuids:
3041+
$ref: '#/components/schemas/CrossOrgUuids'
30173042
data_source:
30183043
$ref: '#/components/schemas/FormulaAndFunctionSLODataSource'
30193044
group_mode:

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

+8
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1212
* A formula and functions APM dependency stats query.
1313
*/
1414
export class FormulaAndFunctionApmDependencyStatsQueryDefinition {
15+
/**
16+
* The source organization UUID for cross organization queries. Feature in Private Beta.
17+
*/
18+
"crossOrgUuids"?: Array<string>;
1519
/**
1620
* Data source for APM dependency stats queries.
1721
*/
@@ -69,6 +73,10 @@ export class FormulaAndFunctionApmDependencyStatsQueryDefinition {
6973
* @ignore
7074
*/
7175
static readonly attributeTypeMap: AttributeTypeMap = {
76+
crossOrgUuids: {
77+
baseName: "cross_org_uuids",
78+
type: "Array<string>",
79+
},
7280
dataSource: {
7381
baseName: "data_source",
7482
type: "FormulaAndFunctionApmDependencyStatsDataSource",

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

+8
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1212
* APM resource stats query using formulas and functions.
1313
*/
1414
export class FormulaAndFunctionApmResourceStatsQueryDefinition {
15+
/**
16+
* The source organization UUID for cross organization queries. Feature in Private Beta.
17+
*/
18+
"crossOrgUuids"?: Array<string>;
1519
/**
1620
* Data source for APM resource stats queries.
1721
*/
@@ -69,6 +73,10 @@ export class FormulaAndFunctionApmResourceStatsQueryDefinition {
6973
* @ignore
7074
*/
7175
static readonly attributeTypeMap: AttributeTypeMap = {
76+
crossOrgUuids: {
77+
baseName: "cross_org_uuids",
78+
type: "Array<string>",
79+
},
7280
dataSource: {
7381
baseName: "data_source",
7482
type: "FormulaAndFunctionApmResourceStatsDataSource",

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

+8
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ export class FormulaAndFunctionCloudCostQueryDefinition {
1616
* Aggregator used for the request.
1717
*/
1818
"aggregator"?: WidgetAggregator;
19+
/**
20+
* The source organization UUID for cross organization queries. Feature in Private Beta.
21+
*/
22+
"crossOrgUuids"?: Array<string>;
1923
/**
2024
* Data source for Cloud Cost queries.
2125
*/
@@ -49,6 +53,10 @@ export class FormulaAndFunctionCloudCostQueryDefinition {
4953
baseName: "aggregator",
5054
type: "WidgetAggregator",
5155
},
56+
crossOrgUuids: {
57+
baseName: "cross_org_uuids",
58+
type: "Array<string>",
59+
},
5260
dataSource: {
5361
baseName: "data_source",
5462
type: "FormulaAndFunctionCloudCostDataSource",

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

+8
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ export class FormulaAndFunctionEventQueryDefinition {
1818
* Compute options.
1919
*/
2020
"compute": FormulaAndFunctionEventQueryDefinitionCompute;
21+
/**
22+
* The source organization UUID for cross organization queries. Feature in Private Beta.
23+
*/
24+
"crossOrgUuids"?: Array<string>;
2125
/**
2226
* Data source for event platform-based queries.
2327
*/
@@ -64,6 +68,10 @@ export class FormulaAndFunctionEventQueryDefinition {
6468
type: "FormulaAndFunctionEventQueryDefinitionCompute",
6569
required: true,
6670
},
71+
crossOrgUuids: {
72+
baseName: "cross_org_uuids",
73+
type: "Array<string>",
74+
},
6775
dataSource: {
6876
baseName: "data_source",
6977
type: "FormulaAndFunctionEventsDataSource",

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

+8
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ export class FormulaAndFunctionMetricQueryDefinition {
1616
* The aggregation methods available for metrics queries.
1717
*/
1818
"aggregator"?: FormulaAndFunctionMetricAggregation;
19+
/**
20+
* The source organization UUID for cross organization queries. Feature in Private Beta.
21+
*/
22+
"crossOrgUuids"?: Array<string>;
1923
/**
2024
* Data source for metrics queries.
2125
*/
@@ -49,6 +53,10 @@ export class FormulaAndFunctionMetricQueryDefinition {
4953
baseName: "aggregator",
5054
type: "FormulaAndFunctionMetricAggregation",
5155
},
56+
crossOrgUuids: {
57+
baseName: "cross_org_uuids",
58+
type: "Array<string>",
59+
},
5260
dataSource: {
5361
baseName: "data_source",
5462
type: "FormulaAndFunctionMetricDataSource",

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

+8
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ export class FormulaAndFunctionProcessQueryDefinition {
1717
* The aggregation methods available for metrics queries.
1818
*/
1919
"aggregator"?: FormulaAndFunctionMetricAggregation;
20+
/**
21+
* The source organization UUID for cross organization queries. Feature in Private Beta.
22+
*/
23+
"crossOrgUuids"?: Array<string>;
2024
/**
2125
* Data sources that rely on the process backend.
2226
*/
@@ -70,6 +74,10 @@ export class FormulaAndFunctionProcessQueryDefinition {
7074
baseName: "aggregator",
7175
type: "FormulaAndFunctionMetricAggregation",
7276
},
77+
crossOrgUuids: {
78+
baseName: "cross_org_uuids",
79+
type: "Array<string>",
80+
},
7381
dataSource: {
7482
baseName: "data_source",
7583
type: "FormulaAndFunctionProcessQueryDataSource",

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

+8
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ export class FormulaAndFunctionSLOQueryDefinition {
1818
* Additional filters applied to the SLO query.
1919
*/
2020
"additionalQueryFilters"?: string;
21+
/**
22+
* The source organization UUID for cross organization queries. Feature in Private Beta.
23+
*/
24+
"crossOrgUuids"?: Array<string>;
2125
/**
2226
* Data source for SLO measures queries.
2327
*/
@@ -63,6 +67,10 @@ export class FormulaAndFunctionSLOQueryDefinition {
6367
baseName: "additional_query_filters",
6468
type: "string",
6569
},
70+
crossOrgUuids: {
71+
baseName: "cross_org_uuids",
72+
type: "Array<string>",
73+
},
6674
dataSource: {
6775
baseName: "data_source",
6876
type: "FormulaAndFunctionSLODataSource",

0 commit comments

Comments
 (0)