Skip to content

Commit dab2b64

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Update Documentation for Data Stream Monitoring (#2733)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 35fe526 commit dab2b64

File tree

5 files changed

+56
-5
lines changed

5 files changed

+56
-5
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-10-10 18:55:02.877582",
8-
"spec_repo_commit": "1bd8568a"
7+
"regenerated": "2024-10-10 19:46:01.049645",
8+
"spec_repo_commit": "049920eb"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-10-10 18:55:02.896093",
13-
"spec_repo_commit": "1bd8568a"
12+
"regenerated": "2024-10-10 19:46:01.068188",
13+
"spec_repo_commit": "049920eb"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4189,6 +4189,7 @@ components:
41894189
- cws_containers_usage
41904190
- cws_hosts_usage
41914191
- data_jobs_monitoring_usage
4192+
- data_stream_monitoring_usage
41924193
- dbm_hosts_usage
41934194
- dbm_queries_usage
41944195
- error_tracking_usage
@@ -4263,6 +4264,7 @@ components:
42634264
- CWS_CONTAINERS_USAGE
42644265
- CWS_HOSTS_USAGE
42654266
- DATA_JOBS_MONITORING_USAGE
4267+
- DATA_STREAM_MONITORING_USAGE
42664268
- DBM_HOSTS_USAGE
42674269
- DBM_QUERIES_USAGE
42684270
- ERROR_TRACKING_USAGE
@@ -7945,6 +7947,8 @@ components:
79457947
- cws_hosts_usage
79467948
- data_jobs_monitoring_usage
79477949
- data_jobs_monitoring_percentage
7950+
- data_stream_monitoring_usage
7951+
- data_stream_monitoring_percentage
79487952
- dbm_hosts_percentage
79497953
- dbm_hosts_usage
79507954
- dbm_queries_percentage
@@ -8088,6 +8092,8 @@ components:
80888092
- CWS_HOSTS_USAGE
80898093
- DATA_JOBS_MONITORING_USAGE
80908094
- DATA_JOBS_MONITORING_PERCENTAGE
8095+
- DATA_STREAM_MONITORING_USAGE
8096+
- DATA_STREAM_MONITORING_PERCENTAGE
80918097
- DBM_HOSTS_PERCENTAGE
80928098
- DBM_HOSTS_USAGE
80938099
- DBM_QUERIES_PERCENTAGE
@@ -8379,6 +8385,10 @@ components:
83798385
description: The Data Jobs Monitoring usage by tag(s).
83808386
format: double
83818387
type: number
8388+
data_stream_monitoring_usage:
8389+
description: The Data Stream Monitoring usage by tag(s).
8390+
format: double
8391+
type: number
83828392
dbm_hosts_percentage:
83838393
description: The percentage of Database Monitoring host usage by tag(s).
83848394
format: double

api/datadogV1/model_hourly_usage_attribution_usage_type.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ const (
3838
HOURLYUSAGEATTRIBUTIONUSAGETYPE_CWS_CONTAINERS_USAGE HourlyUsageAttributionUsageType = "cws_containers_usage"
3939
HOURLYUSAGEATTRIBUTIONUSAGETYPE_CWS_HOSTS_USAGE HourlyUsageAttributionUsageType = "cws_hosts_usage"
4040
HOURLYUSAGEATTRIBUTIONUSAGETYPE_DATA_JOBS_MONITORING_USAGE HourlyUsageAttributionUsageType = "data_jobs_monitoring_usage"
41+
HOURLYUSAGEATTRIBUTIONUSAGETYPE_DATA_STREAM_MONITORING_USAGE HourlyUsageAttributionUsageType = "data_stream_monitoring_usage"
4142
HOURLYUSAGEATTRIBUTIONUSAGETYPE_DBM_HOSTS_USAGE HourlyUsageAttributionUsageType = "dbm_hosts_usage"
4243
HOURLYUSAGEATTRIBUTIONUSAGETYPE_DBM_QUERIES_USAGE HourlyUsageAttributionUsageType = "dbm_queries_usage"
4344
HOURLYUSAGEATTRIBUTIONUSAGETYPE_ERROR_TRACKING_USAGE HourlyUsageAttributionUsageType = "error_tracking_usage"
@@ -113,6 +114,7 @@ var allowedHourlyUsageAttributionUsageTypeEnumValues = []HourlyUsageAttributionU
113114
HOURLYUSAGEATTRIBUTIONUSAGETYPE_CWS_CONTAINERS_USAGE,
114115
HOURLYUSAGEATTRIBUTIONUSAGETYPE_CWS_HOSTS_USAGE,
115116
HOURLYUSAGEATTRIBUTIONUSAGETYPE_DATA_JOBS_MONITORING_USAGE,
117+
HOURLYUSAGEATTRIBUTIONUSAGETYPE_DATA_STREAM_MONITORING_USAGE,
116118
HOURLYUSAGEATTRIBUTIONUSAGETYPE_DBM_HOSTS_USAGE,
117119
HOURLYUSAGEATTRIBUTIONUSAGETYPE_DBM_QUERIES_USAGE,
118120
HOURLYUSAGEATTRIBUTIONUSAGETYPE_ERROR_TRACKING_USAGE,

api/datadogV1/model_monthly_usage_attribution_supported_metrics.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ const (
5353
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CWS_HOSTS_USAGE MonthlyUsageAttributionSupportedMetrics = "cws_hosts_usage"
5454
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DATA_JOBS_MONITORING_USAGE MonthlyUsageAttributionSupportedMetrics = "data_jobs_monitoring_usage"
5555
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DATA_JOBS_MONITORING_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "data_jobs_monitoring_percentage"
56+
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DATA_STREAM_MONITORING_USAGE MonthlyUsageAttributionSupportedMetrics = "data_stream_monitoring_usage"
57+
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DATA_STREAM_MONITORING_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "data_stream_monitoring_percentage"
5658
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DBM_HOSTS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "dbm_hosts_percentage"
5759
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DBM_HOSTS_USAGE MonthlyUsageAttributionSupportedMetrics = "dbm_hosts_usage"
5860
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DBM_QUERIES_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "dbm_queries_percentage"
@@ -197,6 +199,8 @@ var allowedMonthlyUsageAttributionSupportedMetricsEnumValues = []MonthlyUsageAtt
197199
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CWS_HOSTS_USAGE,
198200
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DATA_JOBS_MONITORING_USAGE,
199201
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DATA_JOBS_MONITORING_PERCENTAGE,
202+
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DATA_STREAM_MONITORING_USAGE,
203+
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DATA_STREAM_MONITORING_PERCENTAGE,
200204
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DBM_HOSTS_PERCENTAGE,
201205
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DBM_HOSTS_USAGE,
202206
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DBM_QUERIES_PERCENTAGE,

api/datadogV1/model_monthly_usage_attribution_values.go

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ type MonthlyUsageAttributionValues struct {
9696
CwsHostsUsage *float64 `json:"cws_hosts_usage,omitempty"`
9797
// The Data Jobs Monitoring usage by tag(s).
9898
DataJobsMonitoringUsage *float64 `json:"data_jobs_monitoring_usage,omitempty"`
99+
// The Data Stream Monitoring usage by tag(s).
100+
DataStreamMonitoringUsage *float64 `json:"data_stream_monitoring_usage,omitempty"`
99101
// The percentage of Database Monitoring host usage by tag(s).
100102
DbmHostsPercentage *float64 `json:"dbm_hosts_percentage,omitempty"`
101103
// The Database Monitoring host usage by tag(s).
@@ -1514,6 +1516,34 @@ func (o *MonthlyUsageAttributionValues) SetDataJobsMonitoringUsage(v float64) {
15141516
o.DataJobsMonitoringUsage = &v
15151517
}
15161518

1519+
// GetDataStreamMonitoringUsage returns the DataStreamMonitoringUsage field value if set, zero value otherwise.
1520+
func (o *MonthlyUsageAttributionValues) GetDataStreamMonitoringUsage() float64 {
1521+
if o == nil || o.DataStreamMonitoringUsage == nil {
1522+
var ret float64
1523+
return ret
1524+
}
1525+
return *o.DataStreamMonitoringUsage
1526+
}
1527+
1528+
// GetDataStreamMonitoringUsageOk returns a tuple with the DataStreamMonitoringUsage field value if set, nil otherwise
1529+
// and a boolean to check if the value has been set.
1530+
func (o *MonthlyUsageAttributionValues) GetDataStreamMonitoringUsageOk() (*float64, bool) {
1531+
if o == nil || o.DataStreamMonitoringUsage == nil {
1532+
return nil, false
1533+
}
1534+
return o.DataStreamMonitoringUsage, true
1535+
}
1536+
1537+
// HasDataStreamMonitoringUsage returns a boolean if a field has been set.
1538+
func (o *MonthlyUsageAttributionValues) HasDataStreamMonitoringUsage() bool {
1539+
return o != nil && o.DataStreamMonitoringUsage != nil
1540+
}
1541+
1542+
// SetDataStreamMonitoringUsage gets a reference to the given float64 and assigns it to the DataStreamMonitoringUsage field.
1543+
func (o *MonthlyUsageAttributionValues) SetDataStreamMonitoringUsage(v float64) {
1544+
o.DataStreamMonitoringUsage = &v
1545+
}
1546+
15171547
// GetDbmHostsPercentage returns the DbmHostsPercentage field value if set, zero value otherwise.
15181548
func (o *MonthlyUsageAttributionValues) GetDbmHostsPercentage() float64 {
15191549
if o == nil || o.DbmHostsPercentage == nil {
@@ -4337,6 +4367,9 @@ func (o MonthlyUsageAttributionValues) MarshalJSON() ([]byte, error) {
43374367
if o.DataJobsMonitoringUsage != nil {
43384368
toSerialize["data_jobs_monitoring_usage"] = o.DataJobsMonitoringUsage
43394369
}
4370+
if o.DataStreamMonitoringUsage != nil {
4371+
toSerialize["data_stream_monitoring_usage"] = o.DataStreamMonitoringUsage
4372+
}
43404373
if o.DbmHostsPercentage != nil {
43414374
toSerialize["dbm_hosts_percentage"] = o.DbmHostsPercentage
43424375
}
@@ -4678,6 +4711,7 @@ func (o *MonthlyUsageAttributionValues) UnmarshalJSON(bytes []byte) (err error)
46784711
CwsHostsPercentage *float64 `json:"cws_hosts_percentage,omitempty"`
46794712
CwsHostsUsage *float64 `json:"cws_hosts_usage,omitempty"`
46804713
DataJobsMonitoringUsage *float64 `json:"data_jobs_monitoring_usage,omitempty"`
4714+
DataStreamMonitoringUsage *float64 `json:"data_stream_monitoring_usage,omitempty"`
46814715
DbmHostsPercentage *float64 `json:"dbm_hosts_percentage,omitempty"`
46824716
DbmHostsUsage *float64 `json:"dbm_hosts_usage,omitempty"`
46834717
DbmQueriesPercentage *float64 `json:"dbm_queries_percentage,omitempty"`
@@ -4780,7 +4814,7 @@ func (o *MonthlyUsageAttributionValues) UnmarshalJSON(bytes []byte) (err error)
47804814
}
47814815
additionalProperties := make(map[string]interface{})
47824816
if err = datadog.Unmarshal(bytes, &additionalProperties); err == nil {
4783-
datadog.DeleteKeys(additionalProperties, &[]string{"api_percentage", "api_usage", "apm_fargate_percentage", "apm_fargate_usage", "apm_host_percentage", "apm_host_usage", "apm_usm_percentage", "apm_usm_usage", "appsec_fargate_percentage", "appsec_fargate_usage", "appsec_percentage", "appsec_usage", "asm_serverless_traced_invocations_percentage", "asm_serverless_traced_invocations_usage", "browser_percentage", "browser_usage", "ci_pipeline_indexed_spans_percentage", "ci_pipeline_indexed_spans_usage", "ci_test_indexed_spans_percentage", "ci_test_indexed_spans_usage", "ci_visibility_itr_percentage", "ci_visibility_itr_usage", "cloud_siem_percentage", "cloud_siem_usage", "container_excl_agent_percentage", "container_excl_agent_usage", "container_percentage", "container_usage", "cspm_containers_percentage", "cspm_containers_usage", "cspm_hosts_percentage", "cspm_hosts_usage", "custom_event_percentage", "custom_event_usage", "custom_ingested_timeseries_percentage", "custom_ingested_timeseries_usage", "custom_timeseries_percentage", "custom_timeseries_usage", "cws_containers_percentage", "cws_containers_usage", "cws_hosts_percentage", "cws_hosts_usage", "data_jobs_monitoring_usage", "dbm_hosts_percentage", "dbm_hosts_usage", "dbm_queries_percentage", "dbm_queries_usage", "error_tracking_percentage", "error_tracking_usage", "estimated_indexed_logs_percentage", "estimated_indexed_logs_usage", "estimated_indexed_spans_percentage", "estimated_indexed_spans_usage", "estimated_ingested_logs_percentage", "estimated_ingested_logs_usage", "estimated_ingested_spans_percentage", "estimated_ingested_spans_usage", "estimated_rum_sessions_percentage", "estimated_rum_sessions_usage", "fargate_percentage", "fargate_usage", "functions_percentage", "functions_usage", "incident_management_monthly_active_users_percentage", "incident_management_monthly_active_users_usage", "indexed_spans_percentage", "indexed_spans_usage", "infra_host_percentage", "infra_host_usage", "ingested_logs_bytes_percentage", "ingested_logs_bytes_usage", "ingested_spans_bytes_percentage", "ingested_spans_bytes_usage", "invocations_percentage", "invocations_usage", "lambda_traced_invocations_percentage", "lambda_traced_invocations_usage", "logs_indexed_15day_percentage", "logs_indexed_15day_usage", "logs_indexed_180day_percentage", "logs_indexed_180day_usage", "logs_indexed_1day_percentage", "logs_indexed_1day_usage", "logs_indexed_30day_percentage", "logs_indexed_30day_usage", "logs_indexed_360day_percentage", "logs_indexed_360day_usage", "logs_indexed_3day_percentage", "logs_indexed_3day_usage", "logs_indexed_45day_percentage", "logs_indexed_45day_usage", "logs_indexed_60day_percentage", "logs_indexed_60day_usage", "logs_indexed_7day_percentage", "logs_indexed_7day_usage", "logs_indexed_90day_percentage", "logs_indexed_90day_usage", "logs_indexed_custom_retention_percentage", "logs_indexed_custom_retention_usage", "mobile_app_testing_percentage", "mobile_app_testing_usage", "ndm_netflow_percentage", "ndm_netflow_usage", "npm_host_percentage", "npm_host_usage", "obs_pipeline_bytes_percentage", "obs_pipeline_bytes_usage", "obs_pipelines_vcpu_percentage", "obs_pipelines_vcpu_usage", "online_archive_percentage", "online_archive_usage", "profiled_container_percentage", "profiled_container_usage", "profiled_fargate_percentage", "profiled_fargate_usage", "profiled_host_percentage", "profiled_host_usage", "rum_browser_mobile_sessions_percentage", "rum_browser_mobile_sessions_usage", "rum_replay_sessions_percentage", "rum_replay_sessions_usage", "sca_fargate_percentage", "sca_fargate_usage", "sds_scanned_bytes_percentage", "sds_scanned_bytes_usage", "serverless_apps_percentage", "serverless_apps_usage", "siem_analyzed_logs_add_on_percentage", "siem_analyzed_logs_add_on_usage", "siem_ingested_bytes_percentage", "siem_ingested_bytes_usage", "snmp_percentage", "snmp_usage", "universal_service_monitoring_percentage", "universal_service_monitoring_usage", "vuln_management_hosts_percentage", "vuln_management_hosts_usage", "workflow_executions_percentage", "workflow_executions_usage"})
4817+
datadog.DeleteKeys(additionalProperties, &[]string{"api_percentage", "api_usage", "apm_fargate_percentage", "apm_fargate_usage", "apm_host_percentage", "apm_host_usage", "apm_usm_percentage", "apm_usm_usage", "appsec_fargate_percentage", "appsec_fargate_usage", "appsec_percentage", "appsec_usage", "asm_serverless_traced_invocations_percentage", "asm_serverless_traced_invocations_usage", "browser_percentage", "browser_usage", "ci_pipeline_indexed_spans_percentage", "ci_pipeline_indexed_spans_usage", "ci_test_indexed_spans_percentage", "ci_test_indexed_spans_usage", "ci_visibility_itr_percentage", "ci_visibility_itr_usage", "cloud_siem_percentage", "cloud_siem_usage", "container_excl_agent_percentage", "container_excl_agent_usage", "container_percentage", "container_usage", "cspm_containers_percentage", "cspm_containers_usage", "cspm_hosts_percentage", "cspm_hosts_usage", "custom_event_percentage", "custom_event_usage", "custom_ingested_timeseries_percentage", "custom_ingested_timeseries_usage", "custom_timeseries_percentage", "custom_timeseries_usage", "cws_containers_percentage", "cws_containers_usage", "cws_hosts_percentage", "cws_hosts_usage", "data_jobs_monitoring_usage", "data_stream_monitoring_usage", "dbm_hosts_percentage", "dbm_hosts_usage", "dbm_queries_percentage", "dbm_queries_usage", "error_tracking_percentage", "error_tracking_usage", "estimated_indexed_logs_percentage", "estimated_indexed_logs_usage", "estimated_indexed_spans_percentage", "estimated_indexed_spans_usage", "estimated_ingested_logs_percentage", "estimated_ingested_logs_usage", "estimated_ingested_spans_percentage", "estimated_ingested_spans_usage", "estimated_rum_sessions_percentage", "estimated_rum_sessions_usage", "fargate_percentage", "fargate_usage", "functions_percentage", "functions_usage", "incident_management_monthly_active_users_percentage", "incident_management_monthly_active_users_usage", "indexed_spans_percentage", "indexed_spans_usage", "infra_host_percentage", "infra_host_usage", "ingested_logs_bytes_percentage", "ingested_logs_bytes_usage", "ingested_spans_bytes_percentage", "ingested_spans_bytes_usage", "invocations_percentage", "invocations_usage", "lambda_traced_invocations_percentage", "lambda_traced_invocations_usage", "logs_indexed_15day_percentage", "logs_indexed_15day_usage", "logs_indexed_180day_percentage", "logs_indexed_180day_usage", "logs_indexed_1day_percentage", "logs_indexed_1day_usage", "logs_indexed_30day_percentage", "logs_indexed_30day_usage", "logs_indexed_360day_percentage", "logs_indexed_360day_usage", "logs_indexed_3day_percentage", "logs_indexed_3day_usage", "logs_indexed_45day_percentage", "logs_indexed_45day_usage", "logs_indexed_60day_percentage", "logs_indexed_60day_usage", "logs_indexed_7day_percentage", "logs_indexed_7day_usage", "logs_indexed_90day_percentage", "logs_indexed_90day_usage", "logs_indexed_custom_retention_percentage", "logs_indexed_custom_retention_usage", "mobile_app_testing_percentage", "mobile_app_testing_usage", "ndm_netflow_percentage", "ndm_netflow_usage", "npm_host_percentage", "npm_host_usage", "obs_pipeline_bytes_percentage", "obs_pipeline_bytes_usage", "obs_pipelines_vcpu_percentage", "obs_pipelines_vcpu_usage", "online_archive_percentage", "online_archive_usage", "profiled_container_percentage", "profiled_container_usage", "profiled_fargate_percentage", "profiled_fargate_usage", "profiled_host_percentage", "profiled_host_usage", "rum_browser_mobile_sessions_percentage", "rum_browser_mobile_sessions_usage", "rum_replay_sessions_percentage", "rum_replay_sessions_usage", "sca_fargate_percentage", "sca_fargate_usage", "sds_scanned_bytes_percentage", "sds_scanned_bytes_usage", "serverless_apps_percentage", "serverless_apps_usage", "siem_analyzed_logs_add_on_percentage", "siem_analyzed_logs_add_on_usage", "siem_ingested_bytes_percentage", "siem_ingested_bytes_usage", "snmp_percentage", "snmp_usage", "universal_service_monitoring_percentage", "universal_service_monitoring_usage", "vuln_management_hosts_percentage", "vuln_management_hosts_usage", "workflow_executions_percentage", "workflow_executions_usage"})
47844818
} else {
47854819
return err
47864820
}
@@ -4827,6 +4861,7 @@ func (o *MonthlyUsageAttributionValues) UnmarshalJSON(bytes []byte) (err error)
48274861
o.CwsHostsPercentage = all.CwsHostsPercentage
48284862
o.CwsHostsUsage = all.CwsHostsUsage
48294863
o.DataJobsMonitoringUsage = all.DataJobsMonitoringUsage
4864+
o.DataStreamMonitoringUsage = all.DataStreamMonitoringUsage
48304865
o.DbmHostsPercentage = all.DbmHostsPercentage
48314866
o.DbmHostsUsage = all.DbmHostsUsage
48324867
o.DbmQueriesPercentage = all.DbmQueriesPercentage

0 commit comments

Comments
 (0)