Skip to content

Allow to make XPQ queries to the DORA data source #2488

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
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
4 changes: 2 additions & 2 deletions .generated-info
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"spec_repo_commit": "ef70ddf",
"generated": "2025-07-17 17:28:07.763"
"spec_repo_commit": "f2ae7eb",
"generated": "2025-07-17 19:54:18.184"
}
2 changes: 2 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15479,11 +15479,13 @@ components:
enum:
- logs
- rum
- dora
example: logs
type: string
x-enum-varnames:
- LOGS
- RUM
- DORA
EventsGroupBy:
description: A dimension on which to split a query's results.
properties:
Expand Down
7 changes: 6 additions & 1 deletion packages/datadog-api-client-v2/models/EventsDataSource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ import { UnparsedObject } from "../../datadog-api-client-common/util";
* A data source that is powered by the Events Platform.
*/

export type EventsDataSource = typeof LOGS | typeof RUM | UnparsedObject;
export type EventsDataSource =
| typeof LOGS
| typeof RUM
| typeof DORA
| UnparsedObject;
export const LOGS = "logs";
export const RUM = "rum";
export const DORA = "dora";
Original file line number Diff line number Diff line change
Expand Up @@ -2398,7 +2398,7 @@ const enumsMap: { [key: string]: any[] } = {
"max",
"avg",
],
EventsDataSource: ["logs", "rum"],
EventsDataSource: ["logs", "rum", "dora"],
EventsSort: ["timestamp", "-timestamp"],
EventsSortType: ["alphabetical", "measure"],
FastlyAccountType: ["fastly-accounts"],
Expand Down