Skip to content

Commit

Permalink
Update Documentation for Data Stream Monitoring (#2523)
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 10, 2024
1 parent 97a31eb commit 362c924
Show file tree
Hide file tree
Showing 5 changed files with 55 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-10-10 18:55:00.947937",
"spec_repo_commit": "1bd8568a"
"regenerated": "2024-10-10 19:45:58.829299",
"spec_repo_commit": "049920eb"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-10-10 18:55:00.966400",
"spec_repo_commit": "1bd8568a"
"regenerated": "2024-10-10 19:45:58.847651",
"spec_repo_commit": "049920eb"
}
}
}
10 changes: 10 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4189,6 +4189,7 @@ components:
- cws_containers_usage
- cws_hosts_usage
- data_jobs_monitoring_usage
- data_stream_monitoring_usage
- dbm_hosts_usage
- dbm_queries_usage
- error_tracking_usage
Expand Down Expand Up @@ -4263,6 +4264,7 @@ components:
- CWS_CONTAINERS_USAGE
- CWS_HOSTS_USAGE
- DATA_JOBS_MONITORING_USAGE
- DATA_STREAM_MONITORING_USAGE
- DBM_HOSTS_USAGE
- DBM_QUERIES_USAGE
- ERROR_TRACKING_USAGE
Expand Down Expand Up @@ -7945,6 +7947,8 @@ components:
- cws_hosts_usage
- data_jobs_monitoring_usage
- data_jobs_monitoring_percentage
- data_stream_monitoring_usage
- data_stream_monitoring_percentage
- dbm_hosts_percentage
- dbm_hosts_usage
- dbm_queries_percentage
Expand Down Expand Up @@ -8088,6 +8092,8 @@ components:
- CWS_HOSTS_USAGE
- DATA_JOBS_MONITORING_USAGE
- DATA_JOBS_MONITORING_PERCENTAGE
- DATA_STREAM_MONITORING_USAGE
- DATA_STREAM_MONITORING_PERCENTAGE
- DBM_HOSTS_PERCENTAGE
- DBM_HOSTS_USAGE
- DBM_QUERIES_PERCENTAGE
Expand Down Expand Up @@ -8379,6 +8385,10 @@ components:
description: The Data Jobs Monitoring usage by tag(s).
format: double
type: number
data_stream_monitoring_usage:
description: The Data Stream 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 @@ -49,6 +49,7 @@ public class HourlyUsageAttributionUsageType extends ModelEnum<String> {
"cws_containers_usage",
"cws_hosts_usage",
"data_jobs_monitoring_usage",
"data_stream_monitoring_usage",
"dbm_hosts_usage",
"dbm_queries_usage",
"error_tracking_usage",
Expand Down Expand Up @@ -145,6 +146,8 @@ public class HourlyUsageAttributionUsageType extends ModelEnum<String> {
new HourlyUsageAttributionUsageType("cws_hosts_usage");
public static final HourlyUsageAttributionUsageType DATA_JOBS_MONITORING_USAGE =
new HourlyUsageAttributionUsageType("data_jobs_monitoring_usage");
public static final HourlyUsageAttributionUsageType DATA_STREAM_MONITORING_USAGE =
new HourlyUsageAttributionUsageType("data_stream_monitoring_usage");
public static final HourlyUsageAttributionUsageType DBM_HOSTS_USAGE =
new HourlyUsageAttributionUsageType("dbm_hosts_usage");
public static final HourlyUsageAttributionUsageType DBM_QUERIES_USAGE =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ public class MonthlyUsageAttributionSupportedMetrics extends ModelEnum<String> {
"cws_hosts_usage",
"data_jobs_monitoring_usage",
"data_jobs_monitoring_percentage",
"data_stream_monitoring_usage",
"data_stream_monitoring_percentage",
"dbm_hosts_percentage",
"dbm_hosts_usage",
"dbm_queries_percentage",
Expand Down Expand Up @@ -250,6 +252,10 @@ public class MonthlyUsageAttributionSupportedMetrics extends ModelEnum<String> {
new MonthlyUsageAttributionSupportedMetrics("data_jobs_monitoring_usage");
public static final MonthlyUsageAttributionSupportedMetrics DATA_JOBS_MONITORING_PERCENTAGE =
new MonthlyUsageAttributionSupportedMetrics("data_jobs_monitoring_percentage");
public static final MonthlyUsageAttributionSupportedMetrics DATA_STREAM_MONITORING_USAGE =
new MonthlyUsageAttributionSupportedMetrics("data_stream_monitoring_usage");
public static final MonthlyUsageAttributionSupportedMetrics DATA_STREAM_MONITORING_PERCENTAGE =
new MonthlyUsageAttributionSupportedMetrics("data_stream_monitoring_percentage");
public static final MonthlyUsageAttributionSupportedMetrics DBM_HOSTS_PERCENTAGE =
new MonthlyUsageAttributionSupportedMetrics("dbm_hosts_percentage");
public static final MonthlyUsageAttributionSupportedMetrics DBM_HOSTS_USAGE =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
MonthlyUsageAttributionValues.JSON_PROPERTY_CWS_HOSTS_PERCENTAGE,
MonthlyUsageAttributionValues.JSON_PROPERTY_CWS_HOSTS_USAGE,
MonthlyUsageAttributionValues.JSON_PROPERTY_DATA_JOBS_MONITORING_USAGE,
MonthlyUsageAttributionValues.JSON_PROPERTY_DATA_STREAM_MONITORING_USAGE,
MonthlyUsageAttributionValues.JSON_PROPERTY_DBM_HOSTS_PERCENTAGE,
MonthlyUsageAttributionValues.JSON_PROPERTY_DBM_HOSTS_USAGE,
MonthlyUsageAttributionValues.JSON_PROPERTY_DBM_QUERIES_PERCENTAGE,
Expand Down Expand Up @@ -305,6 +306,10 @@ public class MonthlyUsageAttributionValues {
"data_jobs_monitoring_usage";
private Double dataJobsMonitoringUsage;

public static final String JSON_PROPERTY_DATA_STREAM_MONITORING_USAGE =
"data_stream_monitoring_usage";
private Double dataStreamMonitoringUsage;

public static final String JSON_PROPERTY_DBM_HOSTS_PERCENTAGE = "dbm_hosts_percentage";
private Double dbmHostsPercentage;

Expand Down Expand Up @@ -1554,6 +1559,27 @@ public void setDataJobsMonitoringUsage(Double dataJobsMonitoringUsage) {
this.dataJobsMonitoringUsage = dataJobsMonitoringUsage;
}

public MonthlyUsageAttributionValues dataStreamMonitoringUsage(Double dataStreamMonitoringUsage) {
this.dataStreamMonitoringUsage = dataStreamMonitoringUsage;
return this;
}

/**
* The Data Stream Monitoring usage by tag(s).
*
* @return dataStreamMonitoringUsage
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DATA_STREAM_MONITORING_USAGE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Double getDataStreamMonitoringUsage() {
return dataStreamMonitoringUsage;
}

public void setDataStreamMonitoringUsage(Double dataStreamMonitoringUsage) {
this.dataStreamMonitoringUsage = dataStreamMonitoringUsage;
}

public MonthlyUsageAttributionValues dbmHostsPercentage(Double dbmHostsPercentage) {
this.dbmHostsPercentage = dbmHostsPercentage;
return this;
Expand Down Expand Up @@ -3743,6 +3769,8 @@ public boolean equals(Object o) {
&& Objects.equals(this.cwsHostsUsage, monthlyUsageAttributionValues.cwsHostsUsage)
&& Objects.equals(
this.dataJobsMonitoringUsage, monthlyUsageAttributionValues.dataJobsMonitoringUsage)
&& Objects.equals(
this.dataStreamMonitoringUsage, monthlyUsageAttributionValues.dataStreamMonitoringUsage)
&& Objects.equals(this.dbmHostsPercentage, monthlyUsageAttributionValues.dbmHostsPercentage)
&& Objects.equals(this.dbmHostsUsage, monthlyUsageAttributionValues.dbmHostsUsage)
&& Objects.equals(
Expand Down Expand Up @@ -4004,6 +4032,7 @@ public int hashCode() {
cwsHostsPercentage,
cwsHostsUsage,
dataJobsMonitoringUsage,
dataStreamMonitoringUsage,
dbmHostsPercentage,
dbmHostsUsage,
dbmQueriesPercentage,
Expand Down Expand Up @@ -4198,6 +4227,9 @@ public String toString() {
sb.append(" dataJobsMonitoringUsage: ")
.append(toIndentedString(dataJobsMonitoringUsage))
.append("\n");
sb.append(" dataStreamMonitoringUsage: ")
.append(toIndentedString(dataStreamMonitoringUsage))
.append("\n");
sb.append(" dbmHostsPercentage: ").append(toIndentedString(dbmHostsPercentage)).append("\n");
sb.append(" dbmHostsUsage: ").append(toIndentedString(dbmHostsUsage)).append("\n");
sb.append(" dbmQueriesPercentage: ")
Expand Down

0 comments on commit 362c924

Please sign in to comment.