Skip to content

Commit

Permalink
Add UA documentation for new DJM usage_type (#1826)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <[email protected]>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Oct 1, 2024
1 parent 1c123ab commit cdfc167
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 4 deletions.
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-09-30 19:44:33.843136",
"spec_repo_commit": "909e369c"
"regenerated": "2024-10-01 14:24:21.173399",
"spec_repo_commit": "d90ee2ef"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-09-30 19:44:33.857386",
"spec_repo_commit": "909e369c"
"regenerated": "2024-10-01 14:24:21.190923",
"spec_repo_commit": "d90ee2ef"
}
}
}
10 changes: 10 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4182,6 +4182,7 @@ components:
- custom_timeseries_usage
- cws_containers_usage
- cws_hosts_usage
- data_jobs_monitoring_usage
- dbm_hosts_usage
- dbm_queries_usage
- error_tracking_usage
Expand Down Expand Up @@ -4255,6 +4256,7 @@ components:
- CUSTOM_TIMESERIES_USAGE
- CWS_CONTAINERS_USAGE
- CWS_HOSTS_USAGE
- DATA_JOBS_MONITORING_USAGE
- DBM_HOSTS_USAGE
- DBM_QUERIES_USAGE
- ERROR_TRACKING_USAGE
Expand Down Expand Up @@ -7935,6 +7937,8 @@ components:
- cws_containers_usage
- cws_hosts_percentage
- cws_hosts_usage
- data_jobs_monitoring_usage
- data_jobs_monitoring_percentage
- dbm_hosts_percentage
- dbm_hosts_usage
- dbm_queries_percentage
Expand Down Expand Up @@ -8076,6 +8080,8 @@ components:
- CWS_CONTAINERS_USAGE
- CWS_HOSTS_PERCENTAGE
- CWS_HOSTS_USAGE
- DATA_JOBS_MONITORING_USAGE
- DATA_JOBS_MONITORING_PERCENTAGE
- DBM_HOSTS_PERCENTAGE
- DBM_HOSTS_USAGE
- DBM_QUERIES_PERCENTAGE
Expand Down Expand Up @@ -8363,6 +8369,10 @@ components:
description: The Cloud Workload Security host usage by tag(s).
format: double
type: number
data_jobs_monitoring_usage:
description: The Data Jobs Monitoring usage by tag(s).
format: double
type: number
dbm_hosts_percentage:
description: The percentage of Database Monitoring host usage by tag(s).
format: double
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export type HourlyUsageAttributionUsageType =
| typeof CUSTOM_TIMESERIES_USAGE
| typeof CWS_CONTAINERS_USAGE
| typeof CWS_HOSTS_USAGE
| typeof DATA_JOBS_MONITORING_USAGE
| typeof DBM_HOSTS_USAGE
| typeof DBM_QUERIES_USAGE
| typeof ERROR_TRACKING_USAGE
Expand Down Expand Up @@ -109,6 +110,7 @@ export const CUSTOM_INGESTED_TIMESERIES_USAGE =
export const CUSTOM_TIMESERIES_USAGE = "custom_timeseries_usage";
export const CWS_CONTAINERS_USAGE = "cws_containers_usage";
export const CWS_HOSTS_USAGE = "cws_hosts_usage";
export const DATA_JOBS_MONITORING_USAGE = "data_jobs_monitoring_usage";
export const DBM_HOSTS_USAGE = "dbm_hosts_usage";
export const DBM_QUERIES_USAGE = "dbm_queries_usage";
export const ERROR_TRACKING_USAGE = "error_tracking_usage";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ export type MonthlyUsageAttributionSupportedMetrics =
| typeof CWS_CONTAINERS_USAGE
| typeof CWS_HOSTS_PERCENTAGE
| typeof CWS_HOSTS_USAGE
| typeof DATA_JOBS_MONITORING_USAGE
| typeof DATA_JOBS_MONITORING_PERCENTAGE
| typeof DBM_HOSTS_PERCENTAGE
| typeof DBM_HOSTS_USAGE
| typeof DBM_QUERIES_PERCENTAGE
Expand Down Expand Up @@ -192,6 +194,9 @@ export const CWS_CONTAINERS_PERCENTAGE = "cws_containers_percentage";
export const CWS_CONTAINERS_USAGE = "cws_containers_usage";
export const CWS_HOSTS_PERCENTAGE = "cws_hosts_percentage";
export const CWS_HOSTS_USAGE = "cws_hosts_usage";
export const DATA_JOBS_MONITORING_USAGE = "data_jobs_monitoring_usage";
export const DATA_JOBS_MONITORING_PERCENTAGE =
"data_jobs_monitoring_percentage";
export const DBM_HOSTS_PERCENTAGE = "dbm_hosts_percentage";
export const DBM_HOSTS_USAGE = "dbm_hosts_usage";
export const DBM_QUERIES_PERCENTAGE = "dbm_queries_percentage";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,10 @@ export class MonthlyUsageAttributionValues {
* The Cloud Workload Security host usage by tag(s).
*/
"cwsHostsUsage"?: number;
/**
* The Data Jobs Monitoring usage by tag(s).
*/
"dataJobsMonitoringUsage"?: number;
/**
* The percentage of Database Monitoring host usage by tag(s).
*/
Expand Down Expand Up @@ -789,6 +793,11 @@ export class MonthlyUsageAttributionValues {
type: "number",
format: "double",
},
dataJobsMonitoringUsage: {
baseName: "data_jobs_monitoring_usage",
type: "number",
format: "double",
},
dbmHostsPercentage: {
baseName: "dbm_hosts_percentage",
type: "number",
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 @@ -799,6 +799,7 @@ const enumsMap: { [key: string]: any[] } = {
"custom_timeseries_usage",
"cws_containers_usage",
"cws_hosts_usage",
"data_jobs_monitoring_usage",
"dbm_hosts_usage",
"dbm_queries_usage",
"error_tracking_usage",
Expand Down Expand Up @@ -1013,6 +1014,8 @@ const enumsMap: { [key: string]: any[] } = {
"cws_containers_usage",
"cws_hosts_percentage",
"cws_hosts_usage",
"data_jobs_monitoring_usage",
"data_jobs_monitoring_percentage",
"dbm_hosts_percentage",
"dbm_hosts_usage",
"dbm_queries_percentage",
Expand Down

0 comments on commit cdfc167

Please sign in to comment.