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

Update Documentation for Data Stream Monitoring #2733

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-10-10 18:55:02.877582",
"spec_repo_commit": "1bd8568a"
"regenerated": "2024-10-10 19:46:01.049645",
"spec_repo_commit": "049920eb"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-10-10 18:55:02.896093",
"spec_repo_commit": "1bd8568a"
"regenerated": "2024-10-10 19:46:01.068188",
"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
2 changes: 2 additions & 0 deletions api/datadogV1/model_hourly_usage_attribution_usage_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ const (
HOURLYUSAGEATTRIBUTIONUSAGETYPE_CWS_CONTAINERS_USAGE HourlyUsageAttributionUsageType = "cws_containers_usage"
HOURLYUSAGEATTRIBUTIONUSAGETYPE_CWS_HOSTS_USAGE HourlyUsageAttributionUsageType = "cws_hosts_usage"
HOURLYUSAGEATTRIBUTIONUSAGETYPE_DATA_JOBS_MONITORING_USAGE HourlyUsageAttributionUsageType = "data_jobs_monitoring_usage"
HOURLYUSAGEATTRIBUTIONUSAGETYPE_DATA_STREAM_MONITORING_USAGE HourlyUsageAttributionUsageType = "data_stream_monitoring_usage"
HOURLYUSAGEATTRIBUTIONUSAGETYPE_DBM_HOSTS_USAGE HourlyUsageAttributionUsageType = "dbm_hosts_usage"
HOURLYUSAGEATTRIBUTIONUSAGETYPE_DBM_QUERIES_USAGE HourlyUsageAttributionUsageType = "dbm_queries_usage"
HOURLYUSAGEATTRIBUTIONUSAGETYPE_ERROR_TRACKING_USAGE HourlyUsageAttributionUsageType = "error_tracking_usage"
Expand Down Expand Up @@ -113,6 +114,7 @@ var allowedHourlyUsageAttributionUsageTypeEnumValues = []HourlyUsageAttributionU
HOURLYUSAGEATTRIBUTIONUSAGETYPE_CWS_CONTAINERS_USAGE,
HOURLYUSAGEATTRIBUTIONUSAGETYPE_CWS_HOSTS_USAGE,
HOURLYUSAGEATTRIBUTIONUSAGETYPE_DATA_JOBS_MONITORING_USAGE,
HOURLYUSAGEATTRIBUTIONUSAGETYPE_DATA_STREAM_MONITORING_USAGE,
HOURLYUSAGEATTRIBUTIONUSAGETYPE_DBM_HOSTS_USAGE,
HOURLYUSAGEATTRIBUTIONUSAGETYPE_DBM_QUERIES_USAGE,
HOURLYUSAGEATTRIBUTIONUSAGETYPE_ERROR_TRACKING_USAGE,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ const (
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CWS_HOSTS_USAGE MonthlyUsageAttributionSupportedMetrics = "cws_hosts_usage"
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DATA_JOBS_MONITORING_USAGE MonthlyUsageAttributionSupportedMetrics = "data_jobs_monitoring_usage"
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DATA_JOBS_MONITORING_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "data_jobs_monitoring_percentage"
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DATA_STREAM_MONITORING_USAGE MonthlyUsageAttributionSupportedMetrics = "data_stream_monitoring_usage"
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DATA_STREAM_MONITORING_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "data_stream_monitoring_percentage"
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DBM_HOSTS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "dbm_hosts_percentage"
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DBM_HOSTS_USAGE MonthlyUsageAttributionSupportedMetrics = "dbm_hosts_usage"
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DBM_QUERIES_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "dbm_queries_percentage"
Expand Down Expand Up @@ -197,6 +199,8 @@ var allowedMonthlyUsageAttributionSupportedMetricsEnumValues = []MonthlyUsageAtt
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CWS_HOSTS_USAGE,
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DATA_JOBS_MONITORING_USAGE,
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DATA_JOBS_MONITORING_PERCENTAGE,
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DATA_STREAM_MONITORING_USAGE,
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DATA_STREAM_MONITORING_PERCENTAGE,
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DBM_HOSTS_PERCENTAGE,
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DBM_HOSTS_USAGE,
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DBM_QUERIES_PERCENTAGE,
Expand Down
37 changes: 36 additions & 1 deletion api/datadogV1/model_monthly_usage_attribution_values.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ type MonthlyUsageAttributionValues struct {
CwsHostsUsage *float64 `json:"cws_hosts_usage,omitempty"`
// The Data Jobs Monitoring usage by tag(s).
DataJobsMonitoringUsage *float64 `json:"data_jobs_monitoring_usage,omitempty"`
// The Data Stream Monitoring usage by tag(s).
DataStreamMonitoringUsage *float64 `json:"data_stream_monitoring_usage,omitempty"`
// The percentage of Database Monitoring host usage by tag(s).
DbmHostsPercentage *float64 `json:"dbm_hosts_percentage,omitempty"`
// The Database Monitoring host usage by tag(s).
Expand Down Expand Up @@ -1514,6 +1516,34 @@ func (o *MonthlyUsageAttributionValues) SetDataJobsMonitoringUsage(v float64) {
o.DataJobsMonitoringUsage = &v
}

// GetDataStreamMonitoringUsage returns the DataStreamMonitoringUsage field value if set, zero value otherwise.
func (o *MonthlyUsageAttributionValues) GetDataStreamMonitoringUsage() float64 {
if o == nil || o.DataStreamMonitoringUsage == nil {
var ret float64
return ret
}
return *o.DataStreamMonitoringUsage
}

// GetDataStreamMonitoringUsageOk returns a tuple with the DataStreamMonitoringUsage field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonthlyUsageAttributionValues) GetDataStreamMonitoringUsageOk() (*float64, bool) {
if o == nil || o.DataStreamMonitoringUsage == nil {
return nil, false
}
return o.DataStreamMonitoringUsage, true
}

// HasDataStreamMonitoringUsage returns a boolean if a field has been set.
func (o *MonthlyUsageAttributionValues) HasDataStreamMonitoringUsage() bool {
return o != nil && o.DataStreamMonitoringUsage != nil
}

// SetDataStreamMonitoringUsage gets a reference to the given float64 and assigns it to the DataStreamMonitoringUsage field.
func (o *MonthlyUsageAttributionValues) SetDataStreamMonitoringUsage(v float64) {
o.DataStreamMonitoringUsage = &v
}

// GetDbmHostsPercentage returns the DbmHostsPercentage field value if set, zero value otherwise.
func (o *MonthlyUsageAttributionValues) GetDbmHostsPercentage() float64 {
if o == nil || o.DbmHostsPercentage == nil {
Expand Down Expand Up @@ -4337,6 +4367,9 @@ func (o MonthlyUsageAttributionValues) MarshalJSON() ([]byte, error) {
if o.DataJobsMonitoringUsage != nil {
toSerialize["data_jobs_monitoring_usage"] = o.DataJobsMonitoringUsage
}
if o.DataStreamMonitoringUsage != nil {
toSerialize["data_stream_monitoring_usage"] = o.DataStreamMonitoringUsage
}
if o.DbmHostsPercentage != nil {
toSerialize["dbm_hosts_percentage"] = o.DbmHostsPercentage
}
Expand Down Expand Up @@ -4678,6 +4711,7 @@ func (o *MonthlyUsageAttributionValues) UnmarshalJSON(bytes []byte) (err error)
CwsHostsPercentage *float64 `json:"cws_hosts_percentage,omitempty"`
CwsHostsUsage *float64 `json:"cws_hosts_usage,omitempty"`
DataJobsMonitoringUsage *float64 `json:"data_jobs_monitoring_usage,omitempty"`
DataStreamMonitoringUsage *float64 `json:"data_stream_monitoring_usage,omitempty"`
DbmHostsPercentage *float64 `json:"dbm_hosts_percentage,omitempty"`
DbmHostsUsage *float64 `json:"dbm_hosts_usage,omitempty"`
DbmQueriesPercentage *float64 `json:"dbm_queries_percentage,omitempty"`
Expand Down Expand Up @@ -4780,7 +4814,7 @@ func (o *MonthlyUsageAttributionValues) UnmarshalJSON(bytes []byte) (err error)
}
additionalProperties := make(map[string]interface{})
if err = datadog.Unmarshal(bytes, &additionalProperties); err == nil {
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"})
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"})
} else {
return err
}
Expand Down Expand Up @@ -4827,6 +4861,7 @@ func (o *MonthlyUsageAttributionValues) UnmarshalJSON(bytes []byte) (err error)
o.CwsHostsPercentage = all.CwsHostsPercentage
o.CwsHostsUsage = all.CwsHostsUsage
o.DataJobsMonitoringUsage = all.DataJobsMonitoringUsage
o.DataStreamMonitoringUsage = all.DataStreamMonitoringUsage
o.DbmHostsPercentage = all.DbmHostsPercentage
o.DbmHostsUsage = all.DbmHostsUsage
o.DbmQueriesPercentage = all.DbmQueriesPercentage
Expand Down
Loading