Skip to content

Commit d267209

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Allow to make XPQ queries to the DORA data source (#2544)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 414b531 commit d267209

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

.generated-info

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"spec_repo_commit": "ef70ddf",
3-
"generated": "2025-07-17 17:26:59.760"
2+
"spec_repo_commit": "f2ae7eb",
3+
"generated": "2025-07-17 19:53:03.263"
44
}

.generator/schemas/v2/openapi.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15479,11 +15479,13 @@ components:
1547915479
enum:
1548015480
- logs
1548115481
- rum
15482+
- dora
1548215483
example: logs
1548315484
type: string
1548415485
x-enum-varnames:
1548515486
- LOGS
1548615487
- RUM
15488+
- DORA
1548715489
EventsGroupBy:
1548815490
description: A dimension on which to split a query's results.
1548915491
properties:

services/metrics/src/v2/models/EventsDataSource.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ import { UnparsedObject } from "@datadog/datadog-api-client";
33
/**
44
* A data source that is powered by the Events Platform.
55
*/
6-
export type EventsDataSource = typeof LOGS | typeof RUM | UnparsedObject;
6+
export type EventsDataSource =
7+
| typeof LOGS
8+
| typeof RUM
9+
| typeof DORA
10+
| UnparsedObject;
711
export const LOGS = "logs";
812
export const RUM = "rum";
13+
export const DORA = "dora";

services/metrics/src/v2/models/TypingInfo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export const TypingInfo: ModelTypingInfo = {
106106
"max",
107107
"avg",
108108
],
109-
EventsDataSource: ["logs", "rum"],
109+
EventsDataSource: ["logs", "rum", "dora"],
110110
EventsSortType: ["alphabetical", "measure"],
111111
MetricActiveConfigurationType: ["actively_queried_configurations"],
112112
MetricBulkConfigureTagsType: ["metric_bulk_configure_tags"],

0 commit comments

Comments
 (0)