Skip to content
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

Add documentation for workflow usage attribution #1551

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.6",
"regenerated": "2024-03-11 14:09:24.763861",
"spec_repo_commit": "0f7ad8f2"
"regenerated": "2024-03-11 18:06:53.426665",
"spec_repo_commit": "ac12ffe4"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-03-11 14:09:24.781621",
"spec_repo_commit": "0f7ad8f2"
"regenerated": "2024-03-11 18:06:53.444395",
"spec_repo_commit": "ac12ffe4"
}
}
}
14 changes: 14 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4142,6 +4142,7 @@ components:
- snmp_usage
- universal_service_monitoring_usage
- vuln_management_hosts_usage
- workflow_executions_usage
type: string
x-enum-varnames:
- API_USAGE
Expand Down Expand Up @@ -4209,6 +4210,7 @@ components:
- SNMP_USAGE
- UNIVERSAL_SERVICE_MONITORING_USAGE
- VULN_MANAGEMENT_HOSTS_USAGE
- WORKFLOW_EXECUTIONS_USAGE
IFrameWidgetDefinition:
description: The iframe widget allows you to embed a portion of any other web
page on your dashboard. Only available on FREE layout dashboards.
Expand Down Expand Up @@ -7886,6 +7888,8 @@ components:
- ingested_spans_bytes_percentage
- siem_ingested_bytes_usage
- siem_ingested_bytes_percentage
- workflow_executions_usage
- workflow_executions_percentage
- '*'
type: string
x-enum-varnames:
Expand Down Expand Up @@ -8015,6 +8019,8 @@ components:
- INGESTED_SPANS_BYTES_PERCENTAGE
- SIEM_INGESTED_BYTES_USAGE
- SIEM_INGESTED_BYTES_PERCENTAGE
- WORKFLOW_EXECUTIONS_USAGE
- WORKFLOW_EXECUTIONS_PERCENTAGE
- ALL
MonthlyUsageAttributionValues:
description: Fields in Usage Summary by tag(s).
Expand Down Expand Up @@ -8548,6 +8554,14 @@ components:
description: The Application Vulnerability Management usage by tag(s).
format: double
type: number
workflow_executions_percentage:
description: The percentage of workflow executions usage by tag(s).
format: double
type: number
workflow_executions_usage:
description: The total workflow executions usage by tag(s).
format: double
type: number
type: object
NoteWidgetDefinition:
description: The notes and links widget is similar to free text widget, but
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export type HourlyUsageAttributionUsageType =
| typeof SNMP_USAGE
| typeof UNIVERSAL_SERVICE_MONITORING_USAGE
| typeof VULN_MANAGEMENT_HOSTS_USAGE
| typeof WORKFLOW_EXECUTIONS_USAGE
| UnparsedObject;
export const API_USAGE = "api_usage";
export const APM_FARGATE_USAGE = "apm_fargate_usage";
Expand Down Expand Up @@ -150,3 +151,4 @@ export const SNMP_USAGE = "snmp_usage";
export const UNIVERSAL_SERVICE_MONITORING_USAGE =
"universal_service_monitoring_usage";
export const VULN_MANAGEMENT_HOSTS_USAGE = "vuln_management_hosts_usage";
export const WORKFLOW_EXECUTIONS_USAGE = "workflow_executions_usage";
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ export type MonthlyUsageAttributionSupportedMetrics =
| typeof INGESTED_SPANS_BYTES_PERCENTAGE
| typeof SIEM_INGESTED_BYTES_USAGE
| typeof SIEM_INGESTED_BYTES_PERCENTAGE
| typeof WORKFLOW_EXECUTIONS_USAGE
| typeof WORKFLOW_EXECUTIONS_PERCENTAGE
| typeof ALL
| UnparsedObject;
export const API_USAGE = "api_usage";
Expand Down Expand Up @@ -288,4 +290,6 @@ export const INGESTED_SPANS_BYTES_PERCENTAGE =
"ingested_spans_bytes_percentage";
export const SIEM_INGESTED_BYTES_USAGE = "siem_ingested_bytes_usage";
export const SIEM_INGESTED_BYTES_PERCENTAGE = "siem_ingested_bytes_percentage";
export const WORKFLOW_EXECUTIONS_USAGE = "workflow_executions_usage";
export const WORKFLOW_EXECUTIONS_PERCENTAGE = "workflow_executions_percentage";
export const ALL = "*";
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,14 @@ export class MonthlyUsageAttributionValues {
* The Application Vulnerability Management usage by tag(s).
*/
"vulnManagementHostsUsage"?: number;
/**
* The percentage of workflow executions usage by tag(s).
*/
"workflowExecutionsPercentage"?: number;
/**
* The total workflow executions usage by tag(s).
*/
"workflowExecutionsUsage"?: number;

/**
* A container for additional, undeclared properties.
Expand Down Expand Up @@ -1161,6 +1169,16 @@ export class MonthlyUsageAttributionValues {
type: "number",
format: "double",
},
workflowExecutionsPercentage: {
baseName: "workflow_executions_percentage",
type: "number",
format: "double",
},
workflowExecutionsUsage: {
baseName: "workflow_executions_usage",
type: "number",
format: "double",
},
additionalProperties: {
baseName: "additionalProperties",
type: "any",
Expand Down
3 changes: 3 additions & 0 deletions packages/datadog-api-client-v1/models/ObjectSerializer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -827,6 +827,7 @@ const enumsMap: { [key: string]: any[] } = {
"snmp_usage",
"universal_service_monitoring_usage",
"vuln_management_hosts_usage",
"workflow_executions_usage",
],
IFrameWidgetDefinitionType: ["iframe"],
ImageWidgetDefinitionType: ["image"],
Expand Down Expand Up @@ -1079,6 +1080,8 @@ const enumsMap: { [key: string]: any[] } = {
"ingested_spans_bytes_percentage",
"siem_ingested_bytes_usage",
"siem_ingested_bytes_percentage",
"workflow_executions_usage",
"workflow_executions_percentage",
"*",
],
NoteWidgetDefinitionType: ["note"],
Expand Down
Loading