Skip to content

Add Workflow Executions to usage metering API #1257

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
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.5",
"regenerated": "2023-07-25 21:17:45.109330",
"spec_repo_commit": "91969c8e"
"regenerated": "2023-07-26 14:17:59.770492",
"spec_repo_commit": "835cb6df"
},
"v2": {
"apigentools_version": "1.6.5",
"regenerated": "2023-07-25 21:17:45.122774",
"spec_repo_commit": "91969c8e"
"regenerated": "2023-07-26 14:17:59.784271",
"spec_repo_commit": "835cb6df"
}
}
}
15 changes: 15 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17879,6 +17879,11 @@ components:
Management hosts over all hours in the current date for the given org.
format: int64
type: integer
workflow_executions_usage_sum:
description: Sum of all workflows executed over all hours in the current
date for all organizations.
format: int64
type: integer
type: object
UsageSummaryDateOrg:
description: Global hourly report of all data billed by Datadog for a given
Expand Down Expand Up @@ -18304,6 +18309,11 @@ components:
Management hosts over all hours in the current date for the given org.
format: int64
type: integer
workflow_executions_usage_sum:
description: Sum of all workflows executed over all hours in the current
date for the given org.
format: int64
type: integer
type: object
UsageSummaryResponse:
description: Response summarizing all usage aggregated across the months in
Expand Down Expand Up @@ -18777,6 +18787,11 @@ components:
Management hosts over all hours in the current months for all organizations.
format: int64
type: integer
workflow_executions_usage_agg_sum:
description: Sum of all workflows executed over all hours in the current
months for all organizations.
format: int64
type: integer
type: object
UsageSyntheticsAPIHour:
description: Number of Synthetics API tests run for each hour for a given organization.
Expand Down
9 changes: 9 additions & 0 deletions packages/datadog-api-client-v1/models/UsageSummaryDate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,10 @@ export class UsageSummaryDate {
* Shows the 99th percentile of all Application Vulnerability Management hosts over all hours in the current date for the given org.
*/
"vulnManagementHostCountTop99p"?: number;
/**
* Sum of all workflows executed over all hours in the current date for all organizations.
*/
"workflowExecutionsUsageSum"?: number;

/**
* @ignore
Expand Down Expand Up @@ -767,6 +771,11 @@ export class UsageSummaryDate {
type: "number",
format: "int64",
},
workflowExecutionsUsageSum: {
baseName: "workflow_executions_usage_sum",
type: "number",
format: "int64",
},
};

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,10 @@ export class UsageSummaryDateOrg {
* Shows the 99th percentile of all Application Vulnerability Management hosts over all hours in the current date for the given org.
*/
"vulnManagementHostCountTop99p"?: number;
/**
* Sum of all workflows executed over all hours in the current date for the given org.
*/
"workflowExecutionsUsageSum"?: number;

/**
* @ignore
Expand Down Expand Up @@ -781,6 +785,11 @@ export class UsageSummaryDateOrg {
type: "number",
format: "int64",
},
workflowExecutionsUsageSum: {
baseName: "workflow_executions_usage_sum",
type: "number",
format: "int64",
},
};

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,10 @@ export class UsageSummaryResponse {
* Shows the 99th percentile of all Application Vulnerability Management hosts over all hours in the current months for all organizations.
*/
"vulnManagementHostCountTop99pSum"?: number;
/**
* Sum of all workflows executed over all hours in the current months for all organizations.
*/
"workflowExecutionsUsageAggSum"?: number;

/**
* @ignore
Expand Down Expand Up @@ -848,6 +852,11 @@ export class UsageSummaryResponse {
type: "number",
format: "int64",
},
workflowExecutionsUsageAggSum: {
baseName: "workflow_executions_usage_agg_sum",
type: "number",
format: "int64",
},
};

/**
Expand Down